akeyless.DynamicSecretGke
Explore with Pulumi AI
Google Kubernetes Engine (GKE) dynamic secret resource
Create DynamicSecretGke Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DynamicSecretGke(name: string, args?: DynamicSecretGkeArgs, opts?: CustomResourceOptions);
@overload
def DynamicSecretGke(resource_name: str,
args: Optional[DynamicSecretGkeArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def DynamicSecretGke(resource_name: str,
opts: Optional[ResourceOptions] = None,
dynamic_secret_gke_id: Optional[str] = None,
encryption_key_name: Optional[str] = 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,
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 NewDynamicSecretGke(ctx *Context, name string, args *DynamicSecretGkeArgs, opts ...ResourceOption) (*DynamicSecretGke, error)
public DynamicSecretGke(string name, DynamicSecretGkeArgs? args = null, CustomResourceOptions? opts = null)
public DynamicSecretGke(String name, DynamicSecretGkeArgs args)
public DynamicSecretGke(String name, DynamicSecretGkeArgs args, CustomResourceOptions options)
type: akeyless:DynamicSecretGke
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 DynamicSecretGkeArgs
- 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 DynamicSecretGkeArgs
- 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 DynamicSecretGkeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DynamicSecretGkeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DynamicSecretGkeArgs
- 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 dynamicSecretGkeResource = new Akeyless.DynamicSecretGke("dynamicSecretGkeResource", new()
{
DynamicSecretGkeId = "string",
EncryptionKeyName = "string",
GkeAccountKey = "string",
GkeClusterCert = "string",
GkeClusterEndpoint = "string",
GkeClusterName = "string",
GkeServiceAccountEmail = "string",
Name = "string",
SecureAccessAllowPortForwading = false,
SecureAccessBastionIssuer = "string",
SecureAccessClusterEndpoint = "string",
SecureAccessEnable = "string",
SecureAccessWeb = false,
Tags = new[]
{
"string",
},
TargetName = "string",
UserTtl = "string",
});
example, err := akeyless.NewDynamicSecretGke(ctx, "dynamicSecretGkeResource", &akeyless.DynamicSecretGkeArgs{
DynamicSecretGkeId: pulumi.String("string"),
EncryptionKeyName: pulumi.String("string"),
GkeAccountKey: pulumi.String("string"),
GkeClusterCert: pulumi.String("string"),
GkeClusterEndpoint: pulumi.String("string"),
GkeClusterName: pulumi.String("string"),
GkeServiceAccountEmail: pulumi.String("string"),
Name: 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"),
})
var dynamicSecretGkeResource = new DynamicSecretGke("dynamicSecretGkeResource", DynamicSecretGkeArgs.builder()
.dynamicSecretGkeId("string")
.encryptionKeyName("string")
.gkeAccountKey("string")
.gkeClusterCert("string")
.gkeClusterEndpoint("string")
.gkeClusterName("string")
.gkeServiceAccountEmail("string")
.name("string")
.secureAccessAllowPortForwading(false)
.secureAccessBastionIssuer("string")
.secureAccessClusterEndpoint("string")
.secureAccessEnable("string")
.secureAccessWeb(false)
.tags("string")
.targetName("string")
.userTtl("string")
.build());
dynamic_secret_gke_resource = akeyless.DynamicSecretGke("dynamicSecretGkeResource",
dynamic_secret_gke_id="string",
encryption_key_name="string",
gke_account_key="string",
gke_cluster_cert="string",
gke_cluster_endpoint="string",
gke_cluster_name="string",
gke_service_account_email="string",
name="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")
const dynamicSecretGkeResource = new akeyless.DynamicSecretGke("dynamicSecretGkeResource", {
dynamicSecretGkeId: "string",
encryptionKeyName: "string",
gkeAccountKey: "string",
gkeClusterCert: "string",
gkeClusterEndpoint: "string",
gkeClusterName: "string",
gkeServiceAccountEmail: "string",
name: "string",
secureAccessAllowPortForwading: false,
secureAccessBastionIssuer: "string",
secureAccessClusterEndpoint: "string",
secureAccessEnable: "string",
secureAccessWeb: false,
tags: ["string"],
targetName: "string",
userTtl: "string",
});
type: akeyless:DynamicSecretGke
properties:
dynamicSecretGkeId: string
encryptionKeyName: string
gkeAccountKey: string
gkeClusterCert: string
gkeClusterEndpoint: string
gkeClusterName: string
gkeServiceAccountEmail: string
name: string
secureAccessAllowPortForwading: false
secureAccessBastionIssuer: string
secureAccessClusterEndpoint: string
secureAccessEnable: string
secureAccessWeb: false
tags:
- string
targetName: string
userTtl: string
DynamicSecretGke 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 DynamicSecretGke resource accepts the following input properties:
- Dynamic
Secret stringGke Id - The ID of this resource.
- Encryption
Key stringName - Encrypt dynamic secret details with following key
- Gke
Account stringKey - GKE service account key
- Gke
Cluster stringCert - GKE Base-64 encoded cluster certificate
- Gke
Cluster stringEndpoint - GKE cluster endpoint, i.e., cluster URI https://\n\n.
- Gke
Cluster stringName - GKE cluster name
- Gke
Service stringAccount Email - GKE service account email
- Name string
- Dynamic secret name
- Secure
Access boolAllow Port Forwading - Enable Port forwarding while using CLI access.
- Secure
Access stringBastion Issuer - Path to the SSH Certificate Issuer for your Akeyless Bastion
- Secure
Access stringCluster Endpoint - The K8s cluster endpoint URL
- Secure
Access stringEnable - Enable/Disable secure remote access, [true/false]
- Secure
Access boolWeb - Enable Web Secure Remote Access
- List<string>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Target
Name string - Name of existing target to use in dynamic secret creation
- User
Ttl string - User TTL
- Dynamic
Secret stringGke Id - The ID of this resource.
- Encryption
Key stringName - Encrypt dynamic secret details with following key
- Gke
Account stringKey - GKE service account key
- Gke
Cluster stringCert - GKE Base-64 encoded cluster certificate
- Gke
Cluster stringEndpoint - GKE cluster endpoint, i.e., cluster URI https://\n\n.
- Gke
Cluster stringName - GKE cluster name
- Gke
Service stringAccount Email - GKE service account email
- Name string
- Dynamic secret name
- Secure
Access boolAllow Port Forwading - Enable Port forwarding while using CLI access.
- Secure
Access stringBastion Issuer - Path to the SSH Certificate Issuer for your Akeyless Bastion
- Secure
Access stringCluster Endpoint - The K8s cluster endpoint URL
- Secure
Access stringEnable - Enable/Disable secure remote access, [true/false]
- Secure
Access boolWeb - Enable Web Secure Remote Access
- []string
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Target
Name string - Name of existing target to use in dynamic secret creation
- User
Ttl string - User TTL
- dynamic
Secret StringGke Id - The ID of this resource.
- encryption
Key StringName - Encrypt dynamic secret details with following key
- gke
Account StringKey - GKE service account key
- gke
Cluster StringCert - GKE Base-64 encoded cluster certificate
- gke
Cluster StringEndpoint - GKE cluster endpoint, i.e., cluster URI https://\n\n.
- gke
Cluster StringName - GKE cluster name
- gke
Service StringAccount Email - GKE service account email
- name String
- Dynamic secret name
- secure
Access BooleanAllow Port Forwading - Enable Port forwarding while using CLI access.
- secure
Access StringBastion Issuer - Path to the SSH Certificate Issuer for your Akeyless Bastion
- secure
Access StringCluster Endpoint - The K8s cluster endpoint URL
- secure
Access StringEnable - Enable/Disable secure remote access, [true/false]
- secure
Access BooleanWeb - Enable Web Secure Remote Access
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target
Name String - Name of existing target to use in dynamic secret creation
- user
Ttl String - User TTL
- dynamic
Secret stringGke Id - The ID of this resource.
- encryption
Key stringName - Encrypt dynamic secret details with following key
- gke
Account stringKey - GKE service account key
- gke
Cluster stringCert - GKE Base-64 encoded cluster certificate
- gke
Cluster stringEndpoint - GKE cluster endpoint, i.e., cluster URI https://\n\n.
- gke
Cluster stringName - GKE cluster name
- gke
Service stringAccount Email - GKE service account email
- name string
- Dynamic secret name
- secure
Access booleanAllow Port Forwading - Enable Port forwarding while using CLI access.
- secure
Access stringBastion Issuer - Path to the SSH Certificate Issuer for your Akeyless Bastion
- secure
Access stringCluster Endpoint - The K8s cluster endpoint URL
- secure
Access stringEnable - Enable/Disable secure remote access, [true/false]
- secure
Access booleanWeb - Enable Web Secure Remote Access
- string[]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target
Name string - Name of existing target to use in dynamic secret creation
- user
Ttl string - User TTL
- dynamic_
secret_ strgke_ id - The ID of this resource.
- encryption_
key_ strname - Encrypt dynamic secret details with following key
- gke_
account_ strkey - GKE service account key
- gke_
cluster_ strcert - GKE Base-64 encoded cluster certificate
- gke_
cluster_ strendpoint - GKE cluster endpoint, i.e., cluster URI https://\n\n.
- gke_
cluster_ strname - GKE cluster name
- gke_
service_ straccount_ email - GKE service account email
- name str
- Dynamic secret name
- secure_
access_ boolallow_ port_ forwading - Enable Port forwarding while using CLI access.
- secure_
access_ strbastion_ issuer - Path to the SSH Certificate Issuer for your Akeyless Bastion
- secure_
access_ strcluster_ endpoint - The K8s cluster endpoint URL
- secure_
access_ strenable - Enable/Disable secure remote access, [true/false]
- secure_
access_ boolweb - Enable Web Secure Remote Access
- 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 dynamic secret creation
- user_
ttl str - User TTL
- dynamic
Secret StringGke Id - The ID of this resource.
- encryption
Key StringName - Encrypt dynamic secret details with following key
- gke
Account StringKey - GKE service account key
- gke
Cluster StringCert - GKE Base-64 encoded cluster certificate
- gke
Cluster StringEndpoint - GKE cluster endpoint, i.e., cluster URI https://\n\n.
- gke
Cluster StringName - GKE cluster name
- gke
Service StringAccount Email - GKE service account email
- name String
- Dynamic secret name
- secure
Access BooleanAllow Port Forwading - Enable Port forwarding while using CLI access.
- secure
Access StringBastion Issuer - Path to the SSH Certificate Issuer for your Akeyless Bastion
- secure
Access StringCluster Endpoint - The K8s cluster endpoint URL
- secure
Access StringEnable - Enable/Disable secure remote access, [true/false]
- secure
Access BooleanWeb - Enable Web Secure Remote Access
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target
Name String - Name of existing target to use in dynamic secret creation
- user
Ttl String - User TTL
Outputs
All input properties are implicitly available as output properties. Additionally, the DynamicSecretGke 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 DynamicSecretGke Resource
Get an existing DynamicSecretGke 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?: DynamicSecretGkeState, opts?: CustomResourceOptions): DynamicSecretGke
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
dynamic_secret_gke_id: Optional[str] = None,
encryption_key_name: Optional[str] = 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,
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) -> DynamicSecretGke
func GetDynamicSecretGke(ctx *Context, name string, id IDInput, state *DynamicSecretGkeState, opts ...ResourceOption) (*DynamicSecretGke, error)
public static DynamicSecretGke Get(string name, Input<string> id, DynamicSecretGkeState? state, CustomResourceOptions? opts = null)
public static DynamicSecretGke get(String name, Output<String> id, DynamicSecretGkeState state, CustomResourceOptions options)
resources: _: type: akeyless:DynamicSecretGke 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.
- Dynamic
Secret stringGke Id - The ID of this resource.
- Encryption
Key stringName - Encrypt dynamic secret details with following key
- Gke
Account stringKey - GKE service account key
- Gke
Cluster stringCert - GKE Base-64 encoded cluster certificate
- Gke
Cluster stringEndpoint - GKE cluster endpoint, i.e., cluster URI https://\n\n.
- Gke
Cluster stringName - GKE cluster name
- Gke
Service stringAccount Email - GKE service account email
- Name string
- Dynamic secret name
- Secure
Access boolAllow Port Forwading - Enable Port forwarding while using CLI access.
- Secure
Access stringBastion Issuer - Path to the SSH Certificate Issuer for your Akeyless Bastion
- Secure
Access stringCluster Endpoint - The K8s cluster endpoint URL
- Secure
Access stringEnable - Enable/Disable secure remote access, [true/false]
- Secure
Access boolWeb - Enable Web Secure Remote Access
- List<string>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Target
Name string - Name of existing target to use in dynamic secret creation
- User
Ttl string - User TTL
- Dynamic
Secret stringGke Id - The ID of this resource.
- Encryption
Key stringName - Encrypt dynamic secret details with following key
- Gke
Account stringKey - GKE service account key
- Gke
Cluster stringCert - GKE Base-64 encoded cluster certificate
- Gke
Cluster stringEndpoint - GKE cluster endpoint, i.e., cluster URI https://\n\n.
- Gke
Cluster stringName - GKE cluster name
- Gke
Service stringAccount Email - GKE service account email
- Name string
- Dynamic secret name
- Secure
Access boolAllow Port Forwading - Enable Port forwarding while using CLI access.
- Secure
Access stringBastion Issuer - Path to the SSH Certificate Issuer for your Akeyless Bastion
- Secure
Access stringCluster Endpoint - The K8s cluster endpoint URL
- Secure
Access stringEnable - Enable/Disable secure remote access, [true/false]
- Secure
Access boolWeb - Enable Web Secure Remote Access
- []string
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Target
Name string - Name of existing target to use in dynamic secret creation
- User
Ttl string - User TTL
- dynamic
Secret StringGke Id - The ID of this resource.
- encryption
Key StringName - Encrypt dynamic secret details with following key
- gke
Account StringKey - GKE service account key
- gke
Cluster StringCert - GKE Base-64 encoded cluster certificate
- gke
Cluster StringEndpoint - GKE cluster endpoint, i.e., cluster URI https://\n\n.
- gke
Cluster StringName - GKE cluster name
- gke
Service StringAccount Email - GKE service account email
- name String
- Dynamic secret name
- secure
Access BooleanAllow Port Forwading - Enable Port forwarding while using CLI access.
- secure
Access StringBastion Issuer - Path to the SSH Certificate Issuer for your Akeyless Bastion
- secure
Access StringCluster Endpoint - The K8s cluster endpoint URL
- secure
Access StringEnable - Enable/Disable secure remote access, [true/false]
- secure
Access BooleanWeb - Enable Web Secure Remote Access
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target
Name String - Name of existing target to use in dynamic secret creation
- user
Ttl String - User TTL
- dynamic
Secret stringGke Id - The ID of this resource.
- encryption
Key stringName - Encrypt dynamic secret details with following key
- gke
Account stringKey - GKE service account key
- gke
Cluster stringCert - GKE Base-64 encoded cluster certificate
- gke
Cluster stringEndpoint - GKE cluster endpoint, i.e., cluster URI https://\n\n.
- gke
Cluster stringName - GKE cluster name
- gke
Service stringAccount Email - GKE service account email
- name string
- Dynamic secret name
- secure
Access booleanAllow Port Forwading - Enable Port forwarding while using CLI access.
- secure
Access stringBastion Issuer - Path to the SSH Certificate Issuer for your Akeyless Bastion
- secure
Access stringCluster Endpoint - The K8s cluster endpoint URL
- secure
Access stringEnable - Enable/Disable secure remote access, [true/false]
- secure
Access booleanWeb - Enable Web Secure Remote Access
- string[]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target
Name string - Name of existing target to use in dynamic secret creation
- user
Ttl string - User TTL
- dynamic_
secret_ strgke_ id - The ID of this resource.
- encryption_
key_ strname - Encrypt dynamic secret details with following key
- gke_
account_ strkey - GKE service account key
- gke_
cluster_ strcert - GKE Base-64 encoded cluster certificate
- gke_
cluster_ strendpoint - GKE cluster endpoint, i.e., cluster URI https://\n\n.
- gke_
cluster_ strname - GKE cluster name
- gke_
service_ straccount_ email - GKE service account email
- name str
- Dynamic secret name
- secure_
access_ boolallow_ port_ forwading - Enable Port forwarding while using CLI access.
- secure_
access_ strbastion_ issuer - Path to the SSH Certificate Issuer for your Akeyless Bastion
- secure_
access_ strcluster_ endpoint - The K8s cluster endpoint URL
- secure_
access_ strenable - Enable/Disable secure remote access, [true/false]
- secure_
access_ boolweb - Enable Web Secure Remote Access
- 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 dynamic secret creation
- user_
ttl str - User TTL
- dynamic
Secret StringGke Id - The ID of this resource.
- encryption
Key StringName - Encrypt dynamic secret details with following key
- gke
Account StringKey - GKE service account key
- gke
Cluster StringCert - GKE Base-64 encoded cluster certificate
- gke
Cluster StringEndpoint - GKE cluster endpoint, i.e., cluster URI https://\n\n.
- gke
Cluster StringName - GKE cluster name
- gke
Service StringAccount Email - GKE service account email
- name String
- Dynamic secret name
- secure
Access BooleanAllow Port Forwading - Enable Port forwarding while using CLI access.
- secure
Access StringBastion Issuer - Path to the SSH Certificate Issuer for your Akeyless Bastion
- secure
Access StringCluster Endpoint - The K8s cluster endpoint URL
- secure
Access StringEnable - Enable/Disable secure remote access, [true/false]
- secure
Access BooleanWeb - Enable Web Secure Remote Access
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- target
Name String - Name of existing target to use in dynamic secret creation
- user
Ttl String - User TTL
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeyless
Terraform Provider.