Key

class Key : KotlinCustomResource

Creates a ServiceAccountKey. Auto-naming is currently not supported for this resource.

Properties

Link copied to clipboard
val disabled: Output<Boolean>

The key status.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val keyAlgorithm: Output<String>

Specifies the algorithm (and possibly key size) for the key.

Link copied to clipboard
val keyOrigin: Output<String>

The key origin.

Link copied to clipboard
val keyType: Output<String>

The key type.

Link copied to clipboard
val name: Output<String>

The resource name of the service account key in the following format projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}.

Link copied to clipboard
val privateKeyData: Output<String>

The private key data. Only provided in CreateServiceAccountKey responses. Make sure to keep the private key data secure because it allows for the assertion of the service account identity. When base64 decoded, the private key data can be used to authenticate with Google API client libraries and with gcloud auth activate-service-account.

Link copied to clipboard
val privateKeyType: Output<String>

The output format for the private key. Only provided in CreateServiceAccountKey responses, not in GetServiceAccountKey or ListServiceAccountKey responses. Google never exposes system-managed private keys, and never retains user-managed private keys.

Link copied to clipboard
val project: Output<String>
Link copied to clipboard
val publicKeyData: Output<String>

The public key data. Only provided in GetServiceAccountKey responses.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val validAfterTime: Output<String>

The key can be used after this timestamp.

Link copied to clipboard
val validBeforeTime: Output<String>

The key can be used before this timestamp. For system-managed key pairs, this timestamp is the end time for the private key signing operation. The public key could still be used for verification for a few hours after this time.