GoogleApi.CloudFunctions.V1.Model.SecretVersion (google_api_cloud_functions v0.32.1) View Source

Configuration for a single version.

Attributes

  • path (type: String.t, default: nil) - Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as /secret_foo would mount the secret value file at /etc/secrets/secret_foo.
  • version (type: String.t, default: nil) - Version of the secret (version number or the string 'latest'). It is preferrable to use latest version with secret volumes as secret value changes are reflected immediately.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.CloudFunctions.V1.Model.SecretVersion{
  path: String.t() | nil,
  version: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.