| 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 key to specify who can use the key and under what
conditions.
|
CreateGrantResult |
AWSKMSClient.createGrant(CreateGrantRequest createGrantRequest)
Adds a grant to a key to specify who can use the key and under what
conditions.
|
| Modifier and Type | Method and Description |
|---|---|
CreateGrantRequest |
CreateGrantRequest.withConstraints(GrantConstraints constraints)
The conditions under which the operations permitted by the grant are
allowed.
|
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 © 2018. All rights reserved.