Interface ServiceAccountKeyConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,com.hashicorp.cdktf.TerraformMetaArguments
- All Known Implementing Classes:
ServiceAccountKeyConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:22.720Z") @Stability(Stable) public interface ServiceAccountKeyConfig extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classServiceAccountKeyConfig.BuilderA builder forServiceAccountKeyConfigstatic classServiceAccountKeyConfig.Jsii$ProxyAn implementation forServiceAccountKeyConfig
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ServiceAccountKeyConfig.Builderbuilder()default StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_account_key#id ServiceAccountKey#id}.default Map<String,String>getKeepers()Arbitrary map of values that, when changed, will trigger recreation of resource.default StringgetKeyAlgorithm()The algorithm used to generate the key, used only on create.default StringgetPrivateKeyType()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_account_key#private_key_type ServiceAccountKey#private_key_type}.default StringgetPublicKeyData()A field that allows clients to upload their own public key.default StringgetPublicKeyType()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_account_key#public_key_type ServiceAccountKey#public_key_type}.StringgetServiceAccountId()The ID of the parent service account of the key.
-
-
-
Method Detail
-
getServiceAccountId
@Stability(Stable) @NotNull String getServiceAccountId()
The ID of the parent service account of the key.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 provider's configuration. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_account_key#service_account_id ServiceAccountKey#service_account_id}
-
getId
@Stability(Stable) @Nullable default String getId()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_account_key#id ServiceAccountKey#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
-
getKeepers
@Stability(Stable) @Nullable default Map<String,String> getKeepers()
Arbitrary map of values that, when changed, will trigger recreation of resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_account_key#keepers ServiceAccountKey#keepers}
-
getKeyAlgorithm
@Stability(Stable) @Nullable default String getKeyAlgorithm()
The algorithm used to generate the key, used only on create.KEY_ALG_RSA_2048 is the default algorithm. Valid values are: "KEY_ALG_RSA_1024", "KEY_ALG_RSA_2048". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_account_key#key_algorithm ServiceAccountKey#key_algorithm}
-
getPrivateKeyType
@Stability(Stable) @Nullable default String getPrivateKeyType()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_account_key#private_key_type ServiceAccountKey#private_key_type}.
-
getPublicKeyData
@Stability(Stable) @Nullable default String getPublicKeyData()
A field that allows clients to upload their own public key.If set, use this public key data to create a service account key for given service account. Please note, the expected format for this field is a base64 encoded X509_PEM. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_account_key#public_key_data ServiceAccountKey#public_key_data}
-
getPublicKeyType
@Stability(Stable) @Nullable default String getPublicKeyType()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_account_key#public_key_type ServiceAccountKey#public_key_type}.
-
builder
@Stability(Stable) static ServiceAccountKeyConfig.Builder builder()
- Returns:
- a
ServiceAccountKeyConfig.BuilderofServiceAccountKeyConfig
-
-