Questions tagged [secrets]

37 questions
0
votes
1 answer

docker-compose secrets without swarm mode: how to import their values?

There are some questions about using secrets with docker-compose without swarm mode, but when trying to follow some of them, I never managed to read the secrets inside running container. Approach #1 docker-compose.yml: version: "3.8" services: …
AbreQueVoy
  • 1,748
  • 8
  • 31
  • 52
0
votes
0 answers

dapr to access kubernetes secrets as secretstore

following my previous question about dapr and k8s secrets. I have a k8s secret defined as follow: apiVersion: v1 kind: Secret metadata: name: secretstore namespace: my-namespace type: Opaque data: MY_KEY: I then defined a dpar…
Domenico
  • 29
  • 6
0
votes
0 answers

dapr.io/config annotation to access a secret

I am trying to deploy a k8s pos with dapr sidecar container. I want the dapr container to access a secret key named "MY_KEY" stored in a secret called my-secrets. I wrote this manifest for the deployment: apiVersion: apps/v1 kind:…
Domenico
  • 29
  • 6
0
votes
1 answer

Is it ok to store user's secrets in PropertiesService.getUserProperties()?

I am developing a Google Workspace Addon (standalone script) which will make REST API calls to external service and for that purpose it needs to provide an API key. I request the API key input from a user and then store it in PropertiesService in…
0
votes
1 answer

GitLab Secrets Detection - Pipeline doesn't fail - Only checks last commit

In order to implement secrets detector via pipeline on merge requests in my GitLab repository, I followed this document from GitLab here: "Enable Secret Detection | Edit the .gitlab.ci.yml file manually" But the pipeline doesn't fail if any secrets…
Abdullah Khawer
  • 4,461
  • 4
  • 29
  • 66
-1
votes
1 answer

Why does the Python Secrets module keep generating the same passwords in this function in Django

Here is the function: def generate_password(): alphabet = string.ascii_letters + string.digits + "!@#$%^&*()+=/.," return ''.join(secrets.choice(alphabet) for i in range(12)) I added this to a Django model, so that it is automatically…
Xandro
  • 19
  • 1
  • 1
  • 6
1 2
3