| Package | Description |
|---|---|
| com.amazonaws.services.kms |
|
| com.amazonaws.services.kms.model |
Classes modeling the various types represented by AWSKMS
|
| Modifier and Type | Method and Description |
|---|---|
CreateGrantResult |
AWSKMS.createGrant(CreateGrantRequest createGrantRequest)
Adds a grant to a customer master key (CMK).
|
CreateGrantResult |
AWSKMSClient.createGrant(CreateGrantRequest createGrantRequest)
Adds a grant to a customer master key (CMK).
|
| Modifier and Type | Method and Description |
|---|---|
CreateGrantRequest |
CreateGrantRequest.withConstraints(GrantConstraints constraints)
Allows a cryptographic operation only when the encryption context matches
or includes the encryption context specified in this structure.
|
CreateGrantRequest |
CreateGrantRequest.withGranteePrincipal(String granteePrincipal)
The principal that is given permission to perform the operations that the
grant permits.
|
CreateGrantRequest |
CreateGrantRequest.withGrantTokens(Collection<String> grantTokens)
A list of grant tokens.
|
CreateGrantRequest |
CreateGrantRequest.withGrantTokens(String... grantTokens)
A list of grant tokens.
|
CreateGrantRequest |
CreateGrantRequest.withKeyId(String keyId)
The unique identifier for the customer master key (CMK) that the grant
applies to.
|
CreateGrantRequest |
CreateGrantRequest.withName(String name)
A friendly name for identifying the grant.
|
CreateGrantRequest |
CreateGrantRequest.withOperations(Collection<String> operations)
A list of operations that the grant permits.
|
CreateGrantRequest |
CreateGrantRequest.withOperations(String... operations)
A list of operations that the grant permits.
|
CreateGrantRequest |
CreateGrantRequest.withRetiringPrincipal(String retiringPrincipal)
The principal that is given permission to retire the grant by using
RetireGrant operation.
|
Copyright © 2020. All rights reserved.