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

Google Authentication in python

I am trying to get authentication to use the google translation API. Currently on my local machine I simply do this: from google.cloud import translate_v2 as translate os.environ["GOOGLE_APPLICATION_CREDENTIALS"] =…
0
votes
1 answer

What's the best way to automatically retrieve a secret from AWS secrets manager in a newly launched EC2 instance?

I have an app I'm deploying using a CloudFormation template with an AutoScaling Policy. I'm storing credentials for the app in AWS Secrets Manager. I need to retrieve the credentials and copy them over to the application config during the…
0
votes
1 answer

Connecting to RDS using aws-secretsmanager-jdbc with Node.js?

Is there a way to connect to an RDS instance using the aws-secretsmanager-jdbc with node.js? I need to connect to a datasource and run a simple query, but unfortunately the only supported way to connect is using aws-secretsmanager-jdbc.…
user12363752
0
votes
1 answer

How to automatically propagate changes of a secret to the Fargate TaskDefinitions?

I'm using Amazon CloudFormation to describe my desired infrastructure in AWS cloud. In Amazon Secrets Manager I've created few variables, that are representing credentials for S3 as well as database access in my cluster. This secrets are injected…
ilja
  • 351
  • 2
  • 14
0
votes
1 answer

Difference between AWS Systems Manager Parameter Store and AWS Secrets Manager?

I'm preparing the AWS Developer Associate certification and I don't understand the main difference between AWS Systems Manager Parameter Store and AWS Secrets Manager. I read the presentation of each service and it feels like Secrets Manager is…
Johan Rin
  • 1,900
  • 2
  • 20
  • 42
0
votes
1 answer

Retrieving a ppk file from SecretsManager and passing to ssh2-sftp-client

I am trying to retrieve the contents of a ppk file from secrets manager and use it to connect to SFTP. I can do it easily if I store the file locally and pass the file. const sshConfig = { //This works host: 'host', port: 22, username:…
MountainBiker
  • 327
  • 5
  • 20
0
votes
1 answer

Spring cloud-config-server Git-Backend on AWS ECS

So far I'm able to pull the config-repo files from gitlab using simple username/password in my local system and it works well. Now I'm moving stuffs to AWS-ECS(Fargate). native profile works well, but I want to use git-uri and for that I must…
0
votes
2 answers

Secret Id in AWS Secret Manager

We deployed our complete application in AWS environment and We find AWS Secret Manager is the right choice to store the secrets for the database and a few other components. Our ultimate aim is not to store any credentials in the config file /…
Harry
  • 3,072
  • 6
  • 43
  • 100
0
votes
1 answer

How to add a key into an existing AWS::SecretsManager::Secret

I have a CloudFormation template where I create and RDS instance. First I create a AWS::SecretsManager::Secret and save there values that I will use as MasterUserPassword MasterUsername and DBName in AWS::RDS::DBInstance under some secret name. But…
Yann
  • 2,426
  • 1
  • 16
  • 33
0
votes
1 answer

AWS lambda intermittently times out connecting to S3

I'm a n00b to AWS. I have a Lambda written in Java that processes S3 events from an SQS queue. The events are triggered by the creation of files in a specified directory in the S3 bucket. The Lambda's processing of single S3 event received from the…
0
votes
1 answer

How to know if my AWS role has IAMFullAccess?

I'm currently working on a task to configure credential rotation in AWS Secret Manager, I did some reading, from my understanding, the best practice is to use the feature on Secret Manager Console 'enable the rotation', then SM will create a Lambda…
0
votes
1 answer

What is the alternative for secretsmanager.AttachmentTargetType in new version @aws-cdk/aws-secretsmanager: 1.20.0?

with version 1.19.0 , below script works fine. import secretsmanager = require('@aws-cdk/aws-secretsmanager'); const target : secretsmanager.ISecretAttachmentTarget = { asSecretAttachmentTarget: () => ({ targetId:…
James_RajKumar
  • 201
  • 3
  • 12
0
votes
3 answers

How do I authenticate an AWS service using only the role or user ARN instead of accessKeyId and secretAccessKey?

So instead of doing this (which is what I currently use to access the secrets manager service): AWS.config.credentials = new AWS.Credentials({ accessKeyId: "string", secretAccessKey: "string", } ) // Create a Secrets Manager client var…
0
votes
1 answer

escaping characters when passing JSON to aws secretsmanager

I have tried to write a script that updates AWS secrets. Yes, the update-secret command already does this, but that will overwrite existing secrets instead of merging them w/ the new content. For example, suppose…
trubliphone
  • 4,132
  • 3
  • 42
  • 66
0
votes
1 answer

Disable spring-cloud-aws-secrets-manager-config module for some Spring profile

Is it possible to disable spring-cloud-aws-secrets-manager-config module for some Spring profile ? I'm looking for a way to disable it while testing locally.