Questions tagged [aws-secrets-manager]

AWS Secrets Manager helps encrypt, store, and retrieve credentials for your databases and other services. Instead of hardcoding credentials in apps, you can make calls to Secrets Manager to retrieve credentials whenever needed. Secrets Manager helps protect access to IT resources and data by rotating and managing access to secrets.

See also: What Is AWS Secrets Manager? - AWS Secrets Manager

864 questions
0
votes
1 answer

AWS and secrets (Systems Manager, Secrets Manager, Key Management Service)

As AWS has now retired the KMS service it seems the Secrets Manager took over. As it is quite costly there is also the Systems Manager parameter store. None of these has audit capabilities as far as I see. Does anybody know the roadmap or what to…
lony
  • 6,733
  • 11
  • 60
  • 92
0
votes
1 answer

Managing secrets with aws cli register task definition

I use circleci to build and push the application to aws. I have now managed to create and register a new task definition in the circleci config using the aws cli. This works well. The problem or case i´am having is how do I overwrite the placeholder…
Moddaman
  • 2,538
  • 3
  • 23
  • 41
-1
votes
1 answer

Create and update secrets on AWS if they already exists with Terraform

I am trying to create secrets for a microservice using Terraform, and I want to initialize the secrets with some values from my Terraform configuration, but I also want to allow adding secrets manually. This is what I initially tried. locals { …
Abraham
  • 8,525
  • 5
  • 47
  • 53
-1
votes
1 answer

purpose of AWS secret rotation schedule lambda VpcSecurityGroupIds

I'm using CloudFormation to set up a DocumentDB cluster inside a new VPC. CloudFormation is setting up everything, including the VPC, the DocumentDB password secret, and the secret's rotation. I'm following closely the DocumentDB example at…
-1
votes
1 answer

Getting error while getting credentials from aws secret manager and connecting to dynamoDB in reactjs

I am getting below error when trying to connect to dynamoDB after getting credentials from aws secret manager. Uncaught (in promise) CredentialsError: Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1 But when I try…
-1
votes
1 answer

Unable to list all secrets from AWS secret manager

I am trying to list all secrets available in AWS secret manager using lambda function, following is the python code snippet; region='us-west-2' session= boto3.sesssion.Session(region_name=region) client = session.client('secretsmanager') secrets…
-1
votes
3 answers

How to retrieve an arn of secret with random suffix in AWS Cloudformation

I have an existing secret in secrets manager. The arn looks like that : arn:aws:secretsmanager:::secret:-d1fX1Y As we all know the suffix is added by AWS. "Secrets Manager automatically adds a hyphen and six random…
-1
votes
1 answer

Aws ecs service needs redeployment to read secrets

I know from experience that an ECS service needs redeployment of a new task in order to read an updated secret wonder if anyone can point me to documentation?
bruvio
  • 853
  • 1
  • 9
  • 30
-1
votes
1 answer

AWS Secrets Manager and Terraform - multi environment secrets

I have same-named secrets across all of my 4 environments. The problem is AWS adds characters at the end of the secret ARN, meaning all of my secrets have different "names", besides their environment, which is not a problem. The specific problem can…
-1
votes
1 answer

Unable to get secret value from AWS secret manager in Dapr component

I am trying to use Dapr with Aws Secret Manager. I am able to get secrets from aws secret manager through dapr secret API. But unable to get keys from secret manager when referencing in component. File: statestore.yaml apiVersion:…
Harshroc
  • 21
  • 2
-1
votes
1 answer

AWS SecretManager CLI list-secrets - sort secrets by Name

I am using aws cli to get a list of secrets. However, I wanted them to be sorted by name. I am not sure how does AWS CLI sort it. The command I am using is: aws secretsmanager list-secrets --sort-order desc Is there a way to sort the output by Name…
-1
votes
1 answer

how to update secrets manager secret value from lambda function?

I have a access token retrieved from an api and its lifetimes is 5 hours. I saw that secrets manager can rotate a secret but minimum rotation time is 1 day. Because of this i thought that i can write a lambda function that works every 5 hours and…
-1
votes
1 answer

AWS: Storing API token in Secrets Manager vs Dynamo DB

We have a use case where we need to generate an API token every 9 minutes and store it to use for next 9 minutes and we generate API token again and replace old one. This is the cycle that we follow in our application. The application is running in…
-1
votes
3 answers

Getting error while running create secrets manager command using aws cli

I am trying to create one secrets manager using aws cli command. The command I tried is aws secretsmanager create-secret \ --name sample_auth_aws_secret1 \ --description "My test secret created with the CLI." \ -- tags…
Chintamani
  • 1,076
  • 7
  • 23
  • 47
-1
votes
2 answers

What is the benefit of using `aws_secretsmanager_secret_policy` for creating/managing policy for AWS Secrets manager?

In Terraform aws provider, we can use the below to attach a Resource based policy to the secrets manager. Create a aws_iam_policy_document Data resource and attach the same to the secrets manger Create policy using aws_secretsmanager_secret_policy…