PrivateKeyState class
Input properties used for looking up and filtering PrivateKey resources.
Constructors
-
PrivateKeyState({Input<
String?> ? algorithm, Input<String?> ? ecdsaCurve, Input<String?> ? privateKeyOpenssh, Input<String?> ? privateKeyPem, Input<String?> ? privateKeyPemPkcs8, Input<String?> ? publicKeyFingerprintMd5, Input<String?> ? publicKeyFingerprintSha256, Input<String?> ? publicKeyOpenssh, Input<String?> ? publicKeyPem, Input<int?> ? rsaBits}) -
Creates a new PrivateKeyState.
algorithmName of the algorithm to use when generating the private key. Currently-supported values are:RSA,ECDSA,ED25519.ecdsaCurveWhenalgorithmisECDSA, the name of the elliptic curve to use. Currently-supported values are:P224,P256,P384,P521. (default:P224).privateKeyOpensshPrivate key data in OpenSSH PEM (RFC 4716) format.privateKeyPemPrivate key data in PEM (RFC 1421) format.privateKeyPemPkcs8Private key data in PKCS#8 PEM (RFC 5208) format.publicKeyFingerprintMd5The fingerprint of the public key data in OpenSSH MD5 hash format, e.g.aa:bb:cc:.... Only available if the selected private key format is compatible, similarly topublicKeyOpensshand the ECDSA P224 limitations.publicKeyFingerprintSha256The fingerprint of the public key data in OpenSSH SHA256 hash format, e.g.SHA256:.... Only available if the selected private key format is compatible, similarly topublicKeyOpensshand the ECDSA P224 limitations.publicKeyOpensshThe public key data in "Authorized Keys" format. This is not populated forECDSAwith curveP224, as it is not supported. NOTE: the underlying libraries that generate this value append a\nat the end of the PEM. In case this disrupts your use case, we recommend usingtrimspace().publicKeyPemPublic key data in PEM (RFC 1421) format. NOTE: the underlying libraries that generate this value append a\nat the end of the PEM. In case this disrupts your use case, we recommend usingtrimspace().rsaBitsWhenalgorithmisRSA, the size of the generated RSA key, in bits (default:2048).const -
PrivateKeyState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
algorithm
→ Input<
String?> ? -
Name of the algorithm to use when generating the private key. Currently-supported values are:
RSA,ECDSA,ED25519.final -
ecdsaCurve
→ Input<
String?> ? -
When
algorithmisECDSA, the name of the elliptic curve to use. Currently-supported values are:P224,P256,P384,P521. (default:P224).final - hashCode → int
-
The hash code for this object.
no setterinherited
-
privateKeyOpenssh
→ Input<
String?> ? -
Private key data in OpenSSH PEM (RFC 4716) format.
final
-
privateKeyPem
→ Input<
String?> ? -
Private key data in PEM (RFC 1421) format.
final
-
privateKeyPemPkcs8
→ Input<
String?> ? -
Private key data in PKCS#8 PEM (RFC 5208) format.
final
-
publicKeyFingerprintMd5
→ Input<
String?> ? -
The fingerprint of the public key data in OpenSSH MD5 hash format, e.g.
aa:bb:cc:.... Only available if the selected private key format is compatible, similarly topublicKeyOpensshand the ECDSA P224 limitations.final -
publicKeyFingerprintSha256
→ Input<
String?> ? -
The fingerprint of the public key data in OpenSSH SHA256 hash format, e.g.
SHA256:.... Only available if the selected private key format is compatible, similarly topublicKeyOpensshand the ECDSA P224 limitations.final -
publicKeyOpenssh
→ Input<
String?> ? -
The public key data in "Authorized Keys" format. This is not populated for
ECDSAwith curveP224, as it is not supported. NOTE: the underlying libraries that generate this value append a\nat the end of the PEM. In case this disrupts your use case, we recommend usingtrimspace().final -
publicKeyPem
→ Input<
String?> ? -
Public key data in PEM (RFC 1421) format. NOTE: the underlying libraries that generate this value append a
\nat the end of the PEM. In case this disrupts your use case, we recommend usingtrimspace().final -
rsaBits
→ Input<
int?> ? -
When
algorithmisRSA, the size of the generated RSA key, in bits (default:2048).final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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