Skip to main content

Secret

Secret​

A managed secret.

The engine creates a Secret Manager container with automatic replication in the tenant core project, under a deterministic physical name. It also resolves which principals can access the payload.

PropertyTypeDescription
apiVersionstringAPI schema version. Must be lowops.manifests.v1.
kindstringResource kind. Must be Secret.
metadatamapThe engine reads the reserved keys name and project to resolve the identity and the parent.
specSpecDesired secret configuration. See Spec.

Spec​

User-authored secret configuration.

Sets who can access the value. You set the payload out of band. This manifest governs the container and its access policy.

PropertyTypeDescription
descriptionstringOptional description. It is documentation only. The engine does not copy it to the Secret Manager secret.
permissionsAccessPermissionsUsers, groups, or service accounts that can access the value of the secret. The engine resolves the names to Cloud Identity IDs in computed.permissions and applies the IAM bindings when an application references the secret. See AccessPermissions.

AccessPermissions​

Administrator, contributor, and viewer privileges for an asset.

The engine aggregates the users and groups into IAM policies.

PropertyTypeDescription
administratorsDetailedAccessPermissionsUsers and groups with administrative privileges, usually full control.
contributorsDetailedAccessPermissionsUsers and groups with contributor privileges, usually read and write access.
viewersDetailedAccessPermissionsUsers and groups with viewer privileges, usually read-only access.

DetailedAccessPermissions​

User and group access definitions.

The engine resolves the listed manifests to Google Workspace identity emails for IAM bindings.

PropertyTypeDescription
memberslist of stringNames of OrganizationUser manifests.
groupslist of stringNames of OrganizationUserGroup manifests.