Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [secrets]

This tag is used for questions related to secrets, for example, questions like encryption, decryption, storage, management, secure access, rotation, or strength of secrets.

0 votes
1 answer
48 views

How to automatically update secrets mounted as volumes?

I have the following test pod: apiVersion: v1 kind: Pod metadata: name: volume-debugger spec: volumes: - name: secretVolume secret: secretName: ssh-keys-iaas items: - key: ...
user826955's user avatar
  • 3,174
0 votes
1 answer
41 views

When storing secrets within a Key Vault (Such as 1Password Developer Tools or Azure KeyVault), how do you properly protect the keyvaults secret?

When looking to avoid keeping secrets in code (so it doesn't get checked into source control) and having them encrypted in some fashion (so they're not exposed if a machine is compromised), I'm ...
Owen's user avatar
  • 3
0 votes
2 answers
72 views

How to extract non-sensitive secrets from a Terraform file and set them as environment variables?

I am working with a Terraform file that declares secrets as either sensitive or non-sensitive. My objective is to extract only the non-sensitive secrets and set them as environment variables for ...
Marian's user avatar
  • 23
0 votes
0 answers
32 views

Secrets in domain distributed powershell scripts

I am working a script for monitoring connection quality to certain websites. The script will be running via a Group policy in our domain, and should send information to a log analytics workspace. On ...
TRLI's user avatar
  • 1
0 votes
1 answer
42 views

Replace value in Spark configuration

In the Spark configuration as follows, can we replace <datalake> with value from a secret such as {{secrets/yoursecretscope/yoursecretname}}? spark.hadoop.fs.azure.account.oauth2.client.id.<...
kimchg82's user avatar
0 votes
2 answers
102 views

.NET - Use entra id managed identity locally

I have a question about managed identity in Azure and it works fine. I would like to test the application locally and I know that I just need to set AZURE_CLIENT_ID, AZURE_TENANT_ID and ...
Katarina's user avatar
1 vote
0 answers
224 views

ERROR - Unable to retrieve variable from secrets backend (Airflow)

We are using Airflow 2.6. We have a number of DAGs which traditionally have run without issue. Of late however we are seeing a number of issues relating to this error below; ERROR - Unable to retrieve ...
Aidan O Reilly's user avatar
0 votes
0 answers
40 views

How to connect .env file for API

I've been trying to add .env file for my API project (API in Flask; python with mongoDB database) and I'm not really sure how to do it - CI/CD keeps failing because of this file being missing. ...
Dawid Czernik's user avatar
0 votes
2 answers
76 views

How to share a project that needs an API Token withour revealing in GitHub

I have been doing courses for algorithmic trading this week and, as you to connect to an API, it is required to use an API Token together with the API URL. The project works good, everything is ok. ...
Manuel Veiga's user avatar
0 votes
0 answers
76 views

"vault" secret resolver fail to fetch secret and return dial tcp i/o timeout despite that the url is reached from network

I hav a gitlab job that fetched secret from vault. but when runner try to fetch secret using vault secret resolver i got an error : ERROR: Job failed (system failure): resolving secrets: initializing ...
Gaddour Mohamed's user avatar
2 votes
1 answer
85 views

Generating random passphrases from sets of strings with secrets.random is not very random

I have a requirement for a basic passphrase generator that uses set lists of words, one for each position in the passphrase. def generate(self) -> str: passphrase = "%s-%s-%s-%s-%s%s%...
Alec Joy's user avatar
  • 1,969
0 votes
0 answers
83 views

Unable to authenticate to Azure ML Workspace using Service Principal details utilizing GitHub secrets?

I have declared my environmental variables from GitHub Secrets in the YAML file below. In my Python script, I wrote the following code to access GitHub secrets. When I’m running an MLOps pipeline to ...
Raghavendra's user avatar
0 votes
0 answers
26 views

How to work around RotateImmediately not being supported in boto3==1.28.57 when using AWS Secrets Manager with CDK?

How to work around RotateImmediately not being supported in boto3==1.28.57 when using AWS Secrets Manager with CDK? Context: I am using Python with the boto3 library version 1.28.57. I need to rotate ...
Sergi Garriga's user avatar
0 votes
1 answer
355 views

Using random_password generation accross services for terraform

I would like to generate one password for the RDS database. it will be stored in secrets manager the password will be used by ECS to access the RDS My code: modules/secrets-manager.tf resource &...
user23663430's user avatar
-1 votes
1 answer
207 views

How can i pass the secrets to the ngrok.yml file in the container and in the FTP container to an environment?

Goal: So I'm just building a little project for my school, and i have a little old computer that i'm using as a server now. My goal is to make the FTP container public using ngrok container so that i ...
edi Anderegg's user avatar

15 30 50 per page