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< ? tags, Input<String, String> ?>Map< ? tagsAll})String, String> ?> -
Creates a new KeyPairState.
arnARN of the Lightsail key pair.encryptedFingerprintMD5 public key fingerprint for the encrypted private key.encryptedPrivateKeyPrivate key material, base 64 encoded and encrypted with the givenpgpKey. This is only populated when creating a new key andpgpKeyis supplied.fingerprintMD5 public key fingerprint as specified in section 4 of RFC 4716.nameName of the Lightsail Key Pair. If omitted, the provider will assign a random, unique name. Conflicts withnamePrefix.namePrefixCreates a unique name beginning with the specified prefix. Conflicts withname.pgpKeyPGP key to encrypt the resulting private key material. Only used when creating a new key pair.privateKeyPrivate key, base64 encoded. This is only populated when creating a new key, and when nopgpKeyis provided.publicKeyPublic key material. This public key will be imported into Lightsail.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.tagsMap of tags to assign to the resource. To create a key-only tag, use an empty string as the value. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.tagsAllMap of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration 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 andpgpKeyis 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
pgpKeyis 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
-
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
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration 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