Created
February 9, 2024 07:25
-
-
Save Yamini-crypto/3ba794ade97965c6de82f246d35150ed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: external-secrets.io/v1beta1 | |
kind: ExternalSecret | |
metadata: | |
name: aws-external-secret | |
namespace: secret-demo | |
spec: | |
refreshInterval: 5s | |
secretStoreRef: | |
name: aws-secrets-manager | |
kind: ClusterSecretStore | |
target: | |
name: secret-demo # This creates one secret in your k8s cluster | |
creationPolicy: Owner | |
## You can get all of the secret content (recommended) | |
dataFrom: | |
- extract: | |
key: external-secret-demo #aws secret name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment