Questions tagged [secret-manager]

40 questions
22
votes
5 answers

Terraform RDS database credentials

I am trying to use AWS secrets manager to declare RDS admin credentials. Declared credentials in rds.tf in variable RdsAdminCred as key/value pair Declared secret as well in the same tf file variable "RdsAminCred" { default = { …
Sudhir Jangam
  • 646
  • 2
  • 13
  • 20
15
votes
4 answers

ef core migration can't use secret manager

When I create .net core web applications, I use the secret manager during testing. I am generally able to create a new web project (mvc and web api), right click on the project and select "manage user secrets". This opens a json file where I add the…
10
votes
2 answers

Safe storage of app secrets for Blazor Webassembly app

I am searching on the way for safe storage of app secrets in blazor webassembly application. We can find details for Server Side application as in below MSDN…
user3860630
  • 169
  • 1
  • 6
9
votes
1 answer

Localstack throws The security token included in the request is invalid

I use Localstack with Testcontainers((testcontainers:localstack:1.15.2 )) for integration tests and set up the secret in the test setup like this: Code sample import com.amazonaws.services.secretsmanager.AWSSecretsManager; import…
9
votes
1 answer

How to use AWS Secrets Manager in Express Project for fetching Credentials?

I am trying to migrate from my credentials and secrets to AWS Secrets Manager in my Express Project. The current structure has a config.json file which loads in sync when the express app. But when I try to fetch credentials from AWS API, the flow…
7
votes
2 answers

Hashicorp Vault for file storage?

I'm expecting to save a lot of documents of considerable size, from 1M to potentially multiple orders of magnitude larger. I know Hashicorp's Vault is great for secret keys and smaller values. I would love to get the "glass break" functionality and…
5
votes
1 answer

Secret Manager vs Environment Variables

Are there any advantages to using the Secret Manager instead of environment variables for developing ASP.NET Core, Azure Functions, Azure WebJobs and Xamarin projects using Visual Studio 2017? Maybe another way of asking the same question but which…
Sam
  • 26,817
  • 58
  • 206
  • 383
4
votes
2 answers

aws ecs fargate can't fetch secret manager

I'm using AWS ECS service for orchestrate my docker container. Also used Secret Manager for stored and retrieve personal information. I apply SecretsManagerReadWrite policy to my ecsTaskExecutionRole and ecsServiceRole. Before using Fargate, I just…
Hide
  • 3,199
  • 7
  • 41
  • 83
4
votes
1 answer

AWS Glue with SecretManager for database credentials

I am having a AWS Glue Python script which I am using for connecting to an Aurora Mysql database. For this, I tried to use AWS SecretManager so that I do not have to hardcode the database credentials in the script. While I am able to successfully…
Yuva
  • 2,831
  • 7
  • 36
  • 60
3
votes
0 answers

Getting error Secret version has no stage for rotation of secret while rotating secret in AWS Secret Manager from lambda function

I have created the secter in AWS Secret Manager using single user rotation policy. Now I want to test the generated lambda function. While testing lambda function , I am providing args as shown below: { "Step": "setSecret", "SecretId":…
KCS
  • 2,937
  • 4
  • 22
  • 32
3
votes
2 answers

Get secrets in AWS lambda node.js

Can anyone provide a simple, complete node.js lambda function where I can get a secret from secrets manager and use it? I am struggling with the async/await process. I have already tried several suggestions from other posts, but all of them, at the…
2
votes
3 answers

How to create a secret in Google Cloud Secret Manager by Terraform?

This is official page: https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/secret_manager_secret I created these files: variables.tf variable gcp_project { type = string } main.tf resource "google_secret_manager_secret"…
2
votes
2 answers

Where to keep the Initial Trust credentials of a Secrets Management tool?

For our product we have decided to implement a Secret Management tool (AWS secrets manager) that will securely store and manage all our secrets such as DB credentials, passwords and API keys etc. In this way the secrets are not stored in code,…
2
votes
3 answers

Storing UserName and Password in a WebApp

I have a SpringBoot 2.1.4.RELEASE RESTful Web Service app., using Spring Initializer, embedded Tomcat, Thymeleaf template engine, and package as an executable JAR file, which is using a third party REST API secured by JWT, so I need to store in the…
carles xuriguera
  • 930
  • 1
  • 14
  • 30
2
votes
0 answers

How can I use .NET Core User Secrets in shared webhost without Azure?

I do understand the problem of "secrets" being embedded in a solution, either in code or data files because these get checked in to source control. So there is the Secrets Manager Tool which works great I guess for development. But what if you go…
Lord of Scripts
  • 3,579
  • 5
  • 41
  • 62
1
2 3