Class PrivateKeyState
Inherited Members
Namespace: Pulumi.Tls
Assembly: Pulumi.Tls.dll
Syntax
public sealed class PrivateKeyState : ResourceArgs
Constructors
View SourcePrivateKeyState()
Declaration
public PrivateKeyState()
Properties
View SourceAlgorithm
The name of the algorithm to use for the key. Currently-supported values are "RSA" and "ECDSA".
Declaration
public Input<string> Algorithm { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
EcdsaCurve
When algorithm is "ECDSA", the name of the elliptic
curve to use. May be any one of "P224", "P256", "P384" or "P521", with "P224" as the
default.
Declaration
public Input<string> EcdsaCurve { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PrivateKeyPem
The private key data in PEM format.
Declaration
public Input<string> PrivateKeyPem { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PublicKeyFingerprintMd5
The md5 hash 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, as per the rules for
public_key_openssh.
Declaration
public Input<string> PublicKeyFingerprintMd5 { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PublicKeyOpenssh
The public key data in OpenSSH authorized_keys
format, if the selected private key format is compatible. All RSA keys
are supported, and ECDSA keys with curves "P256", "P384" and "P521"
are supported. This attribute is empty if an incompatible ECDSA curve
is selected.
Declaration
public Input<string> PublicKeyOpenssh { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PublicKeyPem
The public key data in PEM format.
Declaration
public Input<string> PublicKeyPem { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RsaBits
When algorithm is "RSA", the size of the generated
RSA key in bits. Defaults to 2048.
Declaration
public Input<int> RsaBits { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |