A dotnet open source which provides aws system manager using tool
- Best practice for the environment variables names according to system parameters configured in AWS system manager store
- Configuration of ssm paths
- Synchronization of environment variables with system parameters values
- View current synchronization state of environment variables
This project is built with DotNet 6.0 and is mandatory to install before using.
You can find and install it here.
Verify your dotnet version:
The Installer publishes the code to the machine applications directory and adds it to your system's path.
The installer can be found at the root folder under its own directory.
-
- Compile and run the installer project as an Administrator while being in repo root directory:
dotnet run --project src/Aws.Ssm.Cli.Installer/Aws.Ssm.Cli.Installer.csproj
-
- Compile and run the installer project while being in repo root directory:
sudo dotnet run --project src/Aws.Ssm.Cli.Installer/Aws.Ssm.Cli.Installer.csproj
Open terminal / cmd and run:
aws-ssm-cli help
or
ascli help
If everything ran smoothly, you should see the list of supported commands
The user should be authenticated (selected role) according to aws environment with access to AWS System Manager. Recommended external tools:
- okta-aws-cli
- ...
Command line:
aws-ssm-cli
FYI - The CLI can be executed using the commands ascli
or aws-ssm-cli
.
First time for the profile configuration recommended to run/select command:
aws-ssm-cli config
- Set profile name - "default"
- Recommendation to set prefix for the environment variable(s) - "SSM_"
- Add ssm-path
- You can export already valid profile configuration in the json format (example):
{
"EnvironmentVariablePrefix": "SSM_",
"SsmPaths": [
"/demo1",
"/demo2"
]
}
- Complete/exit configuration
Using to synchronize environment variables with SSM parameters.
For the activation of environment variables required to recreate a process (terminal, Rider, ...)
Using to view current synchronization status of the environment with SSM parameters
Using for the easy configuration of infrastructure parameters (mapping ssm parameters to and environment variable names)
This project is licensed under the MIT License.