Thank you for answering to that .
The question is how can we automat the process
If you need to automate the rotation of credentials, then AWS Secrets Manager would be a better fit as it has this feature included. For examples, see the following two blog posts:
You can then integrate Secrets Manager with Parameter Store so that you can retrieve Secrets Manager secrets when using other AWS services that already support references to Parameter Store parameters.
You can use the AWS Command Line Interface (AWS CLI), AWS Tools for Windows PowerShell, and the SDKs to retrieve a secret by using Parameter Store. Example CLI command:
aws ssm get-parameter \ --name /aws/reference/secretsmanager/s1-secret:11111-aaa-bbb-ccc-123456789 \ --with-decryption
For more information, see Referencing AWS Secrets Manager secrets from Parameter Store parameters .
Systems Manager Parameter Store does not include automatic rotation and would need to be customized. Although Advanced Parameters in Parameter Store do allow you to specify an expiration and expiration notification policy, for more information see Assigning parameter policies.
ssm secret password automation in awsasked a year ago
[MOVED] How to use openpgp card to store secret access key?asked a year ago
EKS csi secret store driver not finding SecretProviderClassasked 9 months ago
AWS Systems Manager Parameter Store - charges for decryptionAccepted Answerasked a year ago
How can we store feature transforms in a feature store?Accepted Answerasked 8 months ago
ECS agent sporadically times out while fetching secrets from SSM Parameter Storeasked 3 months ago
AWS Config Rule Automatic Remediation Failed (SSM Automation shows Success)asked 4 days ago
How do I allow EC2 Agent to retrieve Secrets from Secret Manager when using CodeDeploy?asked 6 months ago
How can I route traffic depending on setting from parameter store.asked 6 months ago
Can I see EC2 Instance Monitoring Metrics in Cloudwatch by adding values in Parameter Store?asked 2 months ago