Linkedsecrets support "Arbitrary Secrets" only.
This kind of secret support rotation but not versioning.
Linkedsecrets support "PLAIN" and "JSON" formats.
This format must use “=” to separate key/value. White spaces and white lines are allowed and will be skipped during payload parse.
Example:
username = admin
password=teste123
host = myhost01
This format support a simple key/value JSON.
Example:
{
"username" : "admin",
"password" : "teste123",
"host" : "myhost01"
}
Follow bellow all spec fields supported by Linkedsecrets when using IBM Secret Manager:
apiVersion: security.kubeideas.io/v1
kind: LinkedSecret
metadata:
name: <LINKEDSECRET-NAME>
spec:
rolloutRestartDeploy: <DEPLOYMENT-NAME>
keepSecretOnDelete: <true | false>
provider: IBM
providerSecretFormat: <JSON | PLAIN>
providerOptions:
secretManagerInstanceId: <SECRET-MANAGER-INSTANCE-UUID>
secretId: <SECRET-UUID>
region: <SECRET-MANAGER-REGION>
secretName: <KUBERNETES-SECRET-NAME-CREATED-AND-MAINTAINED-BY-LINKEDSECRETS>
schedule: <"@every 10m" | ANY-OTHER-SYNCHRONIZATION-INTERVAL>
suspended: <true | false>
Click Here and get them.