keyOrigin (property)

The origin of the CMK's key material.

Syntax

- (int)keyOrigin:(int)keyIndex;

/* Possible Values */
AKO_KMS(0),
AKO_EXTERNAL(1),
AKO_CLOUD_HSM(2)
public func keyOrigin(keyIndex: Int32) throws -> AmazonkmsKeyOrigins
public enum AmazonkmsKeyOrigins : Int32 { case akoKMS = 0 case akoExternal = 1 case akoCloudHSM = 2 }

Default Value

0

Remarks

The origin of the CMK's key material.

This property reflects the origin of the CMK's key material. Possible values are:

  • akoKMS (0): Key material from Amazon KMS. (Also the default value used when ListKeys is called.)
  • akoExternal (1): External key material imported into Amazon KMS.
  • akoCloudHSM (2): Key material from an Amazon CloudHSM cluster.

The KeyIndex parameter specifies the index of the item in the array. The size of the array is controlled by the KeyCount property.

This property is read-only.

Copyright (c) 2022 /n software inc. - All rights reserved.
Cloud Keys 2020 iOS Edition - Version 20.0 [Build 8157]