Giter Club home page Giter Club logo

Comments (4)

mbtamuli avatar mbtamuli commented on August 31, 2024

I've not experimented with whether cloudlens works with IAM roles in single account - Using an IAM role in the AWS CLI

from cloudlens.

chinmaysomani07 avatar chinmaysomani07 commented on August 31, 2024

@mbtamuli thanks for raising this issue, but currently cloudlens supports only 3 types of auth methods.

Those are:

  • Environment Variables
  • ~/.aws/credentials and ~/.aws/config file
  • SSO credentials

We'll keep this issue open, but currently we're not planning on adding new auth modes.

from cloudlens.

mbtamuli avatar mbtamuli commented on August 31, 2024

@chinmaysomani07 The issue I mentioned is using the second method you mention - "~/.aws/credentials and ~/.aws/config file"

Also, FYI, I see there's a lot of environment variables and file reading happening here - https://github.com/one2nc/cloudlens/blob/main/cmd/root.go. But if you're using config.LoadDefaultConfig, then reading of environment variables and shared config or credentials file is done by the config package.

from cloudlens.

herder avatar herder commented on August 31, 2024

Hi, first of all: thanks for a really cool app! Fantastic to see that I can get the k9s experience also on raw AWS :)

I just ran into this bug as well: it doesn't find my profiles configured in the ~./aws/config file if there is a ~./aws/credentials file too - it only finds the profiles in the ~/.aws/credentials file.

Removing the credentials file makes everything work ok - then it finds my ~/.aws/config profiles.

So this seems like a bug to me?

from cloudlens.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.