1. Packages
  2. Akeyless Provider
  3. API Docs
  4. ProducerGke
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community

akeyless.ProducerGke

Explore with Pulumi AI

Google Kubernetes Engine (GKE) producer resource

Create ProducerGke Resource

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

Constructor syntax

new ProducerGke(name: string, args?: ProducerGkeArgs, opts?: CustomResourceOptions);
@overload
def ProducerGke(resource_name: str,
                args: Optional[ProducerGkeArgs] = None,
                opts: Optional[ResourceOptions] = None)

@overload
def ProducerGke(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                gke_account_key: Optional[str] = None,
                gke_cluster_cert: Optional[str] = None,
                gke_cluster_endpoint: Optional[str] = None,
                gke_cluster_name: Optional[str] = None,
                gke_service_account_email: Optional[str] = None,
                name: Optional[str] = None,
                producer_encryption_key_name: Optional[str] = None,
                producer_gke_id: Optional[str] = None,
                secure_access_allow_port_forwading: Optional[bool] = None,
                secure_access_bastion_issuer: Optional[str] = None,
                secure_access_cluster_endpoint: Optional[str] = None,
                secure_access_enable: Optional[str] = None,
                secure_access_web: Optional[bool] = None,
                tags: Optional[Sequence[str]] = None,
                target_name: Optional[str] = None,
                user_ttl: Optional[str] = None)
func NewProducerGke(ctx *Context, name string, args *ProducerGkeArgs, opts ...ResourceOption) (*ProducerGke, error)
public ProducerGke(string name, ProducerGkeArgs? args = null, CustomResourceOptions? opts = null)
public ProducerGke(String name, ProducerGkeArgs args)
public ProducerGke(String name, ProducerGkeArgs args, CustomResourceOptions options)
type: akeyless:ProducerGke
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args ProducerGkeArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args ProducerGkeArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args ProducerGkeArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args ProducerGkeArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ProducerGkeArgs
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 producerGkeResource = new Akeyless.ProducerGke("producerGkeResource", new()
{
    GkeAccountKey = "string",
    GkeClusterCert = "string",
    GkeClusterEndpoint = "string",
    GkeClusterName = "string",
    GkeServiceAccountEmail = "string",
    Name = "string",
    ProducerEncryptionKeyName = "string",
    ProducerGkeId = "string",
    SecureAccessAllowPortForwading = false,
    SecureAccessBastionIssuer = "string",
    SecureAccessClusterEndpoint = "string",
    SecureAccessEnable = "string",
    SecureAccessWeb = false,
    Tags = new[]
    {
        "string",
    },
    TargetName = "string",
    UserTtl = "string",
});
Copy
example, err := akeyless.NewProducerGke(ctx, "producerGkeResource", &akeyless.ProducerGkeArgs{
GkeAccountKey: pulumi.String("string"),
GkeClusterCert: pulumi.String("string"),
GkeClusterEndpoint: pulumi.String("string"),
GkeClusterName: pulumi.String("string"),
GkeServiceAccountEmail: pulumi.String("string"),
Name: pulumi.String("string"),
ProducerEncryptionKeyName: pulumi.String("string"),
ProducerGkeId: pulumi.String("string"),
SecureAccessAllowPortForwading: pulumi.Bool(false),
SecureAccessBastionIssuer: pulumi.String("string"),
SecureAccessClusterEndpoint: pulumi.String("string"),
SecureAccessEnable: pulumi.String("string"),
SecureAccessWeb: pulumi.Bool(false),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
TargetName: pulumi.String("string"),
UserTtl: pulumi.String("string"),
})
Copy
var producerGkeResource = new ProducerGke("producerGkeResource", ProducerGkeArgs.builder()
    .gkeAccountKey("string")
    .gkeClusterCert("string")
    .gkeClusterEndpoint("string")
    .gkeClusterName("string")
    .gkeServiceAccountEmail("string")
    .name("string")
    .producerEncryptionKeyName("string")
    .producerGkeId("string")
    .secureAccessAllowPortForwading(false)
    .secureAccessBastionIssuer("string")
    .secureAccessClusterEndpoint("string")
    .secureAccessEnable("string")
    .secureAccessWeb(false)
    .tags("string")
    .targetName("string")
    .userTtl("string")
    .build());
Copy
producer_gke_resource = akeyless.ProducerGke("producerGkeResource",
    gke_account_key="string",
    gke_cluster_cert="string",
    gke_cluster_endpoint="string",
    gke_cluster_name="string",
    gke_service_account_email="string",
    name="string",
    producer_encryption_key_name="string",
    producer_gke_id="string",
    secure_access_allow_port_forwading=False,
    secure_access_bastion_issuer="string",
    secure_access_cluster_endpoint="string",
    secure_access_enable="string",
    secure_access_web=False,
    tags=["string"],
    target_name="string",
    user_ttl="string")
