Enum Class KeyAction

java.lang.Object
java.lang.Enum<KeyAction>
com.salesforce.multicloudj.kms.model.KeyAction
All Implemented Interfaces:
Serializable, Comparable<KeyAction>, Constable

public enum KeyAction extends Enum<KeyAction>
Portable permissions that a KeyGrant can give on a key.
  • Enum Constant Details

    • ENCRYPT

      public static final KeyAction ENCRYPT
    • DECRYPT

      public static final KeyAction DECRYPT
    • GENERATE_DATA_KEY

      public static final KeyAction GENERATE_DATA_KEY
    • CREATE_GRANT

      public static final KeyAction CREATE_GRANT
    • REENCRYPT

      public static final KeyAction REENCRYPT
    • SIGN

      public static final KeyAction SIGN
    • VERIFY

      public static final KeyAction VERIFY
    • DESCRIBE

      public static final KeyAction DESCRIBE
    • MANAGE

      public static final KeyAction MANAGE
      Full administrative access as the provider defines a key administrator: changing the key's policy, lifecycle state and tags, and scheduling its deletion. Grants no cryptographic use.
    • MANAGE_STATE

      public static final KeyAction MANAGE_STATE
      Enabling and disabling the key.
    • MANAGE_POLICY

      public static final KeyAction MANAGE_POLICY
      Reading and replacing the key's access policy.
    • MANAGE_TAGS

      public static final KeyAction MANAGE_TAGS
      Adding and removing the key's tags.
    • IMPORT_KEY_MATERIAL

      public static final KeyAction IMPORT_KEY_MATERIAL
      Starting import sessions and importing key material into the key.
    • REPLICATE

      public static final KeyAction REPLICATE
      Replicating the key to other regions and changing which replica is primary.
    • ALL

      public static final KeyAction ALL
      Every operation on the key, including ones this enum does not name. Providers without a single native "everything" permission grant the closest combination their permission model offers.
  • Method Details

    • values

      public static KeyAction[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static KeyAction valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null