Secretmanager_v1beta1Functions

Functions

Link copied to clipboard

Gets metadata for a given Secret.

suspend fun getSecret(argument: suspend GetSecretPlainArgsBuilder.() -> Unit): GetSecretResult
suspend fun getSecret(project: String? = null, secretId: String): GetSecretResult
Link copied to clipboard

Gets the access control policy for a secret. Returns empty policy if the secret exists and does not have a policy set.

suspend fun getSecretIamPolicy(optionsRequestedPolicyVersion: Int? = null, project: String? = null, secretId: String): GetSecretIamPolicyResult