AWSKMSCreateGrantResponse

Objective-C

@interface AWSKMSCreateGrantResponse

Swift

class AWSKMSCreateGrantResponse
  • The unique identifier for the grant.

    You can use the GrantId in a ListGrants, RetireGrant, or RevokeGrant operation.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable grantId;

    Swift

    var grantId: String? { get set }
  • The grant token.

    Use a grant token when your permission to call this operation comes from a new grant that has not yet achieved eventual consistency. For more information, see Grant token and Using a grant token in the Key Management Service Developer Guide.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable grantToken;

    Swift

    var grantToken: String? { get set }