Interface SecretVolume.SecretVersionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SecretVolume.SecretVersion, SecretVolume.SecretVersion.Builder
Enclosing class:
SecretVolume

public static interface SecretVolume.SecretVersionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Relative path of the file under the mount path where the secret value for this version will be fetched and made available.
    com.google.protobuf.ByteString
    Relative path of the file under the mount path where the secret value for this version will be fetched and made available.
    Version of the secret (version number or the string 'latest').
    com.google.protobuf.ByteString
    Version of the secret (version number or the string 'latest').

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getVersion

      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:
      The version.
    • getVersionBytes

      com.google.protobuf.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:
      The bytes for version.
    • getPath

      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:
      The path.
    • getPathBytes

      com.google.protobuf.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:
      The bytes for path.