Creating and Accessing AWS SSM Parameters via AWS Management Console
By Łukasz Kallas
- Published on
Sharing
Today, we’ll walk through how to create AWS SSM Parameters using the AWS Management Console and how to access both String and SecureString parameters.
Step 1: Navigate to the AWS Systems Manager
- Log into the AWS Management Console.
- In the search bar, type Systems Manager and select it.
- In the Systems Manager dashboard, scroll down to the Parameter Store section under Application Management.
Step 2: Create a String Parameter
- In the Parameter Store section, click Create parameter.
- Fill in the fields:
- Name:
MyStringParam
- Description: Enter any description.
- Tier: Standard
- Type: Select String
- Value:
HelloWorld
- Name:
- Click Create parameter at the bottom to save.
Now, your parameter MyStringParam
is created.
Step 3: Create a SecureString Parameter
- Return to the Parameter Store and click Create parameter again.
- Fill in the fields as follows:
- Name:
MySecureParam
- Description: For sensitive data
- Tier: Standard
- Type: Select SecureString
- KMS Key ID: Use the default AWS managed key or select a custom key.
- Value:
MySecretValue
- Name:
- Click Create parameter to create the secure parameter.
Step 4: Access the Parameters
Accessing the String Parameter:
- Go back to the Parameter Store dashboard.
- Search for
MyStringParam
in the list. - Click the parameter name and view its value directly in the console.
Accessing the SecureString Parameter:
- Search for
MySecureParam
. - Click the parameter name.
- By default, the value will be encrypted. To view the decrypted value, click the Show button next to the value.
Step 5: Using the Parameter in Your Applications
You can now use these parameters in your applications or AWS services. AWS SDKs, CLI, and Lambda functions can all retrieve these parameters.