SecretmanagerFunctions

Functions

Link copied to clipboard

Use this data source to get information about a Secret Manager Secret

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

Get a Secret Manager secret's version. For more information see the official documentation and API.

suspend fun getSecretVersion(project: String? = null, secret: String, version: String? = null): GetSecretVersionResult
Link copied to clipboard

Get a payload of Secret Manager secret's version. It only requires the Secret Manager Secret Accessor role. For more information see the official documentation and API.

suspend fun getSecretVersionAccess(project: String? = null, secret: String, version: String? = null): GetSecretVersionAccessResult