Show / Hide Table of Contents

Class PrivateKeyState

Inheritance
System.Object
InputArgs
ResourceArgs
PrivateKeyState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Tls
Assembly: Pulumi.Tls.dll
Syntax
public sealed class PrivateKeyState : ResourceArgs

Constructors

View Source

PrivateKeyState()

Declaration
public PrivateKeyState()

Properties

View Source

Algorithm

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>
View Source

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>
View Source

PrivateKeyPem

The private key data in PEM format.

Declaration
public Input<string> PrivateKeyPem { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

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>
View Source

PublicKeyPem

The public key data in PEM format.

Declaration
public Input<string> PublicKeyPem { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.