AWSKMSGrantListEntry

@interface AWSKMSGrantListEntry

Contains information about a grant.

  • A list of key-value pairs that must be present in the encryption context of certain subsequent operations that the grant allows.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSKMSGrantConstraints *_Nullable constraints;

    Swift

    var constraints: AWSKMSGrantConstraints? { get set }
  • The date and time when the grant was created.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable creationDate;

    Swift

    var creationDate: Date? { get set }
  • The unique identifier for the grant.

    Declaration

    Objective-C

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

    Swift

    var grantId: String? { get set }
  • The identity that gets the permissions in the grant.

    The GranteePrincipal field in the ListGrants response usually contains the user or role designated as the grantee principal in the grant. However, when the grantee principal in the grant is an AWS service, the GranteePrincipal field contains the service principal, which might represent several different grantee principals.

    Declaration

    Objective-C

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

    Swift

    var granteePrincipal: String? { get set }
  • The AWS account under which the grant was issued.

    Declaration

    Objective-C

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

    Swift

    var issuingAccount: String? { get set }
  • The unique identifier for the customer master key (CMK) to which the grant applies.

    Declaration

    Objective-C

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

    Swift

    var keyId: String? { get set }
  • The friendly name that identifies the grant. If a name was provided in the CreateGrant request, that name is returned. Otherwise this value is null.

    Declaration

    Objective-C

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

    Swift

    var name: String? { get set }
  • The list of operations permitted by the grant.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable operations;

    Swift

    var operations: [String]? { get set }
  • The principal that can retire the grant.

    Declaration

    Objective-C

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

    Swift

    var retiringPrincipal: String? { get set }