Secretmanager Functions
object SecretmanagerFunctions
Functions
Link copied to clipboard
Use this data source to get information about a Secret Manager Secret
Link copied to clipboard
Get a Secret Manager secret's version. For more information see the official documentation and API.
suspend fun getSecretVersion(argument: suspend GetSecretVersionPlainArgsBuilder.() -> Unit): GetSecretVersionResult
suspend fun getSecretVersion(project: String? = null, secret: String, version: String? = null): GetSecretVersionResult
Link copied to clipboard
suspend fun getSecretVersionAccess(argument: GetSecretVersionAccessPlainArgs): GetSecretVersionAccessResult
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(argument: suspend GetSecretVersionAccessPlainArgsBuilder.() -> Unit): GetSecretVersionAccessResult
suspend fun getSecretVersionAccess(project: String? = null, secret: String, version: String? = null): GetSecretVersionAccessResult