Copy
const producerGkeResource = new akeyless.ProducerGke("producerGkeResource", {
    gkeAccountKey: "string",
    gkeClusterCert: "string",
    gkeClusterEndpoint: "string",
    gkeClusterName: "string",
    gkeServiceAccountEmail: "string",
    name: "string",
    producerEncryptionKeyName: "string",
    producerGkeId: "string",
    secureAccessAllowPortForwading: false,
    secureAccessBastionIssuer: "string",
    secureAccessClusterEndpoint: "string",
    secureAccessEnable: "string",
    secureAccessWeb: false,
    tags: ["string"],
    targetName: "string",
    userTtl: "string",
});
Copy
type: akeyless:ProducerGke
properties:
    gkeAccountKey: string
    gkeClusterCert: string
    gkeClusterEndpoint: string
    gkeClusterName: string
    gkeServiceAccountEmail: string
    name: string
    producerEncryptionKeyName: string
    producerGkeId: string
    secureAccessAllowPortForwading: false
    secureAccessBastionIssuer: string
    secureAccessClusterEndpoint: string
    secureAccessEnable: string
    secureAccessWeb: false
    tags:
        - string
    targetName: string
    userTtl: string
Copy

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

GkeAccountKey string
GKE service account key
GkeClusterCert string
GKE Base-64 encoded cluster certificate
GkeClusterEndpoint string
GKE cluster endpoint, i.e., cluster URI https://\n\n.
GkeClusterName string
GKE cluster name
GkeServiceAccountEmail string
GKE service account email
Name string
Producer name
ProducerEncryptionKeyName string
Encrypt producer with following key
ProducerGkeId string
The ID of this resource.
SecureAccessAllowPortForwading bool
Enable Port forwarding while using CLI access.
SecureAccessBastionIssuer string
Path to the SSH Certificate Issuer for your Akeyless Bastion
SecureAccessClusterEndpoint string
The K8s cluster endpoint URL
SecureAccessEnable string
Enable/Disable secure remote access, [true/false]
SecureAccessWeb bool
Enable Web Secure Remote Access
Tags List<string>
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
TargetName string
Name of existing target to use in producer creation
UserTtl string
User TTL
GkeAccountKey string
GKE service account key
GkeClusterCert string
GKE Base-64 encoded cluster certificate
GkeClusterEndpoint string
GKE cluster endpoint, i.e., cluster URI https://\n\n.
GkeClusterName string
GKE cluster name
GkeServiceAccountEmail string
GKE service account email
Name string
Producer name
ProducerEncryptionKeyName string
Encrypt producer with following key
ProducerGkeId string
The ID of this resource.
SecureAccessAllowPortForwading bool
Enable Port forwarding while using CLI access.
SecureAccessBastionIssuer string
Path to the SSH Certificate Issuer for your Akeyless Bastion
SecureAccessClusterEndpoint string
The K8s cluster endpoint URL
SecureAccessEnable string
Enable/Disable secure remote access, [true/false]
SecureAccessWeb bool
Enable Web Secure Remote Access
Tags []string
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
TargetName string
Name of existing target to use in producer creation
UserTtl string
User TTL
gkeAccountKey String
GKE service account key
gkeClusterCert String
GKE Base-64 encoded cluster certificate
gkeClusterEndpoint String
GKE cluster endpoint, i.e., cluster URI https://\n\n.
gkeClusterName String
GKE cluster name
gkeServiceAccountEmail String
GKE service account email
name String
Producer name
producerEncryptionKeyName String
Encrypt producer with following key
producerGkeId String
The ID of this resource.
secureAccessAllowPortForwading Boolean
Enable Port forwarding while using CLI access.
secureAccessBastionIssuer String
Path to the SSH Certificate Issuer for your Akeyless Bastion
secureAccessClusterEndpoint String
The K8s cluster endpoint URL
secureAccessEnable String
Enable/Disable secure remote access, [true/false]
secureAccessWeb Boolean
Enable Web Secure Remote Access
tags List<String>
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
targetName String
Name of existing target to use in producer creation
userTtl String
User TTL
gkeAccountKey string
GKE service account key
gkeClusterCert string
GKE Base-64 encoded cluster certificate
gkeClusterEndpoint string
GKE cluster endpoint, i.e., cluster URI https://\n\n.
gkeClusterName string
GKE cluster name
gkeServiceAccountEmail string
GKE service account email
name string
Producer name
producerEncryptionKeyName string
Encrypt producer with following key
producerGkeId string
The ID of this resource.
secureAccessAllowPortForwading boolean
Enable Port forwarding while using CLI access.
secureAccessBastionIssuer string
Path to the SSH Certificate Issuer for your Akeyless Bastion
secureAccessClusterEndpoint string
The K8s cluster endpoint URL
secureAccessEnable string
Enable/Disable secure remote access, [true/false]
secureAccessWeb boolean
Enable Web Secure Remote Access
tags string[]
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
targetName string
Name of existing target to use in producer creation
userTtl string
User TTL
gke_account_key str
GKE service account key
gke_cluster_cert str
GKE Base-64 encoded cluster certificate
gke_cluster_endpoint str
GKE cluster endpoint, i.e., cluster URI https://\n\n.
gke_cluster_name str
GKE cluster name
gke_service_account_email str
GKE service account email
name str
Producer name
producer_encryption_key_name str
Encrypt producer with following key
producer_gke_id str
The ID of this resource.
secure_access_allow_port_forwading bool
Enable Port forwarding while using CLI access.
secure_access_bastion_issuer str
Path to the SSH Certificate Issuer for your Akeyless Bastion
secure_access_cluster_endpoint str
The K8s cluster endpoint URL
secure_access_enable str
Enable/Disable secure remote access, [true/false]
secure_access_web bool
Enable Web Secure Remote Access
tags Sequence[str]
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
target_name str
Name of existing target to use in producer creation
user_ttl str
User TTL
gkeAccountKey String
GKE service account key
gkeClusterCert String
GKE Base-64 encoded cluster certificate
gkeClusterEndpoint String
GKE cluster endpoint, i.e., cluster URI https://\n\n.
gkeClusterName String
GKE cluster name
gkeServiceAccountEmail String
GKE service account email
name String
Producer name
producerEncryptionKeyName String
Encrypt producer with following key
producerGkeId String
The ID of this resource.
secureAccessAllowPortForwading Boolean
Enable Port forwarding while using CLI access.
secureAccessBastionIssuer String
Path to the SSH Certificate Issuer for your Akeyless Bastion
secureAccessClusterEndpoint String
The K8s cluster endpoint URL
secureAccessEnable String
Enable/Disable secure remote access, [true/false]
secureAccessWeb Boolean
Enable Web Secure Remote Access
tags List<String>
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
targetName String
Name of existing target to use in producer creation
userTtl String
User TTL

