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
Retrieves the current IAM policy data for secret
suspend fun getSecretIamPolicy(argument: suspend GetSecretIamPolicyPlainArgsBuilder.() -> Unit): GetSecretIamPolicyResult
Link copied to clipboard
Use this data source to list the Secret Manager Secrets
Link copied to clipboard
Get the value and metadata from a Secret Manager secret version. For more information see the official documentation datasource.
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 the value from a Secret Manager secret version. This is similar to the gcp.secretmanager.SecretVersion datasource, but 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