sde-cheatsheet

ada - Command

ada means “Amazon Developer Account”. It’s required to authenticate the AWS ADA credentials to log into AWS instances. Its configuration file is located in ~/.aws/config.

Print the identity information of the current ADA account/credential.

# Command
ada cred(entials) print --account [account_id] --role [role_type]

# Example
ada cred print --account 1234567 --role Admin
ada credentials print --account 1234567 --role Admin

Update the Current ADA Credential

# Command
ada cred(entials) update \
    --account [account_id] \
    --role [role_type] \
    --provider [provider_tag] \
    --once

# Example
ada cred update \
    --account 1234567 \
    --role Admin \
    --provider Isengard \
    --once