Show / Hide Table of Contents

Class KeyState

Inheritance
System.Object
InputArgs
ResourceArgs
KeyState
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.Gcp.ServiceAccount
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class KeyState : ResourceArgs

Constructors

View Source

KeyState()

Declaration
public KeyState()

Properties

View Source

KeyAlgorithm

The algorithm used to generate the key. KEY_ALG_RSA_2048 is the default algorithm. Valid values are listed at ServiceAccountPrivateKeyType (only used on create)

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

Name

The name used for this key pair

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

PrivateKey

The private key in JSON format, base64 encoded. This is what you normally get as a file when creating service account keys through the CLI or web console. This is only populated when creating a new key.

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

PrivateKeyType

The output format of the private key. TYPE_GOOGLE_CREDENTIALS_FILE is the default output format.

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

PublicKey

The public key, base64 encoded

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

PublicKeyType

The output format of the public key requested. X509_PEM is the default output format.

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

ServiceAccountId

The Service account id of the Key Pair. This can be a string in the format {ACCOUNT} or projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}, where {ACCOUNT} is the email address or unique id of the service account. If the {ACCOUNT} syntax is used, the project will be inferred from the account.

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

ValidAfter

The key can be used after this timestamp. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

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

ValidBefore

The key can be used before this timestamp. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

Declaration
public Input<string> ValidBefore { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.