Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: clarify configuration properties placement requirements #33

Open
RadekDvorak opened this issue Aug 23, 2022 · 0 comments
Open

Docs: clarify configuration properties placement requirements #33

RadekDvorak opened this issue Aug 23, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@RadekDvorak
Copy link

Describe the bug
Documentation could state that certain properties can be defined only in the source profile. These are:

  • vegas_yubikey_serial,
  • vegas_yubikey_label,
  • and most likely mfa_serial

It makes technically kind of sense to define these properties only once in the source profile as there may be only a single MFA in AWS at the moment. However first time users need not understand how this AWS limitation affects configuration (eg. they may think sections are merged).

System (please complete the following information):

  • OS: Linux
  • OS Version: N/A
  • Tool Version: e57a600
  • Tool Installation Method: self-compiled
  • Credential Process invoked via: directly (debugging)

To Reproduce
$HOME/.aws.config where vegas_yubikey_serial and vegas_yubikey_label are not found:

[profile work]
region = eu-central-1
mfa_serial = arn:aws:iam::431378790335:mfa/radek.dvorak
output = json

[profile sandbox]
credential_process = /home/radek/bin/vegas-credentials assume --profile=sandbox
vegas_source_profile = work
vegas_role_arn = arn:aws:iam::186583659222:role/Some-Role
vegas_yubikey_serial= 1234567
vegas_yubikey_label = aws/iam/431378790335:radek.dvorak

Expected behavior
Documentation states which properties are recognized in which ini section.

@RadekDvorak RadekDvorak added the bug Something isn't working label Aug 23, 2022
@aripalo aripalo self-assigned this Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants