AccessKeyState constructor

const AccessKeyState({
  1. Input<String?>? createDate,
  2. Input<String?>? encryptedSecret,
  3. Input<String?>? encryptedSesSmtpPasswordV4,
  4. Input<String?>? keyFingerprint,
  5. Input<String?>? pgpKey,
  6. Input<String?>? secret,
  7. Input<String?>? sesSmtpPasswordV4,
  8. Input<String?>? status,
  9. Input<String?>? user,
})

Creates a new AccessKeyState. createDate Date and time in RFC3339 format that the access key was created. encryptedSecret Encrypted secret, base64 encoded, if pgpKey was specified. This attribute is not available for imported resources. The encrypted secret may be decrypted using the command line. encryptedSesSmtpPasswordV4 Encrypted SES SMTP password, base64 encoded, if pgpKey was specified. This attribute is not available for imported resources. The encrypted password may be decrypted using the command line. keyFingerprint Fingerprint of the PGP key used to encrypt the secret. This attribute is not available for imported resources. pgpKey Either a base-64 encoded PGP public key, or a keybase username in the form keybase:some_person_that_exists, for use in the encryptedSecret output attribute. If providing a base-64 encoded PGP public key, make sure to provide the "raw" version and not the "armored" one (e.g. avoid passing the -a option to gpg --export). secret Secret access key. This attribute is not available for imported resources. Note that this will be written to the state file. If you use this, please protect your backend state file judiciously. Alternatively, you may supply a pgpKey instead, which will prevent the secret from being stored in plaintext, at the cost of preventing the use of the secret key in automation. sesSmtpPasswordV4 Secret access key converted into an SES SMTP password by applying AWS's documented Sigv4 conversion algorithm. This attribute is not available for imported resources. As SigV4 is region specific, valid Provider regions are ap-south-1, ap-southeast-2, eu-central-1, eu-west-1, us-east-1 and us-west-2. See current AWS SES regions. status Access key status to apply. Defaults to Active. Valid values are Active and Inactive. user IAM user to associate with this access key.

Implementation

const AccessKeyState({
  this.createDate,
  this.encryptedSecret,
  this.encryptedSesSmtpPasswordV4,
  this.keyFingerprint,
  this.pgpKey,
  this.secret,
  this.sesSmtpPasswordV4,
  this.status,
  this.user,
});