Struct: kms.GetParametersForImportOutput
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom
Structure Field Summary collapse
-
ImportToken []byte
The import token to send in a subsequent ImportKeyMaterial request.
-
KeyId *string
The Amazon Resource Name (key ARN (docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN)) of the KMS key to use in a subsequent ImportKeyMaterial request.
-
ParametersValidTo *time.Time
The time at which the import token and public key are no longer valid.
-
PublicKey []byte
The public key to use to encrypt the key material before importing it with ImportKeyMaterial.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetImportToken([]byte) *GetParametersForImportOutput
operation
SetImportToken sets the ImportToken field's value.
-
SetKeyId(string) *GetParametersForImportOutput
operation
SetKeyId sets the KeyId field's value.
-
SetParametersValidTo(time.Time) *GetParametersForImportOutput
operation
SetParametersValidTo sets the ParametersValidTo field's value.
-
SetPublicKey([]byte) *GetParametersForImportOutput
operation
SetPublicKey sets the PublicKey field's value.
-
String() string
operation
String returns the string representation.
Structure Field Details
ImportToken []byte
`min:"1" type:"blob"`
The import token to send in a subsequent ImportKeyMaterial request. ImportToken is automatically base64 encoded/decoded by the SDK.
KeyId *string
`min:"1" type:"string"`
The Amazon Resource Name (key ARN (docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN)) of the KMS key to use in a subsequent ImportKeyMaterial request. This is the same KMS key specified in the GetParametersForImport request.
ParametersValidTo *time.Time
`type:"timestamp"`
The time at which the import token and public key are no longer valid. After this time, you cannot use them to make an ImportKeyMaterial request and you must send another GetParametersForImport request to get new ones.
PublicKey []byte
`min:"1" type:"blob" sensitive:"true"`
The public key to use to encrypt the key material before importing it with ImportKeyMaterial.
PublicKey is a sensitive parameter and its value will be replaced with “sensitive” in string returned by GetParametersForImportOutput's String and GoString methods.
PublicKey is automatically base64 encoded/decoded by the SDK.
_ struct{}
`type:"structure"`
Method Details
func (s GetParametersForImportOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.
12661 12662 12663 |
// File 'service/kms/api.go', line 12661
|
func (s *GetParametersForImportOutput) SetImportToken(v []byte) *GetParametersForImportOutput
SetImportToken sets the ImportToken field's value.
12666 12667 12668 12669 |
// File 'service/kms/api.go', line 12666
|
func (s *GetParametersForImportOutput) SetKeyId(v string) *GetParametersForImportOutput
SetKeyId sets the KeyId field's value.
12672 12673 12674 12675 |
// File 'service/kms/api.go', line 12672
|
func (s *GetParametersForImportOutput) SetParametersValidTo(v time.Time) *GetParametersForImportOutput
SetParametersValidTo sets the ParametersValidTo field's value.
12678 12679 12680 12681 |
// File 'service/kms/api.go', line 12678
|
func (s *GetParametersForImportOutput) SetPublicKey(v []byte) *GetParametersForImportOutput
SetPublicKey sets the PublicKey field's value.
12684 12685 12686 12687 |
// File 'service/kms/api.go', line 12684
|
func (s GetParametersForImportOutput) String() string
String returns the string representation.
API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.
12652 12653 12654 |
// File 'service/kms/api.go', line 12652
|