Skip to main content

Secret

Secret

Defines the high-level intent for a managed secret.

Establishes a secure vault for sensitive cryptographic material, API credentials, and application configurations. Integrates with the platform's centralized secret management infrastructure to enforce strict access control policies and audit logging for payload retrieval operations.

PropertyTypeDescription
apiVersionstring
kindstring
metadatamap
specSpec

Spec

Contains the user-defined configuration for the secret. Encapsulates configuration parameters for access control matrices governing payload retrieval.

PropertyTypeDescription
descriptionstringThis description is optional but will drastically improve the understand of the AI assistant about the structural elements of the organization
permissionsAccessPermissionsDefines which users, groups, or service accounts are allowed to access the secret's value. This directly translates to IAM bindings granting payload accessor roles to the specified principals.

AccessPermissions

Core definition for assigning administrative and viewer privileges across the platform.

Used by the engine to compute the final IAM policies (google_folder_iam_binding, etc.), aggregating individual user and group definitions to role assignments.

PropertyTypeDescription
administratorsDetailedAccessPermissionsA list of users and groups with administrative privileges on the asset. The exact permissions are resource-dependent but typically grant full control.
contributorsDetailedAccessPermissionsA list of users and groups with contributor privileges on the asset. The exact permissions are resource-dependent but typically grant read and write access.
viewersDetailedAccessPermissionsA list of users and groups with viewer privileges on the asset. The exact permissions are resource-dependent but typically grant read-only access.

DetailedAccessPermissions

Aggregation of specific user and group access definitions.

Refers to lists of OrganizationUser and OrganizationUserGroup manifests that will be parsed to retrieve actual Google Workspace identity emails for IAM binding construction.

PropertyTypeDescription
memberslist of stringA list of 'OrganizationUser' manifest names to be included in this permission set.
groupslist of stringA list of 'OrganizationUserGroup' manifest names to be included in this permission set.