AwsIamUserAccessKeyMetadata
interface AwsIamUserAccessKeyMetadata {
createDate: Output<string>;
id: Output<string>;
status: Output<string | undefined>;
}Non-secret metadata exposed for a managed IAM user access key.
Remarks
This interface deliberately omits secret values generated by AWS. Use the map key from AwsIamUserResourceArgs.accessKeys to identify each key during rollover workflows.
Example
CODE
const user = new AwsIamUser({
name: 'automationUser',
accessKeys: {
'2026': { status: 'Active' },
},
});
export const accessKey2026Id = user.accessKeys['2026']?.id;Properties
createDate: Output<string>
Access key creation timestamp reported by AWS.
id: Output<string>
Access key id. This is not the secret access key.
status: Output<string | undefined>
Effective access key status. Defaults to Active when omitted.