2022-03-09 09:48:25 +00:00
|
|
|
apiVersion: external-secrets.io/v1beta1
|
2021-03-01 07:31:02 +00:00
|
|
|
kind: SecretStore
|
|
|
|
metadata:
|
|
|
|
name: secretstore-sample
|
|
|
|
spec:
|
|
|
|
provider:
|
2021-03-10 10:43:25 +00:00
|
|
|
aws:
|
|
|
|
service: SecretsManager
|
2021-03-01 07:31:02 +00:00
|
|
|
# define a specific role to limit access
|
2021-06-28 15:10:27 +00:00
|
|
|
# to certain secrets.
|
|
|
|
# role is a optional field that
|
|
|
|
# can be omitted for test purposes
|
2021-03-01 07:31:02 +00:00
|
|
|
role: iam-role
|
|
|
|
region: eu-central-1
|
|
|
|
auth:
|
|
|
|
secretRef:
|
|
|
|
accessKeyIDSecretRef:
|
|
|
|
name: awssm-secret
|
|
|
|
key: access-key
|
|
|
|
secretAccessKeySecretRef:
|
|
|
|
name: awssm-secret
|
|
|
|
key: secret-access-key
|