KeyPairState class

Input properties used for looking up and filtering KeyPair resources.

Constructors

KeyPairState({Input<String?>? arn, Input<String?>? encryptedFingerprint, Input<String?>? encryptedPrivateKey, Input<String?>? fingerprint, Input<String?>? name, Input<String?>? namePrefix, Input<String?>? pgpKey, Input<String?>? privateKey, Input<String?>? publicKey, Input<String?>? region, Input<Map<String, String>?>? tags, Input<Map<String, String>?>? tagsAll})
Creates a new KeyPairState. arn ARN of the Lightsail key pair. encryptedFingerprint MD5 public key fingerprint for the encrypted private key. encryptedPrivateKey Private key material, base 64 encoded and encrypted with the given pgpKey. This is only populated when creating a new key and pgpKey is supplied. fingerprint MD5 public key fingerprint as specified in section 4 of RFC 4716. name Name of the Lightsail Key Pair. If omitted, the provider will assign a random, unique name. Conflicts with namePrefix. namePrefix Creates a unique name beginning with the specified prefix. Conflicts with name. pgpKey PGP key to encrypt the resulting private key material. Only used when creating a new key pair. privateKey Private key, base64 encoded. This is only populated when creating a new key, and when no pgpKey is provided. publicKey Public key material. This public key will be imported into Lightsail. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. tags Map of tags to assign to the resource. To create a key-only tag, use an empty string as the value. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
const
KeyPairState.fromMap(Map<String, dynamic> map)
factory

Properties

arn → Input<String?>?
ARN of the Lightsail key pair.
final
encryptedFingerprint → Input<String?>?
MD5 public key fingerprint for the encrypted private key.
final
encryptedPrivateKey → Input<String?>?
Private key material, base 64 encoded and encrypted with the given pgpKey. This is only populated when creating a new key and pgpKey is supplied.
final
fingerprint → Input<String?>?
MD5 public key fingerprint as specified in section 4 of RFC 4716.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String?>?
Name of the Lightsail Key Pair. If omitted, the provider will assign a random, unique name. Conflicts with namePrefix.
final
namePrefix → Input<String?>?
Creates a unique name beginning with the specified prefix. Conflicts with name.
final
pgpKey → Input<String?>?
PGP key to encrypt the resulting private key material. Only used when creating a new key pair.
final
privateKey → Input<String?>?
Private key, base64 encoded. This is only populated when creating a new key, and when no pgpKey is provided.
final
publicKey → Input<String?>?
Public key material. This public key will be imported into Lightsail.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags → Input<Map<String, String>?>?
Map of tags to assign to the resource. To create a key-only tag, use an empty string as the value. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final
tagsAll → Input<Map<String, String>?>?
Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited