Level up your business security with free, on-demand training and certification. Explore 1Password Academy today →
Forum Discussion
irena
4 years agoNew Contributor
Type of Kubernetes secret created by using OnePasswordItem
I am trying to define a OnePasswordItem to be used as part of our 1Password Secret Automation Workflow.
I noticed that the secret created is a Kubernetes Opaque secret. However, I want to create a...
Anonymous
4 years agoHey!
I am glad to announce that this has been released in v1.2.0 of the operator, which was released recently. You can now set type on OnePasswordItem resources, which can be any of the https://kubernetes.io/docs/concepts/configuration/secret/#secret-types.
For example:
apiVersion: onepassword.com/v1
kind: OnePasswordItem
type: kubernetes.io/dockerconfigjson
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>"
Let me know if that helps.
Joris