Questions tagged [secrets]
5 questions
1
vote
0 answers
How to securely replace .env file with HashiCorp Vault Secrets in PHP?
I'm looking to securely replace the use of a local .env file in my PHP script with HashiCorp Vault Secrets. Here’s how my current code loads environment variables from .env:
$envFile = __DIR__ . '/../.env';
if (file_exists($envFile)) {
…
MultiformeIngegno
- 1,847
1
vote
1 answer
cert-manager Certificate.spec.secretTempate is not updating annotations on the output secret
I recently needed to share a tls configuration between two different namespaces, looking at the docs I saw that you can use reflector to sync secrets between namespaces. I copy/pasted the documented code from the docs to set this up, however the…
Marcus Ruddick
- 121
- 5
0
votes
1 answer
Why does podman have secrets?
What is the difference between storing secrets as a podman secret and storing them in an environment file? In what way is the secret more secure, if at all?
In other words,
podman secret create my_secrets envfile
...
podman run --secret…
nigel222
- 151
0
votes
1 answer
Can you parse JSON keys out of a Google Secrets Manager secret?
Consider the following gcloud command where you inject a Google Secrets Manager secret into your SERVICE Google Cloud Run service—ripped off the Use secrets Cloud Run docs page:
gcloud run services update SERVICE \
…
mbigras
- 357
-1
votes
2 answers
Do I have to include the server secret (used to encrypt passwords) in the backup?
I have been requested to create a backup of a server. The server is Linux Ubuntu 22.04.2 where the core application (nodejs) + management software (nodejs / bash scripts) + monitoring (nodejs / net-snmp) are running.
A second server will be present…
Vince
- 1