published on Monday, Apr 27, 2026 by akeyless-community
published on Monday, Apr 27, 2026 by akeyless-community
Google Trust Target resource
Create TargetGoogleTrust Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TargetGoogleTrust(name: string, args: TargetGoogleTrustArgs, opts?: CustomResourceOptions);@overload
def TargetGoogleTrust(resource_name: str,
args: TargetGoogleTrustArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TargetGoogleTrust(resource_name: str,
opts: Optional[ResourceOptions] = None,
email: Optional[str] = None,
hosted_zone: Optional[str] = None,
max_versions: Optional[str] = None,
eab_hmac_key: Optional[str] = None,
eab_key_id: Optional[str] = None,
description: Optional[str] = None,
gcp_project: Optional[str] = None,
dns_target_creds: Optional[str] = None,
keep_prev_version: Optional[str] = None,
google_trust_url: Optional[str] = None,
key: Optional[str] = None,
acme_challenge: Optional[str] = None,
name: Optional[str] = None,
resource_group: Optional[str] = None,
target_google_trust_id: Optional[str] = None,
timeout: Optional[str] = None)func NewTargetGoogleTrust(ctx *Context, name string, args TargetGoogleTrustArgs, opts ...ResourceOption) (*TargetGoogleTrust, error)public TargetGoogleTrust(string name, TargetGoogleTrustArgs args, CustomResourceOptions? opts = null)
public TargetGoogleTrust(String name, TargetGoogleTrustArgs args)
public TargetGoogleTrust(String name, TargetGoogleTrustArgs args, CustomResourceOptions options)
type: akeyless:TargetGoogleTrust
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TargetGoogleTrustArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TargetGoogleTrustArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TargetGoogleTrustArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TargetGoogleTrustArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TargetGoogleTrustArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var targetGoogleTrustResource = new Akeyless.TargetGoogleTrust("targetGoogleTrustResource", new()
{
Email = "string",
HostedZone = "string",
MaxVersions = "string",
EabHmacKey = "string",
EabKeyId = "string",
Description = "string",
GcpProject = "string",
DnsTargetCreds = "string",
KeepPrevVersion = "string",
GoogleTrustUrl = "string",
Key = "string",
AcmeChallenge = "string",
Name = "string",
ResourceGroup = "string",
TargetGoogleTrustId = "string",
Timeout = "string",
});
example, err := akeyless.NewTargetGoogleTrust(ctx, "targetGoogleTrustResource", &akeyless.TargetGoogleTrustArgs{
Email: pulumi.String("string"),
HostedZone: pulumi.String("string"),
MaxVersions: pulumi.String("string"),
EabHmacKey: pulumi.String("string"),
EabKeyId: pulumi.String("string"),
Description: pulumi.String("string"),
GcpProject: pulumi.String("string"),
DnsTargetCreds: pulumi.String("string"),
KeepPrevVersion: pulumi.String("string"),
GoogleTrustUrl: pulumi.String("string"),
Key: pulumi.String("string"),
AcmeChallenge: pulumi.String("string"),
Name: pulumi.String("string"),
ResourceGroup: pulumi.String("string"),
TargetGoogleTrustId: pulumi.String("string"),
Timeout: pulumi.String("string"),
})
var targetGoogleTrustResource = new TargetGoogleTrust("targetGoogleTrustResource", TargetGoogleTrustArgs.builder()
.email("string")
.hostedZone("string")
.maxVersions("string")
.eabHmacKey("string")
.eabKeyId("string")
.description("string")
.gcpProject("string")
.dnsTargetCreds("string")
.keepPrevVersion("string")
.googleTrustUrl("string")
.key("string")
.acmeChallenge("string")
.name("string")
.resourceGroup("string")
.targetGoogleTrustId("string")
.timeout("string")
.build());
target_google_trust_resource = akeyless.TargetGoogleTrust("targetGoogleTrustResource",
email="string",
hosted_zone="string",
max_versions="string",
eab_hmac_key="string",
eab_key_id="string",
description="string",
gcp_project="string",
dns_target_creds="string",
keep_prev_version="string",
google_trust_url="string",
key="string",
acme_challenge="string",
name="string",
resource_group="string",
target_google_trust_id="string",
timeout="string")
const targetGoogleTrustResource = new akeyless.TargetGoogleTrust("targetGoogleTrustResource", {
email: "string",
hostedZone: "string",
maxVersions: "string",
eabHmacKey: "string",
eabKeyId: "string",
description: "string",
gcpProject: "string",
dnsTargetCreds: "string",
keepPrevVersion: "string",
googleTrustUrl: "string",
key: "string",
acmeChallenge: "string",
name: "string",
resourceGroup: "string",
targetGoogleTrustId: "string",
timeout: "string",
});
type: akeyless:TargetGoogleTrust
properties:
acmeChallenge: string
description: string
dnsTargetCreds: string
eabHmacKey: string
eabKeyId: string
email: string
gcpProject: string
googleTrustUrl: string
hostedZone: string
keepPrevVersion: string
key: string
maxVersions: string
name: string
resourceGroup: string
targetGoogleTrustId: string
timeout: string
TargetGoogleTrust Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TargetGoogleTrust resource accepts the following input properties:
- Email string
- Email address for ACME account registration
- Acme
Challenge string - ACME challenge type. Options: [dns]
- Description string
- Description of the object
- Dns
Target stringCreds - Name of existing cloud target for DNS credentials. Required when challenge type is dns. Supported providers: AWS, Azure, GCP
- Eab
Hmac stringKey - External Account Binding HMAC key (required for ACME account bootstrap on create)
- Eab
Key stringId - External Account Binding key identifier (required for ACME account bootstrap on create)
- Gcp
Project string - GCP Cloud DNS project ID. Optional and can be derived from service account
- Google
Trust stringUrl - Google Trust directory environment. Options: [production/staging]
- Hosted
Zone string - AWS Route53 hosted zone ID. Required when DNS credentials target is AWS
- Keep
Prev stringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- Key string
- The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
- Max
Versions string - Set the maximum number of versions, limited by the account settings defaults.
- Name string
- Target name
- Resource
Group string - Azure resource group name. Required when DNS credentials target is Azure
- Target
Google stringTrust Id - The ID of this resource.
- Timeout string
- Timeout for challenge validation
- Email string
- Email address for ACME account registration
- Acme
Challenge string - ACME challenge type. Options: [dns]
- Description string
- Description of the object
- Dns
Target stringCreds - Name of existing cloud target for DNS credentials. Required when challenge type is dns. Supported providers: AWS, Azure, GCP
- Eab
Hmac stringKey - External Account Binding HMAC key (required for ACME account bootstrap on create)
- Eab
Key stringId - External Account Binding key identifier (required for ACME account bootstrap on create)
- Gcp
Project string - GCP Cloud DNS project ID. Optional and can be derived from service account
- Google
Trust stringUrl - Google Trust directory environment. Options: [production/staging]
- Hosted
Zone string - AWS Route53 hosted zone ID. Required when DNS credentials target is AWS
- Keep
Prev stringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- Key string
- The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
- Max
Versions string - Set the maximum number of versions, limited by the account settings defaults.
- Name string
- Target name
- Resource
Group string - Azure resource group name. Required when DNS credentials target is Azure
- Target
Google stringTrust Id - The ID of this resource.
- Timeout string
- Timeout for challenge validation
- email String
- Email address for ACME account registration
- acme
Challenge String - ACME challenge type. Options: [dns]
- description String
- Description of the object
- dns
Target StringCreds - Name of existing cloud target for DNS credentials. Required when challenge type is dns. Supported providers: AWS, Azure, GCP
- eab
Hmac StringKey - External Account Binding HMAC key (required for ACME account bootstrap on create)
- eab
Key StringId - External Account Binding key identifier (required for ACME account bootstrap on create)
- gcp
Project String - GCP Cloud DNS project ID. Optional and can be derived from service account
- google
Trust StringUrl - Google Trust directory environment. Options: [production/staging]
- hosted
Zone String - AWS Route53 hosted zone ID. Required when DNS credentials target is AWS
- keep
Prev StringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- key String
- The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
- max
Versions String - Set the maximum number of versions, limited by the account settings defaults.
- name String
- Target name
- resource
Group String - Azure resource group name. Required when DNS credentials target is Azure
- target
Google StringTrust Id - The ID of this resource.
- timeout String
- Timeout for challenge validation
- email string
- Email address for ACME account registration
- acme
Challenge string - ACME challenge type. Options: [dns]
- description string
- Description of the object
- dns
Target stringCreds - Name of existing cloud target for DNS credentials. Required when challenge type is dns. Supported providers: AWS, Azure, GCP
- eab
Hmac stringKey - External Account Binding HMAC key (required for ACME account bootstrap on create)
- eab
Key stringId - External Account Binding key identifier (required for ACME account bootstrap on create)
- gcp
Project string - GCP Cloud DNS project ID. Optional and can be derived from service account
- google
Trust stringUrl - Google Trust directory environment. Options: [production/staging]
- hosted
Zone string - AWS Route53 hosted zone ID. Required when DNS credentials target is AWS
- keep
Prev stringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- key string
- The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
- max
Versions string - Set the maximum number of versions, limited by the account settings defaults.
- name string
- Target name
- resource
Group string - Azure resource group name. Required when DNS credentials target is Azure
- target
Google stringTrust Id - The ID of this resource.
- timeout string
- Timeout for challenge validation
- email str
- Email address for ACME account registration
- acme_
challenge str - ACME challenge type. Options: [dns]
- description str
- Description of the object
- dns_
target_ strcreds - Name of existing cloud target for DNS credentials. Required when challenge type is dns. Supported providers: AWS, Azure, GCP
- eab_
hmac_ strkey - External Account Binding HMAC key (required for ACME account bootstrap on create)
- eab_
key_ strid - External Account Binding key identifier (required for ACME account bootstrap on create)
- gcp_
project str - GCP Cloud DNS project ID. Optional and can be derived from service account
- google_
trust_ strurl - Google Trust directory environment. Options: [production/staging]
- hosted_
zone str - AWS Route53 hosted zone ID. Required when DNS credentials target is AWS
- keep_
prev_ strversion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- key str
- The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
- max_
versions str - Set the maximum number of versions, limited by the account settings defaults.
- name str
- Target name
- resource_
group str - Azure resource group name. Required when DNS credentials target is Azure
- target_
google_ strtrust_ id - The ID of this resource.
- timeout str
- Timeout for challenge validation
- email String
- Email address for ACME account registration
- acme
Challenge String - ACME challenge type. Options: [dns]
- description String
- Description of the object
- dns
Target StringCreds - Name of existing cloud target for DNS credentials. Required when challenge type is dns. Supported providers: AWS, Azure, GCP
- eab
Hmac StringKey - External Account Binding HMAC key (required for ACME account bootstrap on create)
- eab
Key StringId - External Account Binding key identifier (required for ACME account bootstrap on create)
- gcp
Project String - GCP Cloud DNS project ID. Optional and can be derived from service account
- google
Trust StringUrl - Google Trust directory environment. Options: [production/staging]
- hosted
Zone String - AWS Route53 hosted zone ID. Required when DNS credentials target is AWS
- keep
Prev StringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- key String
- The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
- max
Versions String - Set the maximum number of versions, limited by the account settings defaults.
- name String
- Target name
- resource
Group String - Azure resource group name. Required when DNS credentials target is Azure
- target
Google StringTrust Id - The ID of this resource.
- timeout String
- Timeout for challenge validation
Outputs
All input properties are implicitly available as output properties. Additionally, the TargetGoogleTrust resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing TargetGoogleTrust Resource
Get an existing TargetGoogleTrust resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TargetGoogleTrustState, opts?: CustomResourceOptions): TargetGoogleTrust@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
acme_challenge: Optional[str] = None,
description: Optional[str] = None,
dns_target_creds: Optional[str] = None,
eab_hmac_key: Optional[str] = None,
eab_key_id: Optional[str] = None,
email: Optional[str] = None,
gcp_project: Optional[str] = None,
google_trust_url: Optional[str] = None,
hosted_zone: Optional[str] = None,
keep_prev_version: Optional[str] = None,
key: Optional[str] = None,
max_versions: Optional[str] = None,
name: Optional[str] = None,
resource_group: Optional[str] = None,
target_google_trust_id: Optional[str] = None,
timeout: Optional[str] = None) -> TargetGoogleTrustfunc GetTargetGoogleTrust(ctx *Context, name string, id IDInput, state *TargetGoogleTrustState, opts ...ResourceOption) (*TargetGoogleTrust, error)public static TargetGoogleTrust Get(string name, Input<string> id, TargetGoogleTrustState? state, CustomResourceOptions? opts = null)public static TargetGoogleTrust get(String name, Output<String> id, TargetGoogleTrustState state, CustomResourceOptions options)resources: _: type: akeyless:TargetGoogleTrust get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Acme
Challenge string - ACME challenge type. Options: [dns]
- Description string
- Description of the object
- Dns
Target stringCreds - Name of existing cloud target for DNS credentials. Required when challenge type is dns. Supported providers: AWS, Azure, GCP
- Eab
Hmac stringKey - External Account Binding HMAC key (required for ACME account bootstrap on create)
- Eab
Key stringId - External Account Binding key identifier (required for ACME account bootstrap on create)
- Email string
- Email address for ACME account registration
- Gcp
Project string - GCP Cloud DNS project ID. Optional and can be derived from service account
- Google
Trust stringUrl - Google Trust directory environment. Options: [production/staging]
- Hosted
Zone string - AWS Route53 hosted zone ID. Required when DNS credentials target is AWS
- Keep
Prev stringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- Key string
- The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
- Max
Versions string - Set the maximum number of versions, limited by the account settings defaults.
- Name string
- Target name
- Resource
Group string - Azure resource group name. Required when DNS credentials target is Azure
- Target
Google stringTrust Id - The ID of this resource.
- Timeout string
- Timeout for challenge validation
- Acme
Challenge string - ACME challenge type. Options: [dns]
- Description string
- Description of the object
- Dns
Target stringCreds - Name of existing cloud target for DNS credentials. Required when challenge type is dns. Supported providers: AWS, Azure, GCP
- Eab
Hmac stringKey - External Account Binding HMAC key (required for ACME account bootstrap on create)
- Eab
Key stringId - External Account Binding key identifier (required for ACME account bootstrap on create)
- Email string
- Email address for ACME account registration
- Gcp
Project string - GCP Cloud DNS project ID. Optional and can be derived from service account
- Google
Trust stringUrl - Google Trust directory environment. Options: [production/staging]
- Hosted
Zone string - AWS Route53 hosted zone ID. Required when DNS credentials target is AWS
- Keep
Prev stringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- Key string
- The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
- Max
Versions string - Set the maximum number of versions, limited by the account settings defaults.
- Name string
- Target name
- Resource
Group string - Azure resource group name. Required when DNS credentials target is Azure
- Target
Google stringTrust Id - The ID of this resource.
- Timeout string
- Timeout for challenge validation
- acme
Challenge String - ACME challenge type. Options: [dns]
- description String
- Description of the object
- dns
Target StringCreds - Name of existing cloud target for DNS credentials. Required when challenge type is dns. Supported providers: AWS, Azure, GCP
- eab
Hmac StringKey - External Account Binding HMAC key (required for ACME account bootstrap on create)
- eab
Key StringId - External Account Binding key identifier (required for ACME account bootstrap on create)
- email String
- Email address for ACME account registration
- gcp
Project String - GCP Cloud DNS project ID. Optional and can be derived from service account
- google
Trust StringUrl - Google Trust directory environment. Options: [production/staging]
- hosted
Zone String - AWS Route53 hosted zone ID. Required when DNS credentials target is AWS
- keep
Prev StringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- key String
- The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
- max
Versions String - Set the maximum number of versions, limited by the account settings defaults.
- name String
- Target name
- resource
Group String - Azure resource group name. Required when DNS credentials target is Azure
- target
Google StringTrust Id - The ID of this resource.
- timeout String
- Timeout for challenge validation
- acme
Challenge string - ACME challenge type. Options: [dns]
- description string
- Description of the object
- dns
Target stringCreds - Name of existing cloud target for DNS credentials. Required when challenge type is dns. Supported providers: AWS, Azure, GCP
- eab
Hmac stringKey - External Account Binding HMAC key (required for ACME account bootstrap on create)
- eab
Key stringId - External Account Binding key identifier (required for ACME account bootstrap on create)
- email string
- Email address for ACME account registration
- gcp
Project string - GCP Cloud DNS project ID. Optional and can be derived from service account
- google
Trust stringUrl - Google Trust directory environment. Options: [production/staging]
- hosted
Zone string - AWS Route53 hosted zone ID. Required when DNS credentials target is AWS
- keep
Prev stringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- key string
- The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
- max
Versions string - Set the maximum number of versions, limited by the account settings defaults.
- name string
- Target name
- resource
Group string - Azure resource group name. Required when DNS credentials target is Azure
- target
Google stringTrust Id - The ID of this resource.
- timeout string
- Timeout for challenge validation
- acme_
challenge str - ACME challenge type. Options: [dns]
- description str
- Description of the object
- dns_
target_ strcreds - Name of existing cloud target for DNS credentials. Required when challenge type is dns. Supported providers: AWS, Azure, GCP
- eab_
hmac_ strkey - External Account Binding HMAC key (required for ACME account bootstrap on create)
- eab_
key_ strid - External Account Binding key identifier (required for ACME account bootstrap on create)
- email str
- Email address for ACME account registration
- gcp_
project str - GCP Cloud DNS project ID. Optional and can be derived from service account
- google_
trust_ strurl - Google Trust directory environment. Options: [production/staging]
- hosted_
zone str - AWS Route53 hosted zone ID. Required when DNS credentials target is AWS
- keep_
prev_ strversion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- key str
- The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
- max_
versions str - Set the maximum number of versions, limited by the account settings defaults.
- name str
- Target name
- resource_
group str - Azure resource group name. Required when DNS credentials target is Azure
- target_
google_ strtrust_ id - The ID of this resource.
- timeout str
- Timeout for challenge validation
- acme
Challenge String - ACME challenge type. Options: [dns]
- description String
- Description of the object
- dns
Target StringCreds - Name of existing cloud target for DNS credentials. Required when challenge type is dns. Supported providers: AWS, Azure, GCP
- eab
Hmac StringKey - External Account Binding HMAC key (required for ACME account bootstrap on create)
- eab
Key StringId - External Account Binding key identifier (required for ACME account bootstrap on create)
- email String
- Email address for ACME account registration
- gcp
Project String - GCP Cloud DNS project ID. Optional and can be derived from service account
- google
Trust StringUrl - Google Trust directory environment. Options: [production/staging]
- hosted
Zone String - AWS Route53 hosted zone ID. Required when DNS credentials target is AWS
- keep
Prev StringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- key String
- The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
- max
Versions String - Set the maximum number of versions, limited by the account settings defaults.
- name String
- Target name
- resource
Group String - Azure resource group name. Required when DNS credentials target is Azure
- target
Google StringTrust Id - The ID of this resource.
- timeout String
- Timeout for challenge validation
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeylessTerraform Provider.
published on Monday, Apr 27, 2026 by akeyless-community
