Skip to content
/ opkube Public

CLI utility for transferring secrets betweeen Kubernetes and 1Password

Notifications You must be signed in to change notification settings

Skalar/opkube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opkube

CLI utility for transferring secrets betweeen Kubernetes and 1Password

Installation

npm install opkube

Usage

You need the op binary available in $PATH.

# Sign in with op
eval $(op signin myteam)

# Create kubernetes secrets from 1P vault items
opkube from-vault myvault | kubectl create -f -

# Store kubernetes secrets in 1Password vault
kubectl get secrets | opkube to-vault myvault

# Install shell completion (bash, zsh, fish)
opkube --install-completion

# Uninstall shell completion
opkube --uninstall-completion

Secrets in 1Password

A secret is represented as a Secure Note. Single line values are stored as key/value pairs under a section titled data, while multiline values are stored as linked documents.

1Password secure notes must be tagged secret te be considered by opkube.

About

CLI utility for transferring secrets betweeen Kubernetes and 1Password

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published