Credential Process
Source Credentials from Weep automatically with Credential Process
[profile consoleme_oss_1]
credential_process = weep credential_process arn:aws:iam::012345678901:role/consoleme_oss_1_test_admin
[profile consoleme_oss_2]
credential_process = weep credential_process consoleme_oss_2_test_admin
[profile test_account_user]
credential_process = weep credential_process test_account_userAWS_PROFILE=test_account_user aws sts get-caller-identity
# you can also use the --profile flag
aws --profile test_account_user sts get-caller-identityimport boto3
session = boto3.Session(profile_name="test_account_user")
client = session.client("sts")
print(client.get_caller_identity())Generating Credential Process Commands
Last updated