openshift-secrets-awssecman¶
Back OpenShift cluster secrets with AWS Secrets Manager via LookupUri references
Backs a cluster's secrets with AWS Secrets Manager through the DRP
awssecman secret-store plugin. Nests the openshift-secrets base profile
(which defines the references) and supplies the AWS URI grammar:
- per-cluster prefix:
<store>://aws?secret=<name>.<cluster-domain>/ - pull secret:
<store>://aws?secret=openshift/pull-secret&format=json
where <store> is the plugin instance named by openshift/secrets/store.
The awssecman plugin ignores the URI host, so the literal aws is used
there by convention; the secret is selected by the secret= query argument.
The profile also carries openshift/secrets/type: awssecman (the plugin
provider name) so content that must branch or validate per backend can read
it instead of guessing from the reference shape; operators never set it by
hand.
Usage¶
- Install the
awssecmanplugin content and configure anawssecmanplugin instance; set AWS credentials/region on it as needed and record its name. - Set
openshift/secrets/storeto that instance name. - Ensure
openshift/cluster-domainis set for the cluster. - Apply this profile to the cluster.
See the openshift-secrets profile for how references resolve, the scope of
covered params, write-through behavior, and the shared-profile RBAC caveat.
Objects that Reference openshift-secrets-awssecman¶
Not used in current content packs
Objects used by openshift-secrets-awssecman¶
- params openshift/secrets/pull-secret-uri in field Params as value {{.ParamExpand "openshift/secrets/store"}}://aws?secret=openshift/pull-secret&format=json
- params openshift/secrets/type in field Params as value awssecman
- params openshift/secrets/uri-prefix in field Params as value {{.ParamExpand "openshift/secrets/store"}}://aws?secret={{.Machine.Name}}.{{.ParamExpand "openshift/cluster-domain"}}/
- profiles openshift-secrets in field Profiles as value openshift-secrets
- params openshift/secrets/store
- params openshift/secrets/store
- params openshift/cluster-domain