IKMSCreateGrantRequest
Interface in AWS.KMS
Interface for CreateGrant requests.
Ancestors
Properties
Constraints
property Constraints: IKMSGrantConstraints
Type: IKMSGrantConstraints
Specify a grant constraint.
GranteePrincipal
property GranteePrincipal: string
Specify the identity to grant permissions to.
GrantTokens
property GrantTokens: TList<string>
Specify a list of grant tokens.
KeyId
property KeyId: string
Specify the Amazon Resource Name (ARN) or ID of a KMS key for the grant.
Name
property Name: string
Specify a friendly name for the grant.
Use this value to prevent the unintended creation of duplicate grants when retrying this request.
Operations
property Operations: TList<string>
Specify a list of operations to grant the principal.
Valid values: Decrypt | Encrypt | GenerateDataKey | GenerateDataKeyWithoutPlaintext | ReEncryptFrom | ReEncryptTo | Sign | Verify | GetPublicKey | CreateGrant | RetireGrant | DescribeKey | GenerateDataKeyPair | GenerateDataKeyPairWithoutPlaintext | GenerateMac | VerifyMac.
RetiringPrincipal
property RetiringPrincipal: string
Specify a principal that has permission to use the RetireGrant operation to retire the grant.
Methods
AddGrantToken
function AddGrantToken(const AGrantToken: string): Integer;
Add a token to GrantTokens.
Parameters
| Name | Description |
|---|---|
AGrantToken | Specify a token to add to GrantTokens. |
Returns
Resturns the index of the item added to GrantTokens.