Aucune description

dependabot[bot] 8086f50c87 chore(deps): bump alpine from 3.13 to 3.14.0 il y a 5 ans
.github 6e97e2211d feat: add ok-to-test workflow il y a 5 ans
apis 0e49b84f6d Rebase on master, and rework unit tests il y a 5 ans
assets e0e824967d Tidy image il y a 5 ans
deploy 7a16d0bcf8 Release 0.2.0 il y a 5 ans
design c8559c1be7 docs: Fix documentation for externalsecret dataFrom il y a 5 ans
docs a8adc874b7 add README docs and yaml snippets for azure keyvault provider il y a 5 ans
e2e 7beec56522 feat: add basic e2e test il y a 5 ans
hack 64f874e1a8 Bump versions to make analytics work il y a 5 ans
pkg 07254798ee Avoid using Env variables for authorization , fix lint errors il y a 5 ans
.editorconfig 987d499241 cleanup: add lint and editorconfig il y a 5 ans
.gitignore add9c81932 chore: refactor parameterstore unit test (#164) il y a 5 ans
.golangci.yaml 8c8064e0e1 Draft: feat: implement template (#69) il y a 5 ans
CNAME 90286f37a4 Create CNAME il y a 5 ans
Dockerfile 8086f50c87 chore(deps): bump alpine from 3.13 to 3.14.0 il y a 5 ans
LICENSE 59a364e04d initial commit il y a 5 ans
Makefile f0efb59f94 ci: add helm.docs target to helm generate il y a 5 ans
PROJECT 2e0a6effbe convert to multi-api il y a 5 ans
README.md ada014ae42 Update Azure kv link il y a 5 ans
RELEASE.md 771334dee9 feat: helm release workflow il y a 5 ans
SECURITY.md 25b3f4dd83 feat: security policy & dependabot (#60) il y a 5 ans
changelog.json 771334dee9 feat: helm release workflow il y a 5 ans
go.mod 07254798ee Avoid using Env variables for authorization , fix lint errors il y a 5 ans
go.sum 07254798ee Avoid using Env variables for authorization , fix lint errors il y a 5 ans
main.go 6318811108 Cleanup and remove kustomize manifests in favor of Helm chart il y a 5 ans
tools.go 6318811108 Cleanup and remove kustomize manifests in favor of Helm chart il y a 5 ans

README.md

External Secrets


The External Secrets Operator reads information from a third party service like AWS Secrets Manager and automatically injects the values as Kubernetes Secrets.

Multiple people and organizations are joining efforts to create a single External Secrets solution based on existing projects. If you are curious about the origins of this project, check out this issue and this PR.

Supported Backends

ESO installation with an AWS example

If you want to use Helm:

helm repo add external-secrets https://charts.external-secrets.io

helm install external-secrets \
   external-secrets/external-secrets \
    -n external-secrets \
    --create-namespace \
  # --set installCRDs=true

If you want to run it locally against the active Kubernetes cluster context:

git clone https://github.com/external-secrets/external-secrets.git
make crds.install
make run

Create a secret containing your AWS credentials:

echo -n 'KEYID' > ./access-key
echo -n 'SECRETKEY' > ./secret-access-key
kubectl create secret generic awssm-secret --from-file=./access-key  --from-file=./secret-access-key

Create a secret inside AWS Secret Manager with name my-json-secret with the following data:

{
  "name": {"first": "Tom", "last": "Anderson"},
  "friends": [
    {"first": "Dale", "last": "Murphy"},
    {"first": "Roger", "last": "Craig"},
    {"first": "Jane", "last": "Murphy"}
  ]
}

Apply the sample resources (omitting role and controller keys here, you should not omit them in production):

# secretstore.yaml
apiVersion: external-secrets.io/v1alpha1
kind: SecretStore
metadata:
  name: secretstore-sample
spec:
  provider:
    aws:
      service: SecretsManager
      region: us-east-2
      auth:
        secretRef:
          accessKeyIDSecretRef:
            name: awssm-secret
            key: access-key
          secretAccessKeySecretRef:
            name: awssm-secret
            key: secret-access-key
# externalsecret.yaml
apiVersion: external-secrets.io/v1alpha1
kind: ExternalSecret
metadata:
  name: example
spec:
  refreshInterval: 1m
  secretStoreRef:
    name: secretstore-sample
    kind: SecretStore
  target:
    name: secret-to-be-created
    creationPolicy: Owner
  data:
  - secretKey: firstname
    remoteRef:
      key: my-json-secret
      property: name.first # Tom
  - secretKey: first_friend
    remoteRef:
      key: my-json-secret
      property: friends.1.first # Roger
kubectl apply -f secretstore.yaml
kubectl apply -f externalsecret.yaml

Running kubectl get secret secret-to-be-created should return a new secret created by the operator.

You can get one of its values with jsonpath (This should return Roger):

kubectl get secret secret-to-be-created   -o jsonpath='{.data.first_friend}' | base64 -d

We will add more documentation once we have the implementation for the different providers. You can find some here: https://external-secrets.io

Stability and Support Level

Internally maintained:

| Provider | Stability | Contact | | --------------- |:-------------:|-----------------------------------------------:| | AWS SM | alpha | ESO Org | | AWS PS | alpha | ESO Org | | Hashicorp Vault | alpha | ESO Org | | GCP SM | alpha | ESO Org |

Community maintained:

| Provider | Stability | Contact | | --------------- |:-------------:|:------------------------------------------:| | Azure KV | alpha | @ahmedmus-1A @asnowfix @ncourbet-1A @1A-mj |

Support

You can use GitHub's issues to report bugs/suggest features or use GitHub's discussions to ask for help and figure out problems.

Even though we have active maintainers and people assigned to this project, we kindly ask for patience when asking for support. We will try to get to priority issues as fast as possible, but there may be some delays.

Contributing

We welcome and encourage contributions to this project! Please read the Developer and Contribution process guides. Also make sure to check the Code of Conduct and adhere to its guidelines.

Kicked off by