1Password / onepassword-operator

The 1Password Connect Kubernetes Operator provides the ability to integrate Kubernetes Secrets with 1Password. The operator also handles autorestarting deployments when 1Password items are updated.
https://developer.1password.com/docs/connect/
MIT License
537 stars 59 forks source link
1password 1password-connect golang k8s kubernetes kubernetes-operator secret-management

1Password Connect Kubernetes Operator

Integrate 1Password Connect with your Kubernetes Infrastructure

Get started

The 1Password Connect Kubernetes Operator provides the ability to integrate Kubernetes Secrets with 1Password. The operator also handles autorestarting deployments when 1Password items are updated.

✨ Get started

🚀 Quickstart

  1. Add the 1Password Helm Chart to your repository.

  2. Run the following command to install Connect and the 1Password Kubernetes Operator in your infrastructure:

    helm install connect 1password/connect --set-file connect.credentials=1password-credentials-demo.json --set operator.create=true --set operator.token.value = <your connect token>
  3. Create a Kubernetes Secret from a 1Password item:

    kind: OnePasswordItem
    metadata:
    name: <item_name> #this name will also be used for naming the generated kubernetes secret
    spec:
    itemPath: "vaults/<vault_id_or_title>/items/<item_id_or_title>"

    Deploy the OnePasswordItem to Kubernetes:

    kubectl apply -f <your_item>.yaml

    Check that the Kubernetes Secret has been generated:

kubectl get secret <secret_name>

📄 Usage

Refer to the Usage Guide for documentation on how to deploy and use the 1Password Operator.

💙 Community & Support

🔐 Security

1Password requests you practice responsible disclosure if you discover a vulnerability.

Please file requests via BugCrowd.

For information about security practices, please visit the 1Password Bug Bounty Program.