View an API Token's Access Key and Secret Key

Retrieve your API Token's access key and secret key from your Parameter Store

Article Tags
On This Page
Before You BeginView an API Token's Access Key and Secret KeyCode examples: Access your API Token Keys in SSM using the Stax SDK or CFNOptional: Access AWS SSM Using AWS CLI or AWS SDKsSee alsoSee also

When you create a Stax API Token, you have the choice of storing the Access Key and Secret Key in your own credential store, or you can choose to have Stax store them for you in your parameter Store.

To retrieve these details from your parameter store, follow these instructions.

Before You Begin

  • You will need to be part of a Group that has access to the Security account. The AWS access level required to view your credentials can be any role greater than ReadOnly.

View an API Token's Access Key and Secret Key

  1. Log in to the Stax console
  2. Select Accounts from the left hand nav
  3. Click the Security account in the Accounts section
  4. Log in to the Security account by clicking the Admin, Developer or Readonly role in the View Account in AWS section of the Account details drawer. The role you are able to assume will depend on your access level in the Group governing access.
  5. Navigate to Systems Manager in AWS
  6. Click Parameter Store
  7. View the Parameters titled:
  • /stax/api-tokens/<token_name>/AccessKey; and
  • /stax/api-tokens/<token_name>/SecretKey respectively

Code examples: Access your API Token Keys in SSM using the Stax SDK or CFN

The Stax Public Resources GitHub repo contains code examples on how to use the Stax SDK or CFN to retrieve your API Token's Access Key and Secret Key from AWS SSM. To learn more about the Stax SDK, visit Stax Python SDK.

Optional: Access AWS SSM Using AWS CLI or AWS SDKs

You can also retrieve the API Token's Access Key and Secret Key from AWS SSM using the AWS CLI or AWS SDKs.
Refer to the following AWS documentation for more details:

See also

See also