Interface SecretVolume.SecretVersionOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getPath()
      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 getPathBytes()
      Relative path of the file under the mount path where the secret value for this version will be fetched and made available.
      String getVersion()
      Version of the secret (version number or the string 'latest').
      com.google.protobuf.ByteString getVersionBytes()
      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 Detail

      • 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.