Secret YAML Specification
potctl allows users to deploy and manage secrets.
The secret has a very simple definition
apiVersion: datasance.com/v3
kind: Secret
metadata:
name: test-secret
spec:
type: Opaque
data:
username: foo
password: bar
apiVersion: datasance.com/v3
kind: Secret
metadata:
name: test-secret
spec:
type: tls
data:
tls.crt: # base64 encoded string
| Field | Description |
|---|---|
| spec.type | Type of secret Opaque or tls |
| data | Secret data with key value pairs. If type is tls values must be base64 encoded string |
See anything wrong with the document? Help us improve it!