Closed arthurbdiniz closed 3 years ago
Be able to use the one auth iam sending --access_key_id, --secret_access_key and --region.
one auth iam
--access_key_id
--secret_access_key
--region
one auth iam --access_key_id something --secret_access_key something2 --region ap-southeast-2
us-east-1
envvar
@click.option('-i', '--access_key_id', default=None, envvar='AWS_ACCESS_KEY_ID', type=str, help='AWS access-key-id.') @click.option('-k', '--secret_access_key', default=None, envvar='AWS_SECRET_ACCESS_KEY', type=str, help='AWS secret-access-key.') @click.option('-r', '--region', default='us-east-1', envvar='REGION', type=str, help='AWS default region.')
The path to finding this action is at ./one/commands/auth in the function iam.
./one/commands/auth
iam
Is your proposal related to a problem?
Be able to use the
one auth iam
sending--access_key_id
,--secret_access_key
and--region
.Describe the solution you'd like
us-east-1
following AWS.envvar
should be enabled to get variables from the user or CI environment.The path to finding this action is at
./one/commands/auth
in the functioniam
.