1. Registry
  2. Packages
  3. Akeyless Provider
  4. API Docs
  5. DynamicSecretGcp
Viewing docs for akeyless 2.1.0
published on Thursday, Nov 19, 2026 by akeyless-community
akeyless
Viewing docs for akeyless 2.1.0
published on Thursday, Nov 19, 2026 by akeyless-community

    Google Cloud Provider (GCP) dynamic secret resource

    Create DynamicSecretGcp Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DynamicSecretGcp(name: string, args?: DynamicSecretGcpArgs, opts?: CustomResourceOptions);
    @overload
    def DynamicSecretGcp(resource_name: str,
                         args: Optional[DynamicSecretGcpArgs] = None,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def DynamicSecretGcp(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         access_type: Optional[str] = None,
                         ara_enabled: Optional[bool] = None,
                         custom_username_template: Optional[str] = None,
                         delete_protection: Optional[str] = None,
                         description: Optional[str] = None,
                         dynamic_secret_gcp_id: Optional[str] = None,
                         enable_agentic_runtime_authority: Optional[bool] = None,
                         enable_ai_quorum: Optional[bool] = None,
                         encryption_key_name: Optional[str] = None,
                         fixed_user_claim_keyname: Optional[str] = None,
                         gcp_cred_type: Optional[str] = None,
                         gcp_key: Optional[str] = None,
                         gcp_key_algo: Optional[str] = None,
                         gcp_project_id: Optional[str] = None,
                         gcp_sa_email: Optional[str] = None,
                         gcp_token_scopes: Optional[str] = None,
                         item_custom_fields: Optional[Mapping[str, str]] = None,
                         name: Optional[str] = None,
                         project_id: Optional[str] = None,
                         retry: Optional[DynamicSecretGcpRetryArgs] = None,
                         role_binding: Optional[str] = None,
                         role_names: Optional[str] = None,
                         secure_access_delay: Optional[float] = None,
                         secure_access_enable: Optional[str] = None,
                         secure_access_url: Optional[str] = None,
                         secure_access_web_browsing: Optional[bool] = None,
                         secure_access_web_proxy: Optional[bool] = None,
                         service_account_type: Optional[str] = None,
                         skip_dry_run: Optional[bool] = None,
                         tags: Optional[Sequence[str]] = None,
                         target_name: Optional[str] = None,
                         user_ttl: Optional[str] = None)
    func NewDynamicSecretGcp(ctx *Context, name string, args *DynamicSecretGcpArgs, opts ...ResourceOption) (*DynamicSecretGcp, error)
    public DynamicSecretGcp(string name, DynamicSecretGcpArgs? args = null, CustomResourceOptions? opts = null)
    public DynamicSecretGcp(String name, DynamicSecretGcpArgs args)
    public DynamicSecretGcp(String name, DynamicSecretGcpArgs args, CustomResourceOptions options)
    
    type: akeyless:DynamicSecretGcp
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "akeyless_dynamic_secret_gcp" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DynamicSecretGcpArgs
    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 DynamicSecretGcpArgs
    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 DynamicSecretGcpArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DynamicSecretGcpArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DynamicSecretGcpArgs
    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 dynamicSecretGcpResource = new Akeyless.DynamicSecretGcp("dynamicSecretGcpResource", new()
    {
        AccessType = "string",
        AraEnabled = false,
        CustomUsernameTemplate = "string",
        DeleteProtection = "string",
        Description = "string",
        DynamicSecretGcpId = "string",
        EnableAgenticRuntimeAuthority = false,
        EnableAiQuorum = false,
        EncryptionKeyName = "string",
        FixedUserClaimKeyname = "string",
        GcpCredType = "string",
        GcpKey = "string",
        GcpKeyAlgo = "string",
        GcpProjectId = "string",
        GcpSaEmail = "string",
        GcpTokenScopes = "string",
        ItemCustomFields = 
        {
            { "string", "string" },
        },
        Name = "string",
        ProjectId = "string",
        Retry = new Akeyless.Inputs.DynamicSecretGcpRetryArgs
        {
            ErrorMessageRegexes = new[]
            {
                "string",
            },
            IntervalSeconds = 0.0,
            MaxIntervalSeconds = 0.0,
            MaxRetries = 0.0,
            RetryOnStatusCodes = new[]
            {
                0.0,
            },
        },
        RoleBinding = "string",
        RoleNames = "string",
        SecureAccessDelay = 0.0,
        SecureAccessEnable = "string",
        SecureAccessUrl = "string",
        SecureAccessWebBrowsing = false,
        SecureAccessWebProxy = false,
        ServiceAccountType = "string",
        SkipDryRun = false,
        Tags = new[]
        {
            "string",
        },
        TargetName = "string",
        UserTtl = "string",
    });
    
    example, err := akeyless.NewDynamicSecretGcp(ctx, "dynamicSecretGcpResource", &akeyless.DynamicSecretGcpArgs{
    	AccessType:                    pulumi.String("string"),
    	AraEnabled:                    pulumi.Bool(false),
    	CustomUsernameTemplate:        pulumi.String("string"),
    	DeleteProtection:              pulumi.String("string"),
    	Description:                   pulumi.String("string"),
    	DynamicSecretGcpId:            pulumi.String("string"),
    	EnableAgenticRuntimeAuthority: pulumi.Bool(false),
    	EnableAiQuorum:                pulumi.Bool(false),
    	EncryptionKeyName:             pulumi.String("string"),
    	FixedUserClaimKeyname:         pulumi.String("string"),
    	GcpCredType:                   pulumi.String("string"),
    	GcpKey:                        pulumi.String("string"),
    	GcpKeyAlgo:                    pulumi.String("string"),
    	GcpProjectId:                  pulumi.String("string"),
    	GcpSaEmail:                    pulumi.String("string"),
    	GcpTokenScopes:                pulumi.String("string"),
    	ItemCustomFields: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name:      pulumi.String("string"),
    	ProjectId: pulumi.String("string"),
    	Retry: &akeyless.DynamicSecretGcpRetryArgs{
    		ErrorMessageRegexes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		IntervalSeconds:    pulumi.Float64(0),
    		MaxIntervalSeconds: pulumi.Float64(0),
    		MaxRetries:         pulumi.Float64(0),
    		RetryOnStatusCodes: pulumi.Float64Array{
    			pulumi.Float64(0),
    		},
    	},
    	RoleBinding:             pulumi.String("string"),
    	RoleNames:               pulumi.String("string"),
    	SecureAccessDelay:       pulumi.Float64(0),
    	SecureAccessEnable:      pulumi.String("string"),
    	SecureAccessUrl:         pulumi.String("string"),
    	SecureAccessWebBrowsing: pulumi.Bool(false),
    	SecureAccessWebProxy:    pulumi.Bool(false),
    	ServiceAccountType:      pulumi.String("string"),
    	SkipDryRun:              pulumi.Bool(false),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	TargetName: pulumi.String("string"),
    	UserTtl:    pulumi.String("string"),
    })
    
    resource "akeyless_dynamic_secret_gcp" "dynamicSecretGcpResource" {
      lifecycle {
        create_before_destroy = true
      }
      access_type                      = "string"
      ara_enabled                      = false
      custom_username_template         = "string"
      delete_protection                = "string"
      description                      = "string"
      dynamic_secret_gcp_id            = "string"
      enable_agentic_runtime_authority = false
      enable_ai_quorum                 = false
      encryption_key_name              = "string"
      fixed_user_claim_keyname         = "string"
      gcp_cred_type                    = "string"
      gcp_key                          = "string"
      gcp_key_algo                     = "string"
      gcp_project_id                   = "string"
      gcp_sa_email                     = "string"
      gcp_token_scopes                 = "string"
      item_custom_fields = {
        "string" = "string"
      }
      name       = "string"
      project_id = "string"
      retry = {
        error_message_regexes = ["string"]
        interval_seconds      = 0
        max_interval_seconds  = 0
        max_retries           = 0
        retry_on_status_codes = [0]
      }
      role_binding               = "string"
      role_names                 = "string"
      secure_access_delay        = 0
      secure_access_enable       = "string"
      secure_access_url          = "string"
      secure_access_web_browsing = false
      secure_access_web_proxy    = false
      service_account_type       = "string"
      skip_dry_run               = false
      tags                       = ["string"]
      target_name                = "string"
      user_ttl                   = "string"
    }
    
    var dynamicSecretGcpResource = new DynamicSecretGcp("dynamicSecretGcpResource", DynamicSecretGcpArgs.builder()
        .accessType("string")
        .araEnabled(false)
        .customUsernameTemplate("string")
        .deleteProtection("string")
        .description("string")
        .dynamicSecretGcpId("string")
        .enableAgenticRuntimeAuthority(false)
        .enableAiQuorum(false)
        .encryptionKeyName("string")
        .fixedUserClaimKeyname("string")
        .gcpCredType("string")
        .gcpKey("string")
        .gcpKeyAlgo("string")
        .gcpProjectId("string")
        .gcpSaEmail("string")
        .gcpTokenScopes("string")
        .itemCustomFields(Map.of("string", "string"))
        .name("string")
        .projectId("string")
        .retry(DynamicSecretGcpRetryArgs.builder()
            .errorMessageRegexes("string")
            .intervalSeconds(0.0)
            .maxIntervalSeconds(0.0)
            .maxRetries(0.0)
            .retryOnStatusCodes(0.0)
            .build())
        .roleBinding("string")
        .roleNames("string")
        .secureAccessDelay(0.0)
        .secureAccessEnable("string")
        .secureAccessUrl("string")
        .secureAccessWebBrowsing(false)
        .secureAccessWebProxy(false)
        .serviceAccountType("string")
        .skipDryRun(false)
        .tags("string")
        .targetName("string")
        .userTtl("string")
        .build());
    
    dynamic_secret_gcp_resource = akeyless.DynamicSecretGcp("dynamicSecretGcpResource",
        access_type="string",
        ara_enabled=False,
        custom_username_template="string",
        delete_protection="string",
        description="string",
        dynamic_secret_gcp_id="string",
        enable_agentic_runtime_authority=False,
        enable_ai_quorum=False,
        encryption_key_name="string",
        fixed_user_claim_keyname="string",
        gcp_cred_type="string",
        gcp_key="string",
        gcp_key_algo="string",
        gcp_project_id="string",
        gcp_sa_email="string",
        gcp_token_scopes="string",
        item_custom_fields={
            "string": "string",
        },
        name="string",
        project_id="string",
        retry={
            "error_message_regexes": ["string"],
            "interval_seconds": float(0),
            "max_interval_seconds": float(0),
            "max_retries": float(0),
            "retry_on_status_codes": [float(0)],
        },
        role_binding="string",
        role_names="string",
        secure_access_delay=float(0),
        secure_access_enable="string",
        secure_access_url="string",
        secure_access_web_browsing=False,
        secure_access_web_proxy=False,
        service_account_type="string",
        skip_dry_run=False,
        tags=["string"],
        target_name="string",
        user_ttl="string")
    
    const dynamicSecretGcpResource = new akeyless.DynamicSecretGcp("dynamicSecretGcpResource", {
        accessType: "string",
        araEnabled: false,
        customUsernameTemplate: "string",
        deleteProtection: "string",
        description: "string",
        dynamicSecretGcpId: "string",
        enableAgenticRuntimeAuthority: false,
        enableAiQuorum: false,
        encryptionKeyName: "string",
        fixedUserClaimKeyname: "string",
        gcpCredType: "string",
        gcpKey: "string",
        gcpKeyAlgo: "string",
        gcpProjectId: "string",
        gcpSaEmail: "string",
        gcpTokenScopes: "string",
        itemCustomFields: {
            string: "string",
        },
        name: "string",
        projectId: "string",
        retry: {
            errorMessageRegexes: ["string"],
            intervalSeconds: 0,
            maxIntervalSeconds: 0,
            maxRetries: 0,
            retryOnStatusCodes: [0],
        },
        roleBinding: "string",
        roleNames: "string",
        secureAccessDelay: 0,
        secureAccessEnable: "string",
        secureAccessUrl: "string",
        secureAccessWebBrowsing: false,
        secureAccessWebProxy: false,
        serviceAccountType: "string",
        skipDryRun: false,
        tags: ["string"],
        targetName: "string",
        userTtl: "string",
    });
    
    type: akeyless:DynamicSecretGcp
    properties:
        accessType: string
        araEnabled: false
        customUsernameTemplate: string
        deleteProtection: string
        description: string
        dynamicSecretGcpId: string
        enableAgenticRuntimeAuthority: false
        enableAiQuorum: false
        encryptionKeyName: string
        fixedUserClaimKeyname: string
        gcpCredType: string
        gcpKey: string
        gcpKeyAlgo: string
        gcpProjectId: string
        gcpSaEmail: string
        gcpTokenScopes: string
        itemCustomFields:
            string: string
        name: string
        projectId: string
        retry:
            errorMessageRegexes:
                - string
            intervalSeconds: 0
            maxIntervalSeconds: 0
            maxRetries: 0
            retryOnStatusCodes:
                - 0
        roleBinding: string
        roleNames: string
        secureAccessDelay: 0
        secureAccessEnable: string
        secureAccessUrl: string
        secureAccessWebBrowsing: false
        secureAccessWebProxy: false
        serviceAccountType: string
        skipDryRun: false
        tags:
            - string
        targetName: string
        userTtl: string
    

    DynamicSecretGcp 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 DynamicSecretGcp resource accepts the following input properties:

    AccessType string
    The type of the GCP dynamic secret, options are [sa, external]
    AraEnabled bool
    Enable Agentic Runtime Authority
    CustomUsernameTemplate string
    Customize how temporary usernames are generated using go template
    DeleteProtection string
    Protection from accidental deletion of this object [true/false]
    Description string
    Description of the object
    DynamicSecretGcpId string
    The ID of this resource.
    EnableAgenticRuntimeAuthority bool
    Enable Agentic Runtime Authority
    EnableAiQuorum bool
    Enable AI Quorum
    EncryptionKeyName string
    Dynamic producer encryption key
    FixedUserClaimKeyname string
    For externally provided users, denotes the key-name of IdP claim to extract the username from (Relevant only when --access-type=external)
    GcpCredType string
    Credentials type, options are [token, key]
    GcpKey string
    Base64-encoded service account private key text
    GcpKeyAlgo string
    Service account key algorithm, e.g. KEYALGRSA_1024 (Relevant only when --access-type=sa and --gcp-cred-type=key)
    GcpProjectId string
    GCP Project ID override for dynamic secret operations
    GcpSaEmail string
    The email of the fixed service account to generate keys or tokens for (Relevant only when --access-type=sa and --service-account-type=fixed)
    GcpTokenScopes string
    Access token scopes list, e.g. scope1,scope2 (Relevant only when --access-type=sa; required when --gcp-cred-type=token)
    ItemCustomFields Dictionary<string, string>
    Additional custom fields to associate with the item
    Name string
    Dynamic secret name
    ProjectId string
    GCP Project ID override for dynamic secret operations
    Retry DynamicSecretGcpRetry
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    RoleBinding string
    Role binding definitions in JSON format (Relevant only when --access-type=sa and --service-account-type=dynamic)
    RoleNames string
    Comma-separated list of GCP roles to assign to the user (Relevant only when --access-type=external)
    SecureAccessDelay double
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    SecureAccessEnable string
    Enable/Disable secure remote access [true/false]
    SecureAccessUrl string
    Destination URL to inject secrets
    SecureAccessWebBrowsing bool
    Secure browser via Akeyless's Secure Remote Access (SRA)
    SecureAccessWebProxy bool
    Web-Proxy via Akeyless's Secure Remote Access (SRA)
    ServiceAccountType string
    The type of the GCP service account. Options fixed, dynamic
    SkipDryRun bool
    Skip dry run
    Tags List<string>
    Add tags attached to this object
    TargetName string
    Target name
    UserTtl string
    User TTL
    AccessType string
    The type of the GCP dynamic secret, options are [sa, external]
    AraEnabled bool
    Enable Agentic Runtime Authority
    CustomUsernameTemplate string
    Customize how temporary usernames are generated using go template
    DeleteProtection string
    Protection from accidental deletion of this object [true/false]
    Description string
    Description of the object
    DynamicSecretGcpId string
    The ID of this resource.
    EnableAgenticRuntimeAuthority bool
    Enable Agentic Runtime Authority
    EnableAiQuorum bool
    Enable AI Quorum
    EncryptionKeyName string
    Dynamic producer encryption key
    FixedUserClaimKeyname string
    For externally provided users, denotes the key-name of IdP claim to extract the username from (Relevant only when --access-type=external)
    GcpCredType string
    Credentials type, options are [token, key]
    GcpKey string
    Base64-encoded service account private key text
    GcpKeyAlgo string
    Service account key algorithm, e.g. KEYALGRSA_1024 (Relevant only when --access-type=sa and --gcp-cred-type=key)
    GcpProjectId string
    GCP Project ID override for dynamic secret operations
    GcpSaEmail string
    The email of the fixed service account to generate keys or tokens for (Relevant only when --access-type=sa and --service-account-type=fixed)
    GcpTokenScopes string
    Access token scopes list, e.g. scope1,scope2 (Relevant only when --access-type=sa; required when --gcp-cred-type=token)
    ItemCustomFields map[string]string
    Additional custom fields to associate with the item
    Name string
    Dynamic secret name
    ProjectId string
    GCP Project ID override for dynamic secret operations
    Retry DynamicSecretGcpRetryArgs
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    RoleBinding string
    Role binding definitions in JSON format (Relevant only when --access-type=sa and --service-account-type=dynamic)
    RoleNames string
    Comma-separated list of GCP roles to assign to the user (Relevant only when --access-type=external)
    SecureAccessDelay float64
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    SecureAccessEnable string
    Enable/Disable secure remote access [true/false]
    SecureAccessUrl string
    Destination URL to inject secrets
    SecureAccessWebBrowsing bool
    Secure browser via Akeyless's Secure Remote Access (SRA)
    SecureAccessWebProxy bool
    Web-Proxy via Akeyless's Secure Remote Access (SRA)
    ServiceAccountType string
    The type of the GCP service account. Options fixed, dynamic
    SkipDryRun bool
    Skip dry run
    Tags []string
    Add tags attached to this object
    TargetName string
    Target name
    UserTtl string
    User TTL
    access_type string
    The type of the GCP dynamic secret, options are [sa, external]
    ara_enabled bool
    Enable Agentic Runtime Authority
    custom_username_template string
    Customize how temporary usernames are generated using go template
    delete_protection string
    Protection from accidental deletion of this object [true/false]
    description string
    Description of the object
    dynamic_secret_gcp_id string
    The ID of this resource.
    enable_agentic_runtime_authority bool
    Enable Agentic Runtime Authority
    enable_ai_quorum bool
    Enable AI Quorum
    encryption_key_name string
    Dynamic producer encryption key
    fixed_user_claim_keyname string
    For externally provided users, denotes the key-name of IdP claim to extract the username from (Relevant only when --access-type=external)
    gcp_cred_type string
    Credentials type, options are [token, key]
    gcp_key string
    Base64-encoded service account private key text
    gcp_key_algo string
    Service account key algorithm, e.g. KEYALGRSA_1024 (Relevant only when --access-type=sa and --gcp-cred-type=key)
    gcp_project_id string
    GCP Project ID override for dynamic secret operations
    gcp_sa_email string
    The email of the fixed service account to generate keys or tokens for (Relevant only when --access-type=sa and --service-account-type=fixed)
    gcp_token_scopes string
    Access token scopes list, e.g. scope1,scope2 (Relevant only when --access-type=sa; required when --gcp-cred-type=token)
    item_custom_fields map(string)
    Additional custom fields to associate with the item
    name string
    Dynamic secret name
    project_id string
    GCP Project ID override for dynamic secret operations
    retry object
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    role_binding string
    Role binding definitions in JSON format (Relevant only when --access-type=sa and --service-account-type=dynamic)
    role_names string
    Comma-separated list of GCP roles to assign to the user (Relevant only when --access-type=external)
    secure_access_delay number
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    secure_access_enable string
    Enable/Disable secure remote access [true/false]
    secure_access_url string
    Destination URL to inject secrets
    secure_access_web_browsing bool
    Secure browser via Akeyless's Secure Remote Access (SRA)
    secure_access_web_proxy bool
    Web-Proxy via Akeyless's Secure Remote Access (SRA)
    service_account_type string
    The type of the GCP service account. Options fixed, dynamic
    skip_dry_run bool
    Skip dry run
    tags list(string)
    Add tags attached to this object
    target_name string
    Target name
    user_ttl string
    User TTL
    accessType String
    The type of the GCP dynamic secret, options are [sa, external]
    araEnabled Boolean
    Enable Agentic Runtime Authority
    customUsernameTemplate String
    Customize how temporary usernames are generated using go template
    deleteProtection String
    Protection from accidental deletion of this object [true/false]
    description String
    Description of the object
    dynamicSecretGcpId String
    The ID of this resource.
    enableAgenticRuntimeAuthority Boolean
    Enable Agentic Runtime Authority
    enableAiQuorum Boolean
    Enable AI Quorum
    encryptionKeyName String
    Dynamic producer encryption key
    fixedUserClaimKeyname String
    For externally provided users, denotes the key-name of IdP claim to extract the username from (Relevant only when --access-type=external)
    gcpCredType String
    Credentials type, options are [token, key]
    gcpKey String
    Base64-encoded service account private key text
    gcpKeyAlgo String
    Service account key algorithm, e.g. KEYALGRSA_1024 (Relevant only when --access-type=sa and --gcp-cred-type=key)
    gcpProjectId String
    GCP Project ID override for dynamic secret operations
    gcpSaEmail String
    The email of the fixed service account to generate keys or tokens for (Relevant only when --access-type=sa and --service-account-type=fixed)
    gcpTokenScopes String
    Access token scopes list, e.g. scope1,scope2 (Relevant only when --access-type=sa; required when --gcp-cred-type=token)
    itemCustomFields Map<String,String>
    Additional custom fields to associate with the item
    name String
    Dynamic secret name
    projectId String
    GCP Project ID override for dynamic secret operations
    retry DynamicSecretGcpRetry
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    roleBinding String
    Role binding definitions in JSON format (Relevant only when --access-type=sa and --service-account-type=dynamic)
    roleNames String
    Comma-separated list of GCP roles to assign to the user (Relevant only when --access-type=external)
    secureAccessDelay Double
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    secureAccessEnable String
    Enable/Disable secure remote access [true/false]
    secureAccessUrl String
    Destination URL to inject secrets
    secureAccessWebBrowsing Boolean
    Secure browser via Akeyless's Secure Remote Access (SRA)
    secureAccessWebProxy Boolean
    Web-Proxy via Akeyless's Secure Remote Access (SRA)
    serviceAccountType String
    The type of the GCP service account. Options fixed, dynamic
    skipDryRun Boolean
    Skip dry run
    tags List<String>
    Add tags attached to this object
    targetName String
    Target name
    userTtl String
    User TTL
    accessType string
    The type of the GCP dynamic secret, options are [sa, external]
    araEnabled boolean
    Enable Agentic Runtime Authority
    customUsernameTemplate string
    Customize how temporary usernames are generated using go template
    deleteProtection string
    Protection from accidental deletion of this object [true/false]
    description string
    Description of the object
    dynamicSecretGcpId string
    The ID of this resource.
    enableAgenticRuntimeAuthority boolean
    Enable Agentic Runtime Authority
    enableAiQuorum boolean
    Enable AI Quorum
    encryptionKeyName string
    Dynamic producer encryption key
    fixedUserClaimKeyname string
    For externally provided users, denotes the key-name of IdP claim to extract the username from (Relevant only when --access-type=external)
    gcpCredType string
    Credentials type, options are [token, key]
    gcpKey string
    Base64-encoded service account private key text
    gcpKeyAlgo string
    Service account key algorithm, e.g. KEYALGRSA_1024 (Relevant only when --access-type=sa and --gcp-cred-type=key)
    gcpProjectId string
    GCP Project ID override for dynamic secret operations
    gcpSaEmail string
    The email of the fixed service account to generate keys or tokens for (Relevant only when --access-type=sa and --service-account-type=fixed)
    gcpTokenScopes string
    Access token scopes list, e.g. scope1,scope2 (Relevant only when --access-type=sa; required when --gcp-cred-type=token)
    itemCustomFields {[key: string]: string}
    Additional custom fields to associate with the item
    name string
    Dynamic secret name
    projectId string
    GCP Project ID override for dynamic secret operations
    retry DynamicSecretGcpRetry
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    roleBinding string
    Role binding definitions in JSON format (Relevant only when --access-type=sa and --service-account-type=dynamic)
    roleNames string
    Comma-separated list of GCP roles to assign to the user (Relevant only when --access-type=external)
    secureAccessDelay number
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    secureAccessEnable string
    Enable/Disable secure remote access [true/false]
    secureAccessUrl string
    Destination URL to inject secrets
    secureAccessWebBrowsing boolean
    Secure browser via Akeyless's Secure Remote Access (SRA)
    secureAccessWebProxy boolean
    Web-Proxy via Akeyless's Secure Remote Access (SRA)
    serviceAccountType string
    The type of the GCP service account. Options fixed, dynamic
    skipDryRun boolean
    Skip dry run
    tags string[]
    Add tags attached to this object
    targetName string
    Target name
    userTtl string
    User TTL
    access_type str
    The type of the GCP dynamic secret, options are [sa, external]
    ara_enabled bool
    Enable Agentic Runtime Authority
    custom_username_template str
    Customize how temporary usernames are generated using go template
    delete_protection str
    Protection from accidental deletion of this object [true/false]
    description str
    Description of the object
    dynamic_secret_gcp_id str
    The ID of this resource.
    enable_agentic_runtime_authority bool
    Enable Agentic Runtime Authority
    enable_ai_quorum bool
    Enable AI Quorum
    encryption_key_name str
    Dynamic producer encryption key
    fixed_user_claim_keyname str
    For externally provided users, denotes the key-name of IdP claim to extract the username from (Relevant only when --access-type=external)
    gcp_cred_type str
    Credentials type, options are [token, key]
    gcp_key str
    Base64-encoded service account private key text
    gcp_key_algo str
    Service account key algorithm, e.g. KEYALGRSA_1024 (Relevant only when --access-type=sa and --gcp-cred-type=key)
    gcp_project_id str
    GCP Project ID override for dynamic secret operations
    gcp_sa_email str
    The email of the fixed service account to generate keys or tokens for (Relevant only when --access-type=sa and --service-account-type=fixed)
    gcp_token_scopes str
    Access token scopes list, e.g. scope1,scope2 (Relevant only when --access-type=sa; required when --gcp-cred-type=token)
    item_custom_fields Mapping[str, str]
    Additional custom fields to associate with the item
    name str
    Dynamic secret name
    project_id str
    GCP Project ID override for dynamic secret operations
    retry DynamicSecretGcpRetryArgs
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    role_binding str
    Role binding definitions in JSON format (Relevant only when --access-type=sa and --service-account-type=dynamic)
    role_names str
    Comma-separated list of GCP roles to assign to the user (Relevant only when --access-type=external)
    secure_access_delay float
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    secure_access_enable str
    Enable/Disable secure remote access [true/false]
    secure_access_url str
    Destination URL to inject secrets
    secure_access_web_browsing bool
    Secure browser via Akeyless's Secure Remote Access (SRA)
    secure_access_web_proxy bool
    Web-Proxy via Akeyless's Secure Remote Access (SRA)
    service_account_type str
    The type of the GCP service account. Options fixed, dynamic
    skip_dry_run bool
    Skip dry run
    tags Sequence[str]
    Add tags attached to this object
    target_name str
    Target name
    user_ttl str
    User TTL
    accessType String
    The type of the GCP dynamic secret, options are [sa, external]
    araEnabled Boolean
    Enable Agentic Runtime Authority
    customUsernameTemplate String
    Customize how temporary usernames are generated using go template
    deleteProtection String
    Protection from accidental deletion of this object [true/false]
    description String
    Description of the object
    dynamicSecretGcpId String
    The ID of this resource.
    enableAgenticRuntimeAuthority Boolean
    Enable Agentic Runtime Authority
    enableAiQuorum Boolean
    Enable AI Quorum
    encryptionKeyName String
    Dynamic producer encryption key
    fixedUserClaimKeyname String
    For externally provided users, denotes the key-name of IdP claim to extract the username from (Relevant only when --access-type=external)
    gcpCredType String
    Credentials type, options are [token, key]
    gcpKey String
    Base64-encoded service account private key text
    gcpKeyAlgo String
    Service account key algorithm, e.g. KEYALGRSA_1024 (Relevant only when --access-type=sa and --gcp-cred-type=key)
    gcpProjectId String
    GCP Project ID override for dynamic secret operations
    gcpSaEmail String
    The email of the fixed service account to generate keys or tokens for (Relevant only when --access-type=sa and --service-account-type=fixed)
    gcpTokenScopes String
    Access token scopes list, e.g. scope1,scope2 (Relevant only when --access-type=sa; required when --gcp-cred-type=token)
    itemCustomFields Map<String>
    Additional custom fields to associate with the item
    name String
    Dynamic secret name
    projectId String
    GCP Project ID override for dynamic secret operations
    retry Property Map
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    roleBinding String
    Role binding definitions in JSON format (Relevant only when --access-type=sa and --service-account-type=dynamic)
    roleNames String
    Comma-separated list of GCP roles to assign to the user (Relevant only when --access-type=external)
    secureAccessDelay Number
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    secureAccessEnable String
    Enable/Disable secure remote access [true/false]
    secureAccessUrl String
    Destination URL to inject secrets
    secureAccessWebBrowsing Boolean
    Secure browser via Akeyless's Secure Remote Access (SRA)
    secureAccessWebProxy Boolean
    Web-Proxy via Akeyless's Secure Remote Access (SRA)
    serviceAccountType String
    The type of the GCP service account. Options fixed, dynamic
    skipDryRun Boolean
    Skip dry run
    tags List<String>
    Add tags attached to this object
    targetName String
    Target name
    userTtl String
    User TTL

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DynamicSecretGcp 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 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 DynamicSecretGcp Resource

    Get an existing DynamicSecretGcp 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?: DynamicSecretGcpState, opts?: CustomResourceOptions): DynamicSecretGcp
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_type: Optional[str] = None,
            ara_enabled: Optional[bool] = None,
            custom_username_template: Optional[str] = None,
            delete_protection: Optional[str] = None,
            description: Optional[str] = None,
            dynamic_secret_gcp_id: Optional[str] = None,
            enable_agentic_runtime_authority: Optional[bool] = None,
            enable_ai_quorum: Optional[bool] = None,
            encryption_key_name: Optional[str] = None,
            fixed_user_claim_keyname: Optional[str] = None,
            gcp_cred_type: Optional[str] = None,
            gcp_key: Optional[str] = None,
            gcp_key_algo: Optional[str] = None,
            gcp_project_id: Optional[str] = None,
            gcp_sa_email: Optional[str] = None,
            gcp_token_scopes: Optional[str] = None,
            item_custom_fields: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            project_id: Optional[str] = None,
            retry: Optional[DynamicSecretGcpRetryArgs] = None,
            role_binding: Optional[str] = None,
            role_names: Optional[str] = None,
            secure_access_delay: Optional[float] = None,
            secure_access_enable: Optional[str] = None,
            secure_access_url: Optional[str] = None,
            secure_access_web_browsing: Optional[bool] = None,
            secure_access_web_proxy: Optional[bool] = None,
            service_account_type: Optional[str] = None,
            skip_dry_run: Optional[bool] = None,
            tags: Optional[Sequence[str]] = None,
            target_name: Optional[str] = None,
            user_ttl: Optional[str] = None) -> DynamicSecretGcp
    func GetDynamicSecretGcp(ctx *Context, name string, id IDInput, state *DynamicSecretGcpState, opts ...ResourceOption) (*DynamicSecretGcp, error)
    public static DynamicSecretGcp Get(string name, Input<string> id, DynamicSecretGcpState? state, CustomResourceOptions? opts = null)
    public static DynamicSecretGcp get(String name, Output<String> id, DynamicSecretGcpState state, CustomResourceOptions options)
    resources:  existingDynamicSecretGcp:    type: akeyless:DynamicSecretGcp    get:      id: ${id}
    import {
      to = akeyless_dynamic_secret_gcp.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    state DynamicSecretGcpState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state DynamicSecretGcpState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    state DynamicSecretGcpState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    state DynamicSecretGcpState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control resource's behavior.
    The following state arguments are supported:
    AccessType string
    The type of the GCP dynamic secret, options are [sa, external]
    AraEnabled bool
    Enable Agentic Runtime Authority
    CustomUsernameTemplate string
    Customize how temporary usernames are generated using go template
    DeleteProtection string
    Protection from accidental deletion of this object [true/false]
    Description string
    Description of the object
    DynamicSecretGcpId string
    The ID of this resource.
    EnableAgenticRuntimeAuthority bool
    Enable Agentic Runtime Authority
    EnableAiQuorum bool
    Enable AI Quorum
    EncryptionKeyName string
    Dynamic producer encryption key
    FixedUserClaimKeyname string
    For externally provided users, denotes the key-name of IdP claim to extract the username from (Relevant only when --access-type=external)
    GcpCredType string
    Credentials type, options are [token, key]
    GcpKey string
    Base64-encoded service account private key text
    GcpKeyAlgo string
    Service account key algorithm, e.g. KEYALGRSA_1024 (Relevant only when --access-type=sa and --gcp-cred-type=key)
    GcpProjectId string
    GCP Project ID override for dynamic secret operations
    GcpSaEmail string
    The email of the fixed service account to generate keys or tokens for (Relevant only when --access-type=sa and --service-account-type=fixed)
    GcpTokenScopes string
    Access token scopes list, e.g. scope1,scope2 (Relevant only when --access-type=sa; required when --gcp-cred-type=token)
    ItemCustomFields Dictionary<string, string>
    Additional custom fields to associate with the item
    Name string
    Dynamic secret name
    ProjectId string
    GCP Project ID override for dynamic secret operations
    Retry DynamicSecretGcpRetry
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    RoleBinding string
    Role binding definitions in JSON format (Relevant only when --access-type=sa and --service-account-type=dynamic)
    RoleNames string
    Comma-separated list of GCP roles to assign to the user (Relevant only when --access-type=external)
    SecureAccessDelay double
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    SecureAccessEnable string
    Enable/Disable secure remote access [true/false]
    SecureAccessUrl string
    Destination URL to inject secrets
    SecureAccessWebBrowsing bool
    Secure browser via Akeyless's Secure Remote Access (SRA)
    SecureAccessWebProxy bool
    Web-Proxy via Akeyless's Secure Remote Access (SRA)
    ServiceAccountType string
    The type of the GCP service account. Options fixed, dynamic
    SkipDryRun bool
    Skip dry run
    Tags List<string>
    Add tags attached to this object
    TargetName string
    Target name
    UserTtl string
    User TTL
    AccessType string
    The type of the GCP dynamic secret, options are [sa, external]
    AraEnabled bool
    Enable Agentic Runtime Authority
    CustomUsernameTemplate string
    Customize how temporary usernames are generated using go template
    DeleteProtection string
    Protection from accidental deletion of this object [true/false]
    Description string
    Description of the object
    DynamicSecretGcpId string
    The ID of this resource.
    EnableAgenticRuntimeAuthority bool
    Enable Agentic Runtime Authority
    EnableAiQuorum bool
    Enable AI Quorum
    EncryptionKeyName string
    Dynamic producer encryption key
    FixedUserClaimKeyname string
    For externally provided users, denotes the key-name of IdP claim to extract the username from (Relevant only when --access-type=external)
    GcpCredType string
    Credentials type, options are [token, key]
    GcpKey string
    Base64-encoded service account private key text
    GcpKeyAlgo string
    Service account key algorithm, e.g. KEYALGRSA_1024 (Relevant only when --access-type=sa and --gcp-cred-type=key)
    GcpProjectId string
    GCP Project ID override for dynamic secret operations
    GcpSaEmail string
    The email of the fixed service account to generate keys or tokens for (Relevant only when --access-type=sa and --service-account-type=fixed)
    GcpTokenScopes string
    Access token scopes list, e.g. scope1,scope2 (Relevant only when --access-type=sa; required when --gcp-cred-type=token)
    ItemCustomFields map[string]string
    Additional custom fields to associate with the item
    Name string
    Dynamic secret name
    ProjectId string
    GCP Project ID override for dynamic secret operations
    Retry DynamicSecretGcpRetryArgs
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    RoleBinding string
    Role binding definitions in JSON format (Relevant only when --access-type=sa and --service-account-type=dynamic)
    RoleNames string
    Comma-separated list of GCP roles to assign to the user (Relevant only when --access-type=external)
    SecureAccessDelay float64
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    SecureAccessEnable string
    Enable/Disable secure remote access [true/false]
    SecureAccessUrl string
    Destination URL to inject secrets
    SecureAccessWebBrowsing bool
    Secure browser via Akeyless's Secure Remote Access (SRA)
    SecureAccessWebProxy bool
    Web-Proxy via Akeyless's Secure Remote Access (SRA)
    ServiceAccountType string
    The type of the GCP service account. Options fixed, dynamic
    SkipDryRun bool
    Skip dry run
    Tags []string
    Add tags attached to this object
    TargetName string
    Target name
    UserTtl string
    User TTL
    access_type string
    The type of the GCP dynamic secret, options are [sa, external]
    ara_enabled bool
    Enable Agentic Runtime Authority
    custom_username_template string
    Customize how temporary usernames are generated using go template
    delete_protection string
    Protection from accidental deletion of this object [true/false]
    description string
    Description of the object
    dynamic_secret_gcp_id string
    The ID of this resource.
    enable_agentic_runtime_authority bool
    Enable Agentic Runtime Authority
    enable_ai_quorum bool
    Enable AI Quorum
    encryption_key_name string
    Dynamic producer encryption key
    fixed_user_claim_keyname string
    For externally provided users, denotes the key-name of IdP claim to extract the username from (Relevant only when --access-type=external)
    gcp_cred_type string
    Credentials type, options are [token, key]
    gcp_key string
    Base64-encoded service account private key text
    gcp_key_algo string
    Service account key algorithm, e.g. KEYALGRSA_1024 (Relevant only when --access-type=sa and --gcp-cred-type=key)
    gcp_project_id string
    GCP Project ID override for dynamic secret operations
    gcp_sa_email string
    The email of the fixed service account to generate keys or tokens for (Relevant only when --access-type=sa and --service-account-type=fixed)
    gcp_token_scopes string
    Access token scopes list, e.g. scope1,scope2 (Relevant only when --access-type=sa; required when --gcp-cred-type=token)
    item_custom_fields map(string)
    Additional custom fields to associate with the item
    name string
    Dynamic secret name
    project_id string
    GCP Project ID override for dynamic secret operations
    retry object
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    role_binding string
    Role binding definitions in JSON format (Relevant only when --access-type=sa and --service-account-type=dynamic)
    role_names string
    Comma-separated list of GCP roles to assign to the user (Relevant only when --access-type=external)
    secure_access_delay number
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    secure_access_enable string
    Enable/Disable secure remote access [true/false]
    secure_access_url string
    Destination URL to inject secrets
    secure_access_web_browsing bool
    Secure browser via Akeyless's Secure Remote Access (SRA)
    secure_access_web_proxy bool
    Web-Proxy via Akeyless's Secure Remote Access (SRA)
    service_account_type string
    The type of the GCP service account. Options fixed, dynamic
    skip_dry_run bool
    Skip dry run
    tags list(string)
    Add tags attached to this object
    target_name string
    Target name
    user_ttl string
    User TTL
    accessType String
    The type of the GCP dynamic secret, options are [sa, external]
    araEnabled Boolean
    Enable Agentic Runtime Authority
    customUsernameTemplate String
    Customize how temporary usernames are generated using go template
    deleteProtection String
    Protection from accidental deletion of this object [true/false]
    description String
    Description of the object
    dynamicSecretGcpId String
    The ID of this resource.
    enableAgenticRuntimeAuthority Boolean
    Enable Agentic Runtime Authority
    enableAiQuorum Boolean
    Enable AI Quorum
    encryptionKeyName String
    Dynamic producer encryption key
    fixedUserClaimKeyname String
    For externally provided users, denotes the key-name of IdP claim to extract the username from (Relevant only when --access-type=external)
    gcpCredType String
    Credentials type, options are [token, key]
    gcpKey String
    Base64-encoded service account private key text
    gcpKeyAlgo String
    Service account key algorithm, e.g. KEYALGRSA_1024 (Relevant only when --access-type=sa and --gcp-cred-type=key)
    gcpProjectId String
    GCP Project ID override for dynamic secret operations
    gcpSaEmail String
    The email of the fixed service account to generate keys or tokens for (Relevant only when --access-type=sa and --service-account-type=fixed)
    gcpTokenScopes String
    Access token scopes list, e.g. scope1,scope2 (Relevant only when --access-type=sa; required when --gcp-cred-type=token)
    itemCustomFields Map<String,String>
    Additional custom fields to associate with the item
    name String
    Dynamic secret name
    projectId String
    GCP Project ID override for dynamic secret operations
    retry DynamicSecretGcpRetry
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    roleBinding String
    Role binding definitions in JSON format (Relevant only when --access-type=sa and --service-account-type=dynamic)
    roleNames String
    Comma-separated list of GCP roles to assign to the user (Relevant only when --access-type=external)
    secureAccessDelay Double
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    secureAccessEnable String
    Enable/Disable secure remote access [true/false]
    secureAccessUrl String
    Destination URL to inject secrets
    secureAccessWebBrowsing Boolean
    Secure browser via Akeyless's Secure Remote Access (SRA)
    secureAccessWebProxy Boolean
    Web-Proxy via Akeyless's Secure Remote Access (SRA)
    serviceAccountType String
    The type of the GCP service account. Options fixed, dynamic
    skipDryRun Boolean
    Skip dry run
    tags List<String>
    Add tags attached to this object
    targetName String
    Target name
    userTtl String
    User TTL
    accessType string
    The type of the GCP dynamic secret, options are [sa, external]
    araEnabled boolean
    Enable Agentic Runtime Authority
    customUsernameTemplate string
    Customize how temporary usernames are generated using go template
    deleteProtection string
    Protection from accidental deletion of this object [true/false]
    description string
    Description of the object
    dynamicSecretGcpId string
    The ID of this resource.
    enableAgenticRuntimeAuthority boolean
    Enable Agentic Runtime Authority
    enableAiQuorum boolean
    Enable AI Quorum
    encryptionKeyName string
    Dynamic producer encryption key
    fixedUserClaimKeyname string
    For externally provided users, denotes the key-name of IdP claim to extract the username from (Relevant only when --access-type=external)
    gcpCredType string
    Credentials type, options are [token, key]
    gcpKey string
    Base64-encoded service account private key text
    gcpKeyAlgo string
    Service account key algorithm, e.g. KEYALGRSA_1024 (Relevant only when --access-type=sa and --gcp-cred-type=key)
    gcpProjectId string
    GCP Project ID override for dynamic secret operations
    gcpSaEmail string
    The email of the fixed service account to generate keys or tokens for (Relevant only when --access-type=sa and --service-account-type=fixed)
    gcpTokenScopes string
    Access token scopes list, e.g. scope1,scope2 (Relevant only when --access-type=sa; required when --gcp-cred-type=token)
    itemCustomFields {[key: string]: string}
    Additional custom fields to associate with the item
    name string
    Dynamic secret name
    projectId string
    GCP Project ID override for dynamic secret operations
    retry DynamicSecretGcpRetry
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    roleBinding string
    Role binding definitions in JSON format (Relevant only when --access-type=sa and --service-account-type=dynamic)
    roleNames string
    Comma-separated list of GCP roles to assign to the user (Relevant only when --access-type=external)
    secureAccessDelay number
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    secureAccessEnable string
    Enable/Disable secure remote access [true/false]
    secureAccessUrl string
    Destination URL to inject secrets
    secureAccessWebBrowsing boolean
    Secure browser via Akeyless's Secure Remote Access (SRA)
    secureAccessWebProxy boolean
    Web-Proxy via Akeyless's Secure Remote Access (SRA)
    serviceAccountType string
    The type of the GCP service account. Options fixed, dynamic
    skipDryRun boolean
    Skip dry run
    tags string[]
    Add tags attached to this object
    targetName string
    Target name
    userTtl string
    User TTL
    access_type str
    The type of the GCP dynamic secret, options are [sa, external]
    ara_enabled bool
    Enable Agentic Runtime Authority
    custom_username_template str
    Customize how temporary usernames are generated using go template
    delete_protection str
    Protection from accidental deletion of this object [true/false]
    description str
    Description of the object
    dynamic_secret_gcp_id str
    The ID of this resource.
    enable_agentic_runtime_authority bool
    Enable Agentic Runtime Authority
    enable_ai_quorum bool
    Enable AI Quorum
    encryption_key_name str
    Dynamic producer encryption key
    fixed_user_claim_keyname str
    For externally provided users, denotes the key-name of IdP claim to extract the username from (Relevant only when --access-type=external)
    gcp_cred_type str
    Credentials type, options are [token, key]
    gcp_key str
    Base64-encoded service account private key text
    gcp_key_algo str
    Service account key algorithm, e.g. KEYALGRSA_1024 (Relevant only when --access-type=sa and --gcp-cred-type=key)
    gcp_project_id str
    GCP Project ID override for dynamic secret operations
    gcp_sa_email str
    The email of the fixed service account to generate keys or tokens for (Relevant only when --access-type=sa and --service-account-type=fixed)
    gcp_token_scopes str
    Access token scopes list, e.g. scope1,scope2 (Relevant only when --access-type=sa; required when --gcp-cred-type=token)
    item_custom_fields Mapping[str, str]
    Additional custom fields to associate with the item
    name str
    Dynamic secret name
    project_id str
    GCP Project ID override for dynamic secret operations
    retry DynamicSecretGcpRetryArgs
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    role_binding str
    Role binding definitions in JSON format (Relevant only when --access-type=sa and --service-account-type=dynamic)
    role_names str
    Comma-separated list of GCP roles to assign to the user (Relevant only when --access-type=external)
    secure_access_delay float
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    secure_access_enable str
    Enable/Disable secure remote access [true/false]
    secure_access_url str
    Destination URL to inject secrets
    secure_access_web_browsing bool
    Secure browser via Akeyless's Secure Remote Access (SRA)
    secure_access_web_proxy bool
    Web-Proxy via Akeyless's Secure Remote Access (SRA)
    service_account_type str
    The type of the GCP service account. Options fixed, dynamic
    skip_dry_run bool
    Skip dry run
    tags Sequence[str]
    Add tags attached to this object
    target_name str
    Target name
    user_ttl str
    User TTL
    accessType String
    The type of the GCP dynamic secret, options are [sa, external]
    araEnabled Boolean
    Enable Agentic Runtime Authority
    customUsernameTemplate String
    Customize how temporary usernames are generated using go template
    deleteProtection String
    Protection from accidental deletion of this object [true/false]
    description String
    Description of the object
    dynamicSecretGcpId String
    The ID of this resource.
    enableAgenticRuntimeAuthority Boolean
    Enable Agentic Runtime Authority
    enableAiQuorum Boolean
    Enable AI Quorum
    encryptionKeyName String
    Dynamic producer encryption key
    fixedUserClaimKeyname String
    For externally provided users, denotes the key-name of IdP claim to extract the username from (Relevant only when --access-type=external)
    gcpCredType String
    Credentials type, options are [token, key]
    gcpKey String
    Base64-encoded service account private key text
    gcpKeyAlgo String
    Service account key algorithm, e.g. KEYALGRSA_1024 (Relevant only when --access-type=sa and --gcp-cred-type=key)
    gcpProjectId String
    GCP Project ID override for dynamic secret operations
    gcpSaEmail String
    The email of the fixed service account to generate keys or tokens for (Relevant only when --access-type=sa and --service-account-type=fixed)
    gcpTokenScopes String
    Access token scopes list, e.g. scope1,scope2 (Relevant only when --access-type=sa; required when --gcp-cred-type=token)
    itemCustomFields Map<String>
    Additional custom fields to associate with the item
    name String
    Dynamic secret name
    projectId String
    GCP Project ID override for dynamic secret operations
    retry Property Map
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    roleBinding String
    Role binding definitions in JSON format (Relevant only when --access-type=sa and --service-account-type=dynamic)
    roleNames String
    Comma-separated list of GCP roles to assign to the user (Relevant only when --access-type=external)
    secureAccessDelay Number
    The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
    secureAccessEnable String
    Enable/Disable secure remote access [true/false]
    secureAccessUrl String
    Destination URL to inject secrets
    secureAccessWebBrowsing Boolean
    Secure browser via Akeyless's Secure Remote Access (SRA)
    secureAccessWebProxy Boolean
    Web-Proxy via Akeyless's Secure Remote Access (SRA)
    serviceAccountType String
    The type of the GCP service account. Options fixed, dynamic
    skipDryRun Boolean
    Skip dry run
    tags List<String>
    Add tags attached to this object
    targetName String
    Target name
    userTtl String
    User TTL

    Supporting Types

    DynamicSecretGcpRetry, DynamicSecretGcpRetryArgs

    ErrorMessageRegexes List<string>
    Regular expressions matched against the error message. If any matches, the operation is retried.
    IntervalSeconds double
    Wait before the first retry, in seconds. The wait doubles on each retry.
    MaxIntervalSeconds double
    Maximum wait between retries, in seconds.
    MaxRetries double
    Maximum number of retries after the first attempt.
    RetryOnStatusCodes List<double>
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
    ErrorMessageRegexes []string
    Regular expressions matched against the error message. If any matches, the operation is retried.
    IntervalSeconds float64
    Wait before the first retry, in seconds. The wait doubles on each retry.
    MaxIntervalSeconds float64
    Maximum wait between retries, in seconds.
    MaxRetries float64
    Maximum number of retries after the first attempt.
    RetryOnStatusCodes []float64
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
    error_message_regexes list(string)
    Regular expressions matched against the error message. If any matches, the operation is retried.
    interval_seconds number
    Wait before the first retry, in seconds. The wait doubles on each retry.
    max_interval_seconds number
    Maximum wait between retries, in seconds.
    max_retries number
    Maximum number of retries after the first attempt.
    retry_on_status_codes list(number)
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
    errorMessageRegexes List<String>
    Regular expressions matched against the error message. If any matches, the operation is retried.
    intervalSeconds Double
    Wait before the first retry, in seconds. The wait doubles on each retry.
    maxIntervalSeconds Double
    Maximum wait between retries, in seconds.
    maxRetries Double
    Maximum number of retries after the first attempt.
    retryOnStatusCodes List<Double>
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
    errorMessageRegexes string[]
    Regular expressions matched against the error message. If any matches, the operation is retried.
    intervalSeconds number
    Wait before the first retry, in seconds. The wait doubles on each retry.
    maxIntervalSeconds number
    Maximum wait between retries, in seconds.
    maxRetries number
    Maximum number of retries after the first attempt.
    retryOnStatusCodes number[]
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
    error_message_regexes Sequence[str]
    Regular expressions matched against the error message. If any matches, the operation is retried.
    interval_seconds float
    Wait before the first retry, in seconds. The wait doubles on each retry.
    max_interval_seconds float
    Maximum wait between retries, in seconds.
    max_retries float
    Maximum number of retries after the first attempt.
    retry_on_status_codes Sequence[float]
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
    errorMessageRegexes List<String>
    Regular expressions matched against the error message. If any matches, the operation is retried.
    intervalSeconds Number
    Wait before the first retry, in seconds. The wait doubles on each retry.
    maxIntervalSeconds Number
    Maximum wait between retries, in seconds.
    maxRetries Number
    Maximum number of retries after the first attempt.
    retryOnStatusCodes List<Number>
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.

    Package Details

    Repository
    akeyless akeyless-community/terraform-provider-akeyless
    License
    Notes
    This Pulumi package is based on the akeyless Terraform Provider.
    akeyless
    Viewing docs for akeyless 2.1.0
    published on Thursday, Nov 19, 2026 by akeyless-community

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial