Interface SecretVolume.SecretVersionOrBuilder (2.48.0)

public static interface SecretVolume.SecretVersionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPath()

public abstract String getPath()

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.

string path = 2;

Returns
Type Description
String

The path.

getPathBytes()

public abstract ByteString getPathBytes()

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.

string path = 2;

Returns
Type Description
ByteString

The bytes for path.

getVersion()

public abstract String getVersion()

Version of the secret (version number or the string 'latest'). It is preferable to use latest version with secret volumes as secret value changes are reflected immediately.

string version = 1;

Returns
Type Description
String

The version.

getVersionBytes()

public abstract ByteString getVersionBytes()

Version of the secret (version number or the string 'latest'). It is preferable to use latest version with secret volumes as secret value changes are reflected immediately.

string version = 1;

Returns
Type Description
ByteString

The bytes for version.