rancher2.CloudCredential
Explore with Pulumi AI
Provides a Rancher v2 Cloud Credential resource. This can be used to create Cloud Credential for Rancher v2.2.x and retrieve their information.
amazonec2, azure, digitalocean, harvester, linode, openstack and vsphere credentials config are supported for Cloud Credential.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as rancher2 from "@pulumi/rancher2";
// Create a new rancher2 Cloud Credential
const foo = new rancher2.CloudCredential("foo", {
    name: "foo",
    description: "foo test",
    amazonec2CredentialConfig: {
        accessKey: "<AWS_ACCESS_KEY>",
        secretKey: "<AWS_SECRET_KEY>",
    },
});
import pulumi
import pulumi_rancher2 as rancher2
# Create a new rancher2 Cloud Credential
foo = rancher2.CloudCredential("foo",
    name="foo",
    description="foo test",
    amazonec2_credential_config={
        "access_key": "<AWS_ACCESS_KEY>",
        "secret_key": "<AWS_SECRET_KEY>",
    })
package main
import (
	"github.com/pulumi/pulumi-rancher2/sdk/v8/go/rancher2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Create a new rancher2 Cloud Credential
		_, err := rancher2.NewCloudCredential(ctx, "foo", &rancher2.CloudCredentialArgs{
			Name:        pulumi.String("foo"),
			Description: pulumi.String("foo test"),
			Amazonec2CredentialConfig: &rancher2.CloudCredentialAmazonec2CredentialConfigArgs{
				AccessKey: pulumi.String("<AWS_ACCESS_KEY>"),
				SecretKey: pulumi.String("<AWS_SECRET_KEY>"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Rancher2 = Pulumi.Rancher2;
return await Deployment.RunAsync(() => 
{
    // Create a new rancher2 Cloud Credential
    var foo = new Rancher2.CloudCredential("foo", new()
    {
        Name = "foo",
        Description = "foo test",
        Amazonec2CredentialConfig = new Rancher2.Inputs.CloudCredentialAmazonec2CredentialConfigArgs
        {
            AccessKey = "<AWS_ACCESS_KEY>",
            SecretKey = "<AWS_SECRET_KEY>",
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.rancher2.CloudCredential;
import com.pulumi.rancher2.CloudCredentialArgs;
import com.pulumi.rancher2.inputs.CloudCredentialAmazonec2CredentialConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        // Create a new rancher2 Cloud Credential
        var foo = new CloudCredential("foo", CloudCredentialArgs.builder()
            .name("foo")
            .description("foo test")
            .amazonec2CredentialConfig(CloudCredentialAmazonec2CredentialConfigArgs.builder()
                .accessKey("<AWS_ACCESS_KEY>")
                .secretKey("<AWS_SECRET_KEY>")
                .build())
            .build());
    }
}
resources:
  # Create a new rancher2 Cloud Credential
  foo:
    type: rancher2:CloudCredential
    properties:
      name: foo
      description: foo test
      amazonec2CredentialConfig:
        accessKey: <AWS_ACCESS_KEY>
        secretKey: <AWS_SECRET_KEY>
import * as pulumi from "@pulumi/pulumi";
import * as rancher2 from "@pulumi/rancher2";
// Get imported harvester cluster info
const foo_harvester = rancher2.getClusterV2({
    name: "foo-harvester",
});
// Create a new Cloud Credential for an imported Harvester cluster
const foo_harvesterCloudCredential = new rancher2.CloudCredential("foo-harvester", {
    name: "foo-harvester",
    harvesterCredentialConfig: {
        clusterId: foo_harvester.then(foo_harvester => foo_harvester.clusterV1Id),
        clusterType: "imported",
        kubeconfigContent: foo_harvester.then(foo_harvester => foo_harvester.kubeConfig),
    },
});
import pulumi
import pulumi_rancher2 as rancher2
# Get imported harvester cluster info
foo_harvester = rancher2.get_cluster_v2(name="foo-harvester")
# Create a new Cloud Credential for an imported Harvester cluster
foo_harvester_cloud_credential = rancher2.CloudCredential("foo-harvester",
    name="foo-harvester",
    harvester_credential_config={
        "cluster_id": foo_harvester.cluster_v1_id,
        "cluster_type": "imported",
        "kubeconfig_content": foo_harvester.kube_config,
    })
package main
import (
	"github.com/pulumi/pulumi-rancher2/sdk/v8/go/rancher2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Get imported harvester cluster info
		foo_harvester, err := rancher2.LookupClusterV2(ctx, &rancher2.LookupClusterV2Args{
			Name: "foo-harvester",
		}, nil)
		if err != nil {
			return err
		}
		// Create a new Cloud Credential for an imported Harvester cluster
		_, err = rancher2.NewCloudCredential(ctx, "foo-harvester", &rancher2.CloudCredentialArgs{
			Name: pulumi.String("foo-harvester"),
			HarvesterCredentialConfig: &rancher2.CloudCredentialHarvesterCredentialConfigArgs{
				ClusterId:         pulumi.String(foo_harvester.ClusterV1Id),
				ClusterType:       pulumi.String("imported"),
				KubeconfigContent: pulumi.String(foo_harvester.KubeConfig),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Rancher2 = Pulumi.Rancher2;
return await Deployment.RunAsync(() => 
{
    // Get imported harvester cluster info
    var foo_harvester = Rancher2.GetClusterV2.Invoke(new()
    {
        Name = "foo-harvester",
    });
    // Create a new Cloud Credential for an imported Harvester cluster
    var foo_harvesterCloudCredential = new Rancher2.CloudCredential("foo-harvester", new()
    {
        Name = "foo-harvester",
        HarvesterCredentialConfig = new Rancher2.Inputs.CloudCredentialHarvesterCredentialConfigArgs
        {
            ClusterId = foo_harvester.Apply(foo_harvester => foo_harvester.Apply(getClusterV2Result => getClusterV2Result.ClusterV1Id)),
            ClusterType = "imported",
            KubeconfigContent = foo_harvester.Apply(foo_harvester => foo_harvester.Apply(getClusterV2Result => getClusterV2Result.KubeConfig)),
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.rancher2.Rancher2Functions;
import com.pulumi.rancher2.inputs.GetClusterV2Args;
import com.pulumi.rancher2.CloudCredential;
import com.pulumi.rancher2.CloudCredentialArgs;
import com.pulumi.rancher2.inputs.CloudCredentialHarvesterCredentialConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        // Get imported harvester cluster info
        final var foo-harvester = Rancher2Functions.getClusterV2(GetClusterV2Args.builder()
            .name("foo-harvester")
            .build());
        // Create a new Cloud Credential for an imported Harvester cluster
        var foo_harvesterCloudCredential = new CloudCredential("foo-harvesterCloudCredential", CloudCredentialArgs.builder()
            .name("foo-harvester")
            .harvesterCredentialConfig(CloudCredentialHarvesterCredentialConfigArgs.builder()
                .clusterId(foo_harvester.clusterV1Id())
                .clusterType("imported")
                .kubeconfigContent(foo_harvester.kubeConfig())
                .build())
            .build());
    }
}
resources:
  # Create a new Cloud Credential for an imported Harvester cluster
  foo-harvesterCloudCredential:
    type: rancher2:CloudCredential
    name: foo-harvester
    properties:
      name: foo-harvester
      harvesterCredentialConfig:
        clusterId: ${["foo-harvester"].clusterV1Id}
        clusterType: imported
        kubeconfigContent: ${["foo-harvester"].kubeConfig}
variables:
  # Get imported harvester cluster info
  foo-harvester:
    fn::invoke:
      function: rancher2:getClusterV2
      arguments:
        name: foo-harvester
Create CloudCredential Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CloudCredential(name: string, args?: CloudCredentialArgs, opts?: CustomResourceOptions);@overload
def CloudCredential(resource_name: str,
                    args: Optional[CloudCredentialArgs] = None,
                    opts: Optional[ResourceOptions] = None)
@overload
def CloudCredential(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    amazonec2_credential_config: Optional[CloudCredentialAmazonec2CredentialConfigArgs] = None,
                    annotations: Optional[Mapping[str, str]] = None,
                    azure_credential_config: Optional[CloudCredentialAzureCredentialConfigArgs] = None,
                    description: Optional[str] = None,
                    digitalocean_credential_config: Optional[CloudCredentialDigitaloceanCredentialConfigArgs] = None,
                    google_credential_config: Optional[CloudCredentialGoogleCredentialConfigArgs] = None,
                    harvester_credential_config: Optional[CloudCredentialHarvesterCredentialConfigArgs] = None,
                    labels: Optional[Mapping[str, str]] = None,
                    linode_credential_config: Optional[CloudCredentialLinodeCredentialConfigArgs] = None,
                    name: Optional[str] = None,
                    openstack_credential_config: Optional[CloudCredentialOpenstackCredentialConfigArgs] = None,
                    s3_credential_config: Optional[CloudCredentialS3CredentialConfigArgs] = None,
                    vsphere_credential_config: Optional[CloudCredentialVsphereCredentialConfigArgs] = None)func NewCloudCredential(ctx *Context, name string, args *CloudCredentialArgs, opts ...ResourceOption) (*CloudCredential, error)public CloudCredential(string name, CloudCredentialArgs? args = null, CustomResourceOptions? opts = null)
public CloudCredential(String name, CloudCredentialArgs args)
public CloudCredential(String name, CloudCredentialArgs args, CustomResourceOptions options)
type: rancher2:CloudCredential
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 CloudCredentialArgs
- 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 CloudCredentialArgs
- 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 CloudCredentialArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudCredentialArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudCredentialArgs
- 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 cloudCredentialResource = new Rancher2.CloudCredential("cloudCredentialResource", new()
{
    Amazonec2CredentialConfig = new Rancher2.Inputs.CloudCredentialAmazonec2CredentialConfigArgs
    {
        AccessKey = "string",
        SecretKey = "string",
        DefaultRegion = "string",
    },
    Annotations = 
    {
        { "string", "string" },
    },
    AzureCredentialConfig = new Rancher2.Inputs.CloudCredentialAzureCredentialConfigArgs
    {
        ClientId = "string",
        ClientSecret = "string",
        SubscriptionId = "string",
        Environment = "string",
        TenantId = "string",
    },
    Description = "string",
    DigitaloceanCredentialConfig = new Rancher2.Inputs.CloudCredentialDigitaloceanCredentialConfigArgs
    {
        AccessToken = "string",
    },
    GoogleCredentialConfig = new Rancher2.Inputs.CloudCredentialGoogleCredentialConfigArgs
    {
        AuthEncodedJson = "string",
    },
    HarvesterCredentialConfig = new Rancher2.Inputs.CloudCredentialHarvesterCredentialConfigArgs
    {
        ClusterType = "string",
        KubeconfigContent = "string",
        ClusterId = "string",
    },
    Labels = 
    {
        { "string", "string" },
    },
    LinodeCredentialConfig = new Rancher2.Inputs.CloudCredentialLinodeCredentialConfigArgs
    {
        Token = "string",
    },
    Name = "string",
    OpenstackCredentialConfig = new Rancher2.Inputs.CloudCredentialOpenstackCredentialConfigArgs
    {
        Password = "string",
    },
    S3CredentialConfig = new Rancher2.Inputs.CloudCredentialS3CredentialConfigArgs
    {
        AccessKey = "string",
        SecretKey = "string",
        DefaultBucket = "string",
        DefaultEndpoint = "string",
        DefaultEndpointCa = "string",
        DefaultFolder = "string",
        DefaultRegion = "string",
        DefaultSkipSslVerify = false,
    },
    VsphereCredentialConfig = new Rancher2.Inputs.CloudCredentialVsphereCredentialConfigArgs
    {
        Password = "string",
        Username = "string",
        Vcenter = "string",
        VcenterPort = "string",
    },
});
example, err := rancher2.NewCloudCredential(ctx, "cloudCredentialResource", &rancher2.CloudCredentialArgs{
	Amazonec2CredentialConfig: &rancher2.CloudCredentialAmazonec2CredentialConfigArgs{
		AccessKey:     pulumi.String("string"),
		SecretKey:     pulumi.String("string"),
		DefaultRegion: pulumi.String("string"),
	},
	Annotations: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	AzureCredentialConfig: &rancher2.CloudCredentialAzureCredentialConfigArgs{
		ClientId:       pulumi.String("string"),
		ClientSecret:   pulumi.String("string"),
		SubscriptionId: pulumi.String("string"),
		Environment:    pulumi.String("string"),
		TenantId:       pulumi.String("string"),
	},
	Description: pulumi.String("string"),
	DigitaloceanCredentialConfig: &rancher2.CloudCredentialDigitaloceanCredentialConfigArgs{
		AccessToken: pulumi.String("string"),
	},
	GoogleCredentialConfig: &rancher2.CloudCredentialGoogleCredentialConfigArgs{
		AuthEncodedJson: pulumi.String("string"),
	},
	HarvesterCredentialConfig: &rancher2.CloudCredentialHarvesterCredentialConfigArgs{
		ClusterType:       pulumi.String("string"),
		KubeconfigContent: pulumi.String("string"),
		ClusterId:         pulumi.String("string"),
	},
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	LinodeCredentialConfig: &rancher2.CloudCredentialLinodeCredentialConfigArgs{
		Token: pulumi.String("string"),
	},
	Name: pulumi.String("string"),
	OpenstackCredentialConfig: &rancher2.CloudCredentialOpenstackCredentialConfigArgs{
		Password: pulumi.String("string"),
	},
	S3CredentialConfig: &rancher2.CloudCredentialS3CredentialConfigArgs{
		AccessKey:            pulumi.String("string"),
		SecretKey:            pulumi.String("string"),
		DefaultBucket:        pulumi.String("string"),
		DefaultEndpoint:      pulumi.String("string"),
		DefaultEndpointCa:    pulumi.String("string"),
		DefaultFolder:        pulumi.String("string"),
		DefaultRegion:        pulumi.String("string"),
		DefaultSkipSslVerify: pulumi.Bool(false),
	},
	VsphereCredentialConfig: &rancher2.CloudCredentialVsphereCredentialConfigArgs{
		Password:    pulumi.String("string"),
		Username:    pulumi.String("string"),
		Vcenter:     pulumi.String("string"),
		VcenterPort: pulumi.String("string"),
	},
})
var cloudCredentialResource = new CloudCredential("cloudCredentialResource", CloudCredentialArgs.builder()
    .amazonec2CredentialConfig(CloudCredentialAmazonec2CredentialConfigArgs.builder()
        .accessKey("string")
        .secretKey("string")
        .defaultRegion("string")
        .build())
    .annotations(Map.of("string", "string"))
    .azureCredentialConfig(CloudCredentialAzureCredentialConfigArgs.builder()
        .clientId("string")
        .clientSecret("string")
        .subscriptionId("string")
        .environment("string")
        .tenantId("string")
        .build())
    .description("string")
    .digitaloceanCredentialConfig(CloudCredentialDigitaloceanCredentialConfigArgs.builder()
        .accessToken("string")
        .build())
    .googleCredentialConfig(CloudCredentialGoogleCredentialConfigArgs.builder()
        .authEncodedJson("string")
        .build())
    .harvesterCredentialConfig(CloudCredentialHarvesterCredentialConfigArgs.builder()
        .clusterType("string")
        .kubeconfigContent("string")
        .clusterId("string")
        .build())
    .labels(Map.of("string", "string"))
    .linodeCredentialConfig(CloudCredentialLinodeCredentialConfigArgs.builder()
        .token("string")
        .build())
    .name("string")
    .openstackCredentialConfig(CloudCredentialOpenstackCredentialConfigArgs.builder()
        .password("string")
        .build())
    .s3CredentialConfig(CloudCredentialS3CredentialConfigArgs.builder()
        .accessKey("string")
        .secretKey("string")
        .defaultBucket("string")
        .defaultEndpoint("string")
        .defaultEndpointCa("string")
        .defaultFolder("string")
        .defaultRegion("string")
        .defaultSkipSslVerify(false)
        .build())
    .vsphereCredentialConfig(CloudCredentialVsphereCredentialConfigArgs.builder()
        .password("string")
        .username("string")
        .vcenter("string")
        .vcenterPort("string")
        .build())
    .build());
cloud_credential_resource = rancher2.CloudCredential("cloudCredentialResource",
    amazonec2_credential_config={
        "access_key": "string",
        "secret_key": "string",
        "default_region": "string",
    },
    annotations={
        "string": "string",
    },
    azure_credential_config={
        "client_id": "string",
        "client_secret": "string",
        "subscription_id": "string",
        "environment": "string",
        "tenant_id": "string",
    },
    description="string",
    digitalocean_credential_config={
        "access_token": "string",
    },
    google_credential_config={
        "auth_encoded_json": "string",
    },
    harvester_credential_config={
        "cluster_type": "string",
        "kubeconfig_content": "string",
        "cluster_id": "string",
    },
    labels={
        "string": "string",
    },
    linode_credential_config={
        "token": "string",
    },
    name="string",
    openstack_credential_config={
        "password": "string",
    },
    s3_credential_config={
        "access_key": "string",
        "secret_key": "string",
        "default_bucket": "string",
        "default_endpoint": "string",
        "default_endpoint_ca": "string",
        "default_folder": "string",
        "default_region": "string",
        "default_skip_ssl_verify": False,
    },
    vsphere_credential_config={
        "password": "string",
        "username": "string",
        "vcenter": "string",
        "vcenter_port": "string",
    })
const cloudCredentialResource = new rancher2.CloudCredential("cloudCredentialResource", {
    amazonec2CredentialConfig: {
        accessKey: "string",
        secretKey: "string",
        defaultRegion: "string",
    },
    annotations: {
        string: "string",
    },
    azureCredentialConfig: {
        clientId: "string",
        clientSecret: "string",
        subscriptionId: "string",
        environment: "string",
        tenantId: "string",
    },
    description: "string",
    digitaloceanCredentialConfig: {
        accessToken: "string",
    },
    googleCredentialConfig: {
        authEncodedJson: "string",
    },
    harvesterCredentialConfig: {
        clusterType: "string",
        kubeconfigContent: "string",
        clusterId: "string",
    },
    labels: {
        string: "string",
    },
    linodeCredentialConfig: {
        token: "string",
    },
    name: "string",
    openstackCredentialConfig: {
        password: "string",
    },
    s3CredentialConfig: {
        accessKey: "string",
        secretKey: "string",
        defaultBucket: "string",
        defaultEndpoint: "string",
        defaultEndpointCa: "string",
        defaultFolder: "string",
        defaultRegion: "string",
        defaultSkipSslVerify: false,
    },
    vsphereCredentialConfig: {
        password: "string",
        username: "string",
        vcenter: "string",
        vcenterPort: "string",
    },
});
type: rancher2:CloudCredential
properties:
    amazonec2CredentialConfig:
        accessKey: string
        defaultRegion: string
        secretKey: string
    annotations:
        string: string
    azureCredentialConfig:
        clientId: string
        clientSecret: string
        environment: string
        subscriptionId: string
        tenantId: string
    description: string
    digitaloceanCredentialConfig:
        accessToken: string
    googleCredentialConfig:
        authEncodedJson: string
    harvesterCredentialConfig:
        clusterId: string
        clusterType: string
        kubeconfigContent: string
    labels:
        string: string
    linodeCredentialConfig:
        token: string
    name: string
    openstackCredentialConfig:
        password: string
    s3CredentialConfig:
        accessKey: string
        defaultBucket: string
        defaultEndpoint: string
        defaultEndpointCa: string
        defaultFolder: string
        defaultRegion: string
        defaultSkipSslVerify: false
        secretKey: string
    vsphereCredentialConfig:
        password: string
        username: string
        vcenter: string
        vcenterPort: string
CloudCredential 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 CloudCredential resource accepts the following input properties:
- Amazonec2CredentialConfig CloudCredential Amazonec2Credential Config 
- AWS config for the Cloud Credential (list maxitems:1)
- Annotations Dictionary<string, string>
- Annotations for Cloud Credential object (map)
- AzureCredential CloudConfig Credential Azure Credential Config 
- Azure config for the Cloud Credential (list maxitems:1)
- Description string
- Description for the Cloud Credential (string)
- DigitaloceanCredential CloudConfig Credential Digitalocean Credential Config 
- DigitalOcean config for the Cloud Credential (list maxitems:1)
- GoogleCredential CloudConfig Credential Google Credential Config 
- Google config for the Cloud Credential (list maxitems:1)
- HarvesterCredential CloudConfig Credential Harvester Credential Config 
- Harvester config for the Cloud Credential (list maxitems:1)
- Labels Dictionary<string, string>
- Labels for Cloud Credential object (map)
- LinodeCredential CloudConfig Credential Linode Credential Config 
- Linode config for the Cloud Credential (list maxitems:1)
- Name string
- The name of the Cloud Credential (string)
- OpenstackCredential CloudConfig Credential Openstack Credential Config 
- OpenStack config for the Cloud Credential (list maxitems:1)
- S3CredentialConfig CloudCredential S3Credential Config 
- S3 config for the Cloud Credential. For Rancher 2.6.0 and above (list maxitems:1)
- VsphereCredential CloudConfig Credential Vsphere Credential Config 
- vSphere config for the Cloud Credential (list maxitems:1)
- Amazonec2CredentialConfig CloudCredential Amazonec2Credential Config Args 
- AWS config for the Cloud Credential (list maxitems:1)
- Annotations map[string]string
- Annotations for Cloud Credential object (map)
- AzureCredential CloudConfig Credential Azure Credential Config Args 
- Azure config for the Cloud Credential (list maxitems:1)
- Description string
- Description for the Cloud Credential (string)
- DigitaloceanCredential CloudConfig Credential Digitalocean Credential Config Args 
- DigitalOcean config for the Cloud Credential (list maxitems:1)
- GoogleCredential CloudConfig Credential Google Credential Config Args 
- Google config for the Cloud Credential (list maxitems:1)
- HarvesterCredential CloudConfig Credential Harvester Credential Config Args 
- Harvester config for the Cloud Credential (list maxitems:1)
- Labels map[string]string
- Labels for Cloud Credential object (map)
- LinodeCredential CloudConfig Credential Linode Credential Config Args 
- Linode config for the Cloud Credential (list maxitems:1)
- Name string
- The name of the Cloud Credential (string)
- OpenstackCredential CloudConfig Credential Openstack Credential Config Args 
- OpenStack config for the Cloud Credential (list maxitems:1)
- S3CredentialConfig CloudCredential S3Credential Config Args 
- S3 config for the Cloud Credential. For Rancher 2.6.0 and above (list maxitems:1)
- VsphereCredential CloudConfig Credential Vsphere Credential Config Args 
- vSphere config for the Cloud Credential (list maxitems:1)
- amazonec2CredentialConfig CloudCredential Amazonec2Credential Config 
- AWS config for the Cloud Credential (list maxitems:1)
- annotations Map<String,String>
- Annotations for Cloud Credential object (map)
- azureCredential CloudConfig Credential Azure Credential Config 
- Azure config for the Cloud Credential (list maxitems:1)
- description String
- Description for the Cloud Credential (string)
- digitaloceanCredential CloudConfig Credential Digitalocean Credential Config 
- DigitalOcean config for the Cloud Credential (list maxitems:1)
- googleCredential CloudConfig Credential Google Credential Config 
- Google config for the Cloud Credential (list maxitems:1)
- harvesterCredential CloudConfig Credential Harvester Credential Config 
- Harvester config for the Cloud Credential (list maxitems:1)
- labels Map<String,String>
- Labels for Cloud Credential object (map)
- linodeCredential CloudConfig Credential Linode Credential Config 
- Linode config for the Cloud Credential (list maxitems:1)
- name String
- The name of the Cloud Credential (string)
- openstackCredential CloudConfig Credential Openstack Credential Config 
- OpenStack config for the Cloud Credential (list maxitems:1)
- s3CredentialConfig CloudCredential S3Credential Config 
- S3 config for the Cloud Credential. For Rancher 2.6.0 and above (list maxitems:1)
- vsphereCredential CloudConfig Credential Vsphere Credential Config 
- vSphere config for the Cloud Credential (list maxitems:1)
- amazonec2CredentialConfig CloudCredential Amazonec2Credential Config 
- AWS config for the Cloud Credential (list maxitems:1)
- annotations {[key: string]: string}
- Annotations for Cloud Credential object (map)
- azureCredential CloudConfig Credential Azure Credential Config 
- Azure config for the Cloud Credential (list maxitems:1)
- description string
- Description for the Cloud Credential (string)
- digitaloceanCredential CloudConfig Credential Digitalocean Credential Config 
- DigitalOcean config for the Cloud Credential (list maxitems:1)
- googleCredential CloudConfig Credential Google Credential Config 
- Google config for the Cloud Credential (list maxitems:1)
- harvesterCredential CloudConfig Credential Harvester Credential Config 
- Harvester config for the Cloud Credential (list maxitems:1)
- labels {[key: string]: string}
- Labels for Cloud Credential object (map)
- linodeCredential CloudConfig Credential Linode Credential Config 
- Linode config for the Cloud Credential (list maxitems:1)
- name string
- The name of the Cloud Credential (string)
- openstackCredential CloudConfig Credential Openstack Credential Config 
- OpenStack config for the Cloud Credential (list maxitems:1)
- s3CredentialConfig CloudCredential S3Credential Config 
- S3 config for the Cloud Credential. For Rancher 2.6.0 and above (list maxitems:1)
- vsphereCredential CloudConfig Credential Vsphere Credential Config 
- vSphere config for the Cloud Credential (list maxitems:1)
- amazonec2_credential_ Cloudconfig Credential Amazonec2Credential Config Args 
- AWS config for the Cloud Credential (list maxitems:1)
- annotations Mapping[str, str]
- Annotations for Cloud Credential object (map)
- azure_credential_ Cloudconfig Credential Azure Credential Config Args 
- Azure config for the Cloud Credential (list maxitems:1)
- description str
- Description for the Cloud Credential (string)
- digitalocean_credential_ Cloudconfig Credential Digitalocean Credential Config Args 
- DigitalOcean config for the Cloud Credential (list maxitems:1)
- google_credential_ Cloudconfig Credential Google Credential Config Args 
- Google config for the Cloud Credential (list maxitems:1)
- harvester_credential_ Cloudconfig Credential Harvester Credential Config Args 
- Harvester config for the Cloud Credential (list maxitems:1)
- labels Mapping[str, str]
- Labels for Cloud Credential object (map)
- linode_credential_ Cloudconfig Credential Linode Credential Config Args 
- Linode config for the Cloud Credential (list maxitems:1)
- name str
- The name of the Cloud Credential (string)
- openstack_credential_ Cloudconfig Credential Openstack Credential Config Args 
- OpenStack config for the Cloud Credential (list maxitems:1)
- s3_credential_ Cloudconfig Credential S3Credential Config Args 
- S3 config for the Cloud Credential. For Rancher 2.6.0 and above (list maxitems:1)
- vsphere_credential_ Cloudconfig Credential Vsphere Credential Config Args 
- vSphere config for the Cloud Credential (list maxitems:1)
- amazonec2CredentialConfig Property Map
- AWS config for the Cloud Credential (list maxitems:1)
- annotations Map<String>
- Annotations for Cloud Credential object (map)
- azureCredential Property MapConfig 
- Azure config for the Cloud Credential (list maxitems:1)
- description String
- Description for the Cloud Credential (string)
- digitaloceanCredential Property MapConfig 
- DigitalOcean config for the Cloud Credential (list maxitems:1)
- googleCredential Property MapConfig 
- Google config for the Cloud Credential (list maxitems:1)
- harvesterCredential Property MapConfig 
- Harvester config for the Cloud Credential (list maxitems:1)
- labels Map<String>
- Labels for Cloud Credential object (map)
- linodeCredential Property MapConfig 
- Linode config for the Cloud Credential (list maxitems:1)
- name String
- The name of the Cloud Credential (string)
- openstackCredential Property MapConfig 
- OpenStack config for the Cloud Credential (list maxitems:1)
- s3CredentialConfig Property Map
- S3 config for the Cloud Credential. For Rancher 2.6.0 and above (list maxitems:1)
- vsphereCredential Property MapConfig 
- vSphere config for the Cloud Credential (list maxitems:1)
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudCredential resource produces the following output properties:
Look up Existing CloudCredential Resource
Get an existing CloudCredential 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?: CloudCredentialState, opts?: CustomResourceOptions): CloudCredential@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        amazonec2_credential_config: Optional[CloudCredentialAmazonec2CredentialConfigArgs] = None,
        annotations: Optional[Mapping[str, str]] = None,
        azure_credential_config: Optional[CloudCredentialAzureCredentialConfigArgs] = None,
        description: Optional[str] = None,
        digitalocean_credential_config: Optional[CloudCredentialDigitaloceanCredentialConfigArgs] = None,
        driver: Optional[str] = None,
        google_credential_config: Optional[CloudCredentialGoogleCredentialConfigArgs] = None,
        harvester_credential_config: Optional[CloudCredentialHarvesterCredentialConfigArgs] = None,
        labels: Optional[Mapping[str, str]] = None,
        linode_credential_config: Optional[CloudCredentialLinodeCredentialConfigArgs] = None,
        name: Optional[str] = None,
        openstack_credential_config: Optional[CloudCredentialOpenstackCredentialConfigArgs] = None,
        s3_credential_config: Optional[CloudCredentialS3CredentialConfigArgs] = None,
        vsphere_credential_config: Optional[CloudCredentialVsphereCredentialConfigArgs] = None) -> CloudCredentialfunc GetCloudCredential(ctx *Context, name string, id IDInput, state *CloudCredentialState, opts ...ResourceOption) (*CloudCredential, error)public static CloudCredential Get(string name, Input<string> id, CloudCredentialState? state, CustomResourceOptions? opts = null)public static CloudCredential get(String name, Output<String> id, CloudCredentialState state, CustomResourceOptions options)resources:  _:    type: rancher2:CloudCredential    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.
- Amazonec2CredentialConfig CloudCredential Amazonec2Credential Config 
- AWS config for the Cloud Credential (list maxitems:1)
- Annotations Dictionary<string, string>
- Annotations for Cloud Credential object (map)
- AzureCredential CloudConfig Credential Azure Credential Config 
- Azure config for the Cloud Credential (list maxitems:1)
- Description string
- Description for the Cloud Credential (string)
- DigitaloceanCredential CloudConfig Credential Digitalocean Credential Config 
- DigitalOcean config for the Cloud Credential (list maxitems:1)
- Driver string
- (Computed) The driver of the Cloud Credential (string)
- GoogleCredential CloudConfig Credential Google Credential Config 
- Google config for the Cloud Credential (list maxitems:1)
- HarvesterCredential CloudConfig Credential Harvester Credential Config 
- Harvester config for the Cloud Credential (list maxitems:1)
- Labels Dictionary<string, string>
- Labels for Cloud Credential object (map)
- LinodeCredential CloudConfig Credential Linode Credential Config 
- Linode config for the Cloud Credential (list maxitems:1)
- Name string
- The name of the Cloud Credential (string)
- OpenstackCredential CloudConfig Credential Openstack Credential Config 
- OpenStack config for the Cloud Credential (list maxitems:1)
- S3CredentialConfig CloudCredential S3Credential Config 
- S3 config for the Cloud Credential. For Rancher 2.6.0 and above (list maxitems:1)
- VsphereCredential CloudConfig Credential Vsphere Credential Config 
- vSphere config for the Cloud Credential (list maxitems:1)
- Amazonec2CredentialConfig CloudCredential Amazonec2Credential Config Args 
- AWS config for the Cloud Credential (list maxitems:1)
- Annotations map[string]string
- Annotations for Cloud Credential object (map)
- AzureCredential CloudConfig Credential Azure Credential Config Args 
- Azure config for the Cloud Credential (list maxitems:1)
- Description string
- Description for the Cloud Credential (string)
- DigitaloceanCredential CloudConfig Credential Digitalocean Credential Config Args 
- DigitalOcean config for the Cloud Credential (list maxitems:1)
- Driver string
- (Computed) The driver of the Cloud Credential (string)
- GoogleCredential CloudConfig Credential Google Credential Config Args 
- Google config for the Cloud Credential (list maxitems:1)
- HarvesterCredential CloudConfig Credential Harvester Credential Config Args 
- Harvester config for the Cloud Credential (list maxitems:1)
- Labels map[string]string
- Labels for Cloud Credential object (map)
- LinodeCredential CloudConfig Credential Linode Credential Config Args 
- Linode config for the Cloud Credential (list maxitems:1)
- Name string
- The name of the Cloud Credential (string)
- OpenstackCredential CloudConfig Credential Openstack Credential Config Args 
- OpenStack config for the Cloud Credential (list maxitems:1)
- S3CredentialConfig CloudCredential S3Credential Config Args 
- S3 config for the Cloud Credential. For Rancher 2.6.0 and above (list maxitems:1)
- VsphereCredential CloudConfig Credential Vsphere Credential Config Args 
- vSphere config for the Cloud Credential (list maxitems:1)
- amazonec2CredentialConfig CloudCredential Amazonec2Credential Config 
- AWS config for the Cloud Credential (list maxitems:1)
- annotations Map<String,String>
- Annotations for Cloud Credential object (map)
- azureCredential CloudConfig Credential Azure Credential Config 
- Azure config for the Cloud Credential (list maxitems:1)
- description String
- Description for the Cloud Credential (string)
- digitaloceanCredential CloudConfig Credential Digitalocean Credential Config 
- DigitalOcean config for the Cloud Credential (list maxitems:1)
- driver String
- (Computed) The driver of the Cloud Credential (string)
- googleCredential CloudConfig Credential Google Credential Config 
- Google config for the Cloud Credential (list maxitems:1)
- harvesterCredential CloudConfig Credential Harvester Credential Config 
- Harvester config for the Cloud Credential (list maxitems:1)
- labels Map<String,String>
- Labels for Cloud Credential object (map)
- linodeCredential CloudConfig Credential Linode Credential Config 
- Linode config for the Cloud Credential (list maxitems:1)
- name String
- The name of the Cloud Credential (string)
- openstackCredential CloudConfig Credential Openstack Credential Config 
- OpenStack config for the Cloud Credential (list maxitems:1)
- s3CredentialConfig CloudCredential S3Credential Config 
- S3 config for the Cloud Credential. For Rancher 2.6.0 and above (list maxitems:1)
- vsphereCredential CloudConfig Credential Vsphere Credential Config 
- vSphere config for the Cloud Credential (list maxitems:1)
- amazonec2CredentialConfig CloudCredential Amazonec2Credential Config 
- AWS config for the Cloud Credential (list maxitems:1)
- annotations {[key: string]: string}
- Annotations for Cloud Credential object (map)
- azureCredential CloudConfig Credential Azure Credential Config 
- Azure config for the Cloud Credential (list maxitems:1)
- description string
- Description for the Cloud Credential (string)
- digitaloceanCredential CloudConfig Credential Digitalocean Credential Config 
- DigitalOcean config for the Cloud Credential (list maxitems:1)
- driver string
- (Computed) The driver of the Cloud Credential (string)
- googleCredential CloudConfig Credential Google Credential Config 
- Google config for the Cloud Credential (list maxitems:1)
- harvesterCredential CloudConfig Credential Harvester Credential Config 
- Harvester config for the Cloud Credential (list maxitems:1)
- labels {[key: string]: string}
- Labels for Cloud Credential object (map)
- linodeCredential CloudConfig Credential Linode Credential Config 
- Linode config for the Cloud Credential (list maxitems:1)
- name string
- The name of the Cloud Credential (string)
- openstackCredential CloudConfig Credential Openstack Credential Config 
- OpenStack config for the Cloud Credential (list maxitems:1)
- s3CredentialConfig CloudCredential S3Credential Config 
- S3 config for the Cloud Credential. For Rancher 2.6.0 and above (list maxitems:1)
- vsphereCredential CloudConfig Credential Vsphere Credential Config 
- vSphere config for the Cloud Credential (list maxitems:1)
- amazonec2_credential_ Cloudconfig Credential Amazonec2Credential Config Args 
- AWS config for the Cloud Credential (list maxitems:1)
- annotations Mapping[str, str]
- Annotations for Cloud Credential object (map)
- azure_credential_ Cloudconfig Credential Azure Credential Config Args 
- Azure config for the Cloud Credential (list maxitems:1)
- description str
- Description for the Cloud Credential (string)
- digitalocean_credential_ Cloudconfig Credential Digitalocean Credential Config Args 
- DigitalOcean config for the Cloud Credential (list maxitems:1)
- driver str
- (Computed) The driver of the Cloud Credential (string)
- google_credential_ Cloudconfig Credential Google Credential Config Args 
- Google config for the Cloud Credential (list maxitems:1)
- harvester_credential_ Cloudconfig Credential Harvester Credential Config Args 
- Harvester config for the Cloud Credential (list maxitems:1)
- labels Mapping[str, str]
- Labels for Cloud Credential object (map)
- linode_credential_ Cloudconfig Credential Linode Credential Config Args 
- Linode config for the Cloud Credential (list maxitems:1)
- name str
- The name of the Cloud Credential (string)
- openstack_credential_ Cloudconfig Credential Openstack Credential Config Args 
- OpenStack config for the Cloud Credential (list maxitems:1)
- s3_credential_ Cloudconfig Credential S3Credential Config Args 
- S3 config for the Cloud Credential. For Rancher 2.6.0 and above (list maxitems:1)
- vsphere_credential_ Cloudconfig Credential Vsphere Credential Config Args 
- vSphere config for the Cloud Credential (list maxitems:1)
- amazonec2CredentialConfig Property Map
- AWS config for the Cloud Credential (list maxitems:1)
- annotations Map<String>
- Annotations for Cloud Credential object (map)
- azureCredential Property MapConfig 
- Azure config for the Cloud Credential (list maxitems:1)
- description String
- Description for the Cloud Credential (string)
- digitaloceanCredential Property MapConfig 
- DigitalOcean config for the Cloud Credential (list maxitems:1)
- driver String
- (Computed) The driver of the Cloud Credential (string)
- googleCredential Property MapConfig 
- Google config for the Cloud Credential (list maxitems:1)
- harvesterCredential Property MapConfig 
- Harvester config for the Cloud Credential (list maxitems:1)
- labels Map<String>
- Labels for Cloud Credential object (map)
- linodeCredential Property MapConfig 
- Linode config for the Cloud Credential (list maxitems:1)
- name String
- The name of the Cloud Credential (string)
- openstackCredential Property MapConfig 
- OpenStack config for the Cloud Credential (list maxitems:1)
- s3CredentialConfig Property Map
- S3 config for the Cloud Credential. For Rancher 2.6.0 and above (list maxitems:1)
- vsphereCredential Property MapConfig 
- vSphere config for the Cloud Credential (list maxitems:1)
Supporting Types
CloudCredentialAmazonec2CredentialConfig, CloudCredentialAmazonec2CredentialConfigArgs        
- AccessKey string
- AWS Access Key
- SecretKey string
- AWS Secret Key
- DefaultRegion string
- AWS default region
- AccessKey string
- AWS Access Key
- SecretKey string
- AWS Secret Key
- DefaultRegion string
- AWS default region
- accessKey String
- AWS Access Key
- secretKey String
- AWS Secret Key
- defaultRegion String
- AWS default region
- accessKey string
- AWS Access Key
- secretKey string
- AWS Secret Key
- defaultRegion string
- AWS default region
- access_key str
- AWS Access Key
- secret_key str
- AWS Secret Key
- default_region str
- AWS default region
- accessKey String
- AWS Access Key
- secretKey String
- AWS Secret Key
- defaultRegion String
- AWS default region
CloudCredentialAzureCredentialConfig, CloudCredentialAzureCredentialConfigArgs          
- ClientId string
- Azure Service Principal Account ID
- ClientSecret string
- Azure Service Principal Account password
- SubscriptionId string
- Azure Subscription ID
- Environment string
- Azure environment (e.g. AzurePublicCloud, AzureChinaCloud)
- TenantId string
- Azure Tenant ID
- ClientId string
- Azure Service Principal Account ID
- ClientSecret string
- Azure Service Principal Account password
- SubscriptionId string
- Azure Subscription ID
- Environment string
- Azure environment (e.g. AzurePublicCloud, AzureChinaCloud)
- TenantId string
- Azure Tenant ID
- clientId String
- Azure Service Principal Account ID
- clientSecret String
- Azure Service Principal Account password
- subscriptionId String
- Azure Subscription ID
- environment String
- Azure environment (e.g. AzurePublicCloud, AzureChinaCloud)
- tenantId String
- Azure Tenant ID
- clientId string
- Azure Service Principal Account ID
- clientSecret string
- Azure Service Principal Account password
- subscriptionId string
- Azure Subscription ID
- environment string
- Azure environment (e.g. AzurePublicCloud, AzureChinaCloud)
- tenantId string
- Azure Tenant ID
- client_id str
- Azure Service Principal Account ID
- client_secret str
- Azure Service Principal Account password
- subscription_id str
- Azure Subscription ID
- environment str
- Azure environment (e.g. AzurePublicCloud, AzureChinaCloud)
- tenant_id str
- Azure Tenant ID
- clientId String
- Azure Service Principal Account ID
- clientSecret String
- Azure Service Principal Account password
- subscriptionId String
- Azure Subscription ID
- environment String
- Azure environment (e.g. AzurePublicCloud, AzureChinaCloud)
- tenantId String
- Azure Tenant ID
CloudCredentialDigitaloceanCredentialConfig, CloudCredentialDigitaloceanCredentialConfigArgs          
- AccessToken string
- Digital Ocean access token
- AccessToken string
- Digital Ocean access token
- accessToken String
- Digital Ocean access token
- accessToken string
- Digital Ocean access token
- access_token str
- Digital Ocean access token
- accessToken String
- Digital Ocean access token
CloudCredentialGoogleCredentialConfig, CloudCredentialGoogleCredentialConfigArgs          
- AuthEncoded stringJson 
- Google auth encoded json
- AuthEncoded stringJson 
- Google auth encoded json
- authEncoded StringJson 
- Google auth encoded json
- authEncoded stringJson 
- Google auth encoded json
- auth_encoded_ strjson 
- Google auth encoded json
- authEncoded StringJson 
- Google auth encoded json
CloudCredentialHarvesterCredentialConfig, CloudCredentialHarvesterCredentialConfigArgs          
- ClusterType string
- Harvester cluster type. must be imported or external
- KubeconfigContent string
- Harvester cluster kubeconfig content
- ClusterId string
- The cluster id of imported Harvester cluster
- ClusterType string
- Harvester cluster type. must be imported or external
- KubeconfigContent string
- Harvester cluster kubeconfig content
- ClusterId string
- The cluster id of imported Harvester cluster
- clusterType String
- Harvester cluster type. must be imported or external
- kubeconfigContent String
- Harvester cluster kubeconfig content
- clusterId String
- The cluster id of imported Harvester cluster
- clusterType string
- Harvester cluster type. must be imported or external
- kubeconfigContent string
- Harvester cluster kubeconfig content
- clusterId string
- The cluster id of imported Harvester cluster
- cluster_type str
- Harvester cluster type. must be imported or external
- kubeconfig_content str
- Harvester cluster kubeconfig content
- cluster_id str
- The cluster id of imported Harvester cluster
- clusterType String
- Harvester cluster type. must be imported or external
- kubeconfigContent String
- Harvester cluster kubeconfig content
- clusterId String
- The cluster id of imported Harvester cluster
CloudCredentialLinodeCredentialConfig, CloudCredentialLinodeCredentialConfigArgs          
- Token string
- Linode API token
- Token string
- Linode API token
- token String
- Linode API token
- token string
- Linode API token
- token str
- Linode API token
- token String
- Linode API token
CloudCredentialOpenstackCredentialConfig, CloudCredentialOpenstackCredentialConfigArgs          
- Password string
- OpenStack password
- Password string
- OpenStack password
- password String
- OpenStack password
- password string
- OpenStack password
- password str
- OpenStack password
- password String
- OpenStack password
CloudCredentialS3CredentialConfig, CloudCredentialS3CredentialConfigArgs        
- AccessKey string
- AWS Access Key
- SecretKey string
- AWS Secret Key
- DefaultBucket string
- AWS default bucket
- DefaultEndpoint string
- AWS default endpoint
- DefaultEndpoint stringCa 
- AWS default endpoint CA
- DefaultFolder string
- AWS default folder
- DefaultRegion string
- AWS default region
- DefaultSkip boolSsl Verify 
- AWS default skip ssl verify
- AccessKey string
- AWS Access Key
- SecretKey string
- AWS Secret Key
- DefaultBucket string
- AWS default bucket
- DefaultEndpoint string
- AWS default endpoint
- DefaultEndpoint stringCa 
- AWS default endpoint CA
- DefaultFolder string
- AWS default folder
- DefaultRegion string
- AWS default region
- DefaultSkip boolSsl Verify 
- AWS default skip ssl verify
- accessKey String
- AWS Access Key
- secretKey String
- AWS Secret Key
- defaultBucket String
- AWS default bucket
- defaultEndpoint String
- AWS default endpoint
- defaultEndpoint StringCa 
- AWS default endpoint CA
- defaultFolder String
- AWS default folder
- defaultRegion String
- AWS default region
- defaultSkip BooleanSsl Verify 
- AWS default skip ssl verify
- accessKey string
- AWS Access Key
- secretKey string
- AWS Secret Key
- defaultBucket string
- AWS default bucket
- defaultEndpoint string
- AWS default endpoint
- defaultEndpoint stringCa 
- AWS default endpoint CA
- defaultFolder string
- AWS default folder
- defaultRegion string
- AWS default region
- defaultSkip booleanSsl Verify 
- AWS default skip ssl verify
- access_key str
- AWS Access Key
- secret_key str
- AWS Secret Key
- default_bucket str
- AWS default bucket
- default_endpoint str
- AWS default endpoint
- default_endpoint_ strca 
- AWS default endpoint CA
- default_folder str
- AWS default folder
- default_region str
- AWS default region
- default_skip_ boolssl_ verify 
- AWS default skip ssl verify
- accessKey String
- AWS Access Key
- secretKey String
- AWS Secret Key
- defaultBucket String
- AWS default bucket
- defaultEndpoint String
- AWS default endpoint
- defaultEndpoint StringCa 
- AWS default endpoint CA
- defaultFolder String
- AWS default folder
- defaultRegion String
- AWS default region
- defaultSkip BooleanSsl Verify 
- AWS default skip ssl verify
CloudCredentialVsphereCredentialConfig, CloudCredentialVsphereCredentialConfigArgs          
- Password string
- vSphere password
- Username string
- vSphere username
- Vcenter string
- vSphere IP/hostname for vCenter
- VcenterPort string
- vSphere Port for vCenter
- Password string
- vSphere password
- Username string
- vSphere username
- Vcenter string
- vSphere IP/hostname for vCenter
- VcenterPort string
- vSphere Port for vCenter
- password String
- vSphere password
- username String
- vSphere username
- vcenter String
- vSphere IP/hostname for vCenter
- vcenterPort String
- vSphere Port for vCenter
- password string
- vSphere password
- username string
- vSphere username
- vcenter string
- vSphere IP/hostname for vCenter
- vcenterPort string
- vSphere Port for vCenter
- password str
- vSphere password
- username str
- vSphere username
- vcenter str
- vSphere IP/hostname for vCenter
- vcenter_port str
- vSphere Port for vCenter
- password String
- vSphere password
- username String
- vSphere username
- vcenter String
- vSphere IP/hostname for vCenter
- vcenterPort String
- vSphere Port for vCenter
Import
Cloud Credential can be imported using the Cloud Credential ID and the Driver name.
bash
$ pulumi import rancher2:index/cloudCredential:CloudCredential foo <CLOUD_CREDENTIAL_ID>.<DRIVER>
The following drivers are supported:
- amazonec2 
- azure 
- digitalocean 
- googlekubernetesengine 
- linode 
- openstack 
- s3 
- vmwarevsphere 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Rancher2 pulumi/pulumi-rancher2
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the rancher2Terraform Provider.