Home > Blockchain >  Can I use AWS named profiles without placing them in a credentials file?
Can I use AWS named profiles without placing them in a credentials file?

Time:10-12

Is it possible to create a named profile without creating a credentials file?

For example, storing the profile in path variables?

CodePudding user response:

No, this is not possible.

You can pass information like the aws_access_key_id & aws_secret_access_key via the CLI or store them in path variables using export but for them to persist & be grouped under a name, they must be stored somewhere.

That somewhere must be a credentials or config file.

CodePudding user response:

If you use AWS SSO you don't have credentials stored in the credentials file. You will still have profiles in the profile file though.

  • Related