Outputs

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

Get an existing ProducerGke 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?: ProducerGkeState, opts?: CustomResourceOptions): ProducerGke
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        gke_account_key: Optional[str] = None,
        gke_cluster_cert: Optional[str] = None,
        gke_cluster_endpoint: Optional[str] = None,
        gke_cluster_name: Optional[str] = None,
        gke_service_account_email: Optional[str] = None,
        name: Optional[str] = None,
        producer_encryption_key_name: Optional[str] = None,
        producer_gke_id: Optional[str] = None,
        secure_access_allow_port_forwading: Optional[bool] = None,
        secure_access_bastion_issuer: Optional[str] = None,
        secure_access_cluster_endpoint: Optional[str] = None,
        secure_access_enable: Optional[str] = None,
        secure_access_web: Optional[bool] = None,
        tags: Optional[Sequence[str]] = None,
        target_name: Optional[str] = None,
        user_ttl: Optional[str] = None) -> ProducerGke
func GetProducerGke(ctx *Context, name string, id IDInput, state *ProducerGkeState, opts ...ResourceOption) (*ProducerGke, error)
public static ProducerGke Get(string name, Input<string> id, ProducerGkeState? state, CustomResourceOptions? opts = null)
public static ProducerGke get(String name, Output<String> id, ProducerGkeState state, CustomResourceOptions options)
resources:  _:    type: akeyless:ProducerGke    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
GkeAccountKey string
GKE service account key
GkeClusterCert string
GKE Base-64 encoded cluster certificate
GkeClusterEndpoint string
GKE cluster endpoint, i.e., cluster URI https://\n\n.
GkeClusterName string
GKE cluster name
GkeServiceAccountEmail string
GKE service account email
Name string
Producer name
ProducerEncryptionKeyName string
Encrypt producer with following key
ProducerGkeId string
The ID of this resource.
SecureAccessAllowPortForwading bool
Enable Port forwarding while using CLI access.
SecureAccessBastionIssuer string
Path to the SSH Certificate Issuer for your Akeyless Bastion
SecureAccessClusterEndpoint string
The K8s cluster endpoint URL
SecureAccessEnable string
Enable/Disable secure remote access, [true/false]
SecureAccessWeb bool
Enable Web Secure Remote Access
Tags List<string>
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
TargetName string
Name of existing target to use in producer creation
UserTtl string
User TTL
GkeAccountKey string
GKE service account key
GkeClusterCert string
GKE Base-64 encoded cluster certificate
GkeClusterEndpoint string
GKE cluster endpoint, i.e., cluster URI https://\n\n.
GkeClusterName string
GKE cluster name
GkeServiceAccountEmail string
GKE service account email
Name string
Producer name
ProducerEncryptionKeyName string
Encrypt producer with following key
ProducerGkeId string
The ID of this resource.
SecureAccessAllowPortForwading bool
Enable Port forwarding while using CLI access.
SecureAccessBastionIssuer string
Path to the SSH Certificate Issuer for your Akeyless Bastion
SecureAccessClusterEndpoint string
The K8s cluster endpoint URL
SecureAccessEnable string
Enable/Disable secure remote access, [true/false]
SecureAccessWeb bool
Enable Web Secure Remote Access
Tags []string
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
TargetName string
Name of existing target to use in producer creation
UserTtl string
User TTL
gkeAccountKey String
GKE service account key
gkeClusterCert String
GKE Base-64 encoded cluster certificate
gkeClusterEndpoint String
GKE cluster endpoint, i.e., cluster URI https://\n\n.
gkeClusterName String
GKE cluster name
gkeServiceAccountEmail String
GKE service account email
name String
Producer name
producerEncryptionKeyName String
Encrypt producer with following key
producerGkeId String
The ID of this resource.
secureAccessAllowPortForwading Boolean
Enable Port forwarding while using CLI access.
secureAccessBastionIssuer String
Path to the SSH Certificate Issuer for your Akeyless Bastion
secureAccessClusterEndpoint String
The K8s cluster endpoint URL
secureAccessEnable String
Enable/Disable secure remote access, [true/false]
secureAccessWeb Boolean
Enable Web Secure Remote Access
tags List<String>
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
targetName String
Name of existing target to use in producer creation
userTtl String
User TTL
gkeAccountKey string
GKE service account key
gkeClusterCert string
GKE Base-64 encoded cluster certificate
gkeClusterEndpoint string
GKE cluster endpoint, i.e., cluster URI https://\n\n.
gkeClusterName string
GKE cluster name
gkeServiceAccountEmail string
GKE service account email
name string
Producer name
producerEncryptionKeyName string
Encrypt producer with following key
producerGkeId string
The ID of this resource.
secureAccessAllowPortForwading boolean
Enable Port forwarding while using CLI access.
secureAccessBastionIssuer string
Path to the SSH Certificate Issuer for your Akeyless Bastion
secureAccessClusterEndpoint string
The K8s cluster endpoint URL
secureAccessEnable string
Enable/Disable secure remote access, [true/false]
secureAccessWeb boolean
Enable Web Secure Remote Access
tags string[]
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
targetName string
Name of existing target to use in producer creation
userTtl string
User TTL
gke_account_key str
GKE service account key
gke_cluster_cert str
GKE Base-64 encoded cluster certificate
gke_cluster_endpoint str
GKE cluster endpoint, i.e., cluster URI https://\n\n.
gke_cluster_name str
GKE cluster name
gke_service_account_email str
GKE service account email
name str
Producer name
producer_encryption_key_name str
Encrypt producer with following key
producer_gke_id str
The ID of this resource.
secure_access_allow_port_forwading bool
Enable Port forwarding while using CLI access.
secure_access_bastion_issuer str
Path to the SSH Certificate Issuer for your Akeyless Bastion
secure_access_cluster_endpoint str
The K8s cluster endpoint URL
secure_access_enable str
Enable/Disable secure remote access, [true/false]
secure_access_web bool
Enable Web Secure Remote Access
tags Sequence[str]
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
target_name str
Name of existing target to use in producer creation
user_ttl str
User TTL
gkeAccountKey String
GKE service account key
gkeClusterCert String
GKE Base-64 encoded cluster certificate
gkeClusterEndpoint String
GKE cluster endpoint, i.e., cluster URI https://\n\n.
gkeClusterName String
GKE cluster name
gkeServiceAccountEmail String
GKE service account email
name String
Producer name
producerEncryptionKeyName String
Encrypt producer with following key
producerGkeId String
The ID of this resource.
secureAccessAllowPortForwading Boolean
Enable Port forwarding while using CLI access.
secureAccessBastionIssuer String
Path to the SSH Certificate Issuer for your Akeyless Bastion
secureAccessClusterEndpoint String
The K8s cluster endpoint URL
secureAccessEnable String
Enable/Disable secure remote access, [true/false]
secureAccessWeb Boolean
Enable Web Secure Remote Access
tags List<String>
List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
targetName String
Name of existing target to use in producer creation
userTtl String
User TTL

Package Details

Repository
akeyless akeyless-community/terraform-provider-akeyless
License
Notes
This Pulumi package is based on the akeyless Terraform Provider.