Enum Class KeyAction
- All Implemented Interfaces:
Serializable,Comparable<KeyAction>,Constable
Portable permissions that a
KeyGrant can give on a key.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEvery operation on the key, including ones this enum does not name.Starting import sessions and importing key material into the key.Full administrative access as the provider defines a key administrator: changing the key's policy, lifecycle state and tags, and scheduling its deletion.Reading and replacing the key's access policy.Enabling and disabling the key.Adding and removing the key's tags.Replicating the key to other regions and changing which replica is primary. -
Method Summary
-
Enum Constant Details
-
ENCRYPT
-
DECRYPT
-
GENERATE_DATA_KEY
-
CREATE_GRANT
-
REENCRYPT
-
SIGN
-
VERIFY
-
DESCRIBE
-
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
Enabling and disabling the key. -
MANAGE_POLICY
Reading and replacing the key's access policy. -
MANAGE_TAGS
Adding and removing the key's tags. -
IMPORT_KEY_MATERIAL
Starting import sessions and importing key material into the key. -
REPLICATE
Replicating the key to other regions and changing which replica is primary. -
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
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
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 nameNullPointerException- if the argument is null
-