oci.FleetAppsManagement.FleetCredential
Explore with Pulumi AI
This resource provides the Fleet Credential resource in Oracle Cloud Infrastructure Fleet Apps Management service.
Add credentials to a fleet in Fleet Application Management.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testFleetCredential = new oci.fleetappsmanagement.FleetCredential("test_fleet_credential", {
    compartmentId: compartmentId,
    displayName: fleetCredentialDisplayName,
    entitySpecifics: {
        credentialLevel: fleetCredentialEntitySpecificsCredentialLevel,
        resourceId: testResource.id,
        target: fleetCredentialEntitySpecificsTarget,
        variables: [{
            name: fleetCredentialEntitySpecificsVariablesName,
            value: fleetCredentialEntitySpecificsVariablesValue,
        }],
    },
    fleetId: testFleet.id,
    password: {
        credentialType: fleetCredentialPasswordCredentialType,
        keyId: testKey.id,
        keyVersion: fleetCredentialPasswordKeyVersion,
        secretId: testSecret.id,
        secretVersion: fleetCredentialPasswordSecretVersion,
        value: fleetCredentialPasswordValue,
        vaultId: testVault.id,
    },
    user: {
        credentialType: fleetCredentialUserCredentialType,
        keyId: testKey.id,
        keyVersion: fleetCredentialUserKeyVersion,
        secretId: testSecret.id,
        secretVersion: fleetCredentialUserSecretVersion,
        value: fleetCredentialUserValue,
        vaultId: testVault.id,
    },
});
import pulumi
import pulumi_oci as oci
test_fleet_credential = oci.fleet_apps_management.FleetCredential("test_fleet_credential",
    compartment_id=compartment_id,
    display_name=fleet_credential_display_name,
    entity_specifics={
        "credential_level": fleet_credential_entity_specifics_credential_level,
        "resource_id": test_resource["id"],
        "target": fleet_credential_entity_specifics_target,
        "variables": [{
            "name": fleet_credential_entity_specifics_variables_name,
            "value": fleet_credential_entity_specifics_variables_value,
        }],
    },
    fleet_id=test_fleet["id"],
    password={
        "credential_type": fleet_credential_password_credential_type,
        "key_id": test_key["id"],
        "key_version": fleet_credential_password_key_version,
        "secret_id": test_secret["id"],
        "secret_version": fleet_credential_password_secret_version,
        "value": fleet_credential_password_value,
        "vault_id": test_vault["id"],
    },
    user={
        "credential_type": fleet_credential_user_credential_type,
        "key_id": test_key["id"],
        "key_version": fleet_credential_user_key_version,
        "secret_id": test_secret["id"],
        "secret_version": fleet_credential_user_secret_version,
        "value": fleet_credential_user_value,
        "vault_id": test_vault["id"],
    })
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/fleetappsmanagement"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fleetappsmanagement.NewFleetCredential(ctx, "test_fleet_credential", &fleetappsmanagement.FleetCredentialArgs{
			CompartmentId: pulumi.Any(compartmentId),
			DisplayName:   pulumi.Any(fleetCredentialDisplayName),
			EntitySpecifics: &fleetappsmanagement.FleetCredentialEntitySpecificsArgs{
				CredentialLevel: pulumi.Any(fleetCredentialEntitySpecificsCredentialLevel),
				ResourceId:      pulumi.Any(testResource.Id),
				Target:          pulumi.Any(fleetCredentialEntitySpecificsTarget),
				Variables: fleetappsmanagement.FleetCredentialEntitySpecificsVariableArray{
					&fleetappsmanagement.FleetCredentialEntitySpecificsVariableArgs{
						Name:  pulumi.Any(fleetCredentialEntitySpecificsVariablesName),
						Value: pulumi.Any(fleetCredentialEntitySpecificsVariablesValue),
					},
				},
			},
			FleetId: pulumi.Any(testFleet.Id),
			Password: &fleetappsmanagement.FleetCredentialPasswordArgs{
				CredentialType: pulumi.Any(fleetCredentialPasswordCredentialType),
				KeyId:          pulumi.Any(testKey.Id),
				KeyVersion:     pulumi.Any(fleetCredentialPasswordKeyVersion),
				SecretId:       pulumi.Any(testSecret.Id),
				SecretVersion:  pulumi.Any(fleetCredentialPasswordSecretVersion),
				Value:          pulumi.Any(fleetCredentialPasswordValue),
				VaultId:        pulumi.Any(testVault.Id),
			},
			User: &fleetappsmanagement.FleetCredentialUserArgs{
				CredentialType: pulumi.Any(fleetCredentialUserCredentialType),
				KeyId:          pulumi.Any(testKey.Id),
				KeyVersion:     pulumi.Any(fleetCredentialUserKeyVersion),
				SecretId:       pulumi.Any(testSecret.Id),
				SecretVersion:  pulumi.Any(fleetCredentialUserSecretVersion),
				Value:          pulumi.Any(fleetCredentialUserValue),
				VaultId:        pulumi.Any(testVault.Id),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testFleetCredential = new Oci.FleetAppsManagement.FleetCredential("test_fleet_credential", new()
    {
        CompartmentId = compartmentId,
        DisplayName = fleetCredentialDisplayName,
        EntitySpecifics = new Oci.FleetAppsManagement.Inputs.FleetCredentialEntitySpecificsArgs
        {
            CredentialLevel = fleetCredentialEntitySpecificsCredentialLevel,
            ResourceId = testResource.Id,
            Target = fleetCredentialEntitySpecificsTarget,
            Variables = new[]
            {
                new Oci.FleetAppsManagement.Inputs.FleetCredentialEntitySpecificsVariableArgs
                {
                    Name = fleetCredentialEntitySpecificsVariablesName,
                    Value = fleetCredentialEntitySpecificsVariablesValue,
                },
            },
        },
        FleetId = testFleet.Id,
        Password = new Oci.FleetAppsManagement.Inputs.FleetCredentialPasswordArgs
        {
            CredentialType = fleetCredentialPasswordCredentialType,
            KeyId = testKey.Id,
            KeyVersion = fleetCredentialPasswordKeyVersion,
            SecretId = testSecret.Id,
            SecretVersion = fleetCredentialPasswordSecretVersion,
            Value = fleetCredentialPasswordValue,
            VaultId = testVault.Id,
        },
        User = new Oci.FleetAppsManagement.Inputs.FleetCredentialUserArgs
        {
            CredentialType = fleetCredentialUserCredentialType,
            KeyId = testKey.Id,
            KeyVersion = fleetCredentialUserKeyVersion,
            SecretId = testSecret.Id,
            SecretVersion = fleetCredentialUserSecretVersion,
            Value = fleetCredentialUserValue,
            VaultId = testVault.Id,
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.FleetAppsManagement.FleetCredential;
import com.pulumi.oci.FleetAppsManagement.FleetCredentialArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.FleetCredentialEntitySpecificsArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.FleetCredentialPasswordArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.FleetCredentialUserArgs;
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) {
        var testFleetCredential = new FleetCredential("testFleetCredential", FleetCredentialArgs.builder()
            .compartmentId(compartmentId)
            .displayName(fleetCredentialDisplayName)
            .entitySpecifics(FleetCredentialEntitySpecificsArgs.builder()
                .credentialLevel(fleetCredentialEntitySpecificsCredentialLevel)
                .resourceId(testResource.id())
                .target(fleetCredentialEntitySpecificsTarget)
                .variables(FleetCredentialEntitySpecificsVariableArgs.builder()
                    .name(fleetCredentialEntitySpecificsVariablesName)
                    .value(fleetCredentialEntitySpecificsVariablesValue)
                    .build())
                .build())
            .fleetId(testFleet.id())
            .password(FleetCredentialPasswordArgs.builder()
                .credentialType(fleetCredentialPasswordCredentialType)
                .keyId(testKey.id())
                .keyVersion(fleetCredentialPasswordKeyVersion)
                .secretId(testSecret.id())
                .secretVersion(fleetCredentialPasswordSecretVersion)
                .value(fleetCredentialPasswordValue)
                .vaultId(testVault.id())
                .build())
            .user(FleetCredentialUserArgs.builder()
                .credentialType(fleetCredentialUserCredentialType)
                .keyId(testKey.id())
                .keyVersion(fleetCredentialUserKeyVersion)
                .secretId(testSecret.id())
                .secretVersion(fleetCredentialUserSecretVersion)
                .value(fleetCredentialUserValue)
                .vaultId(testVault.id())
                .build())
            .build());
    }
}
resources:
  testFleetCredential:
    type: oci:FleetAppsManagement:FleetCredential
    name: test_fleet_credential
    properties:
      compartmentId: ${compartmentId}
      displayName: ${fleetCredentialDisplayName}
      entitySpecifics:
        credentialLevel: ${fleetCredentialEntitySpecificsCredentialLevel}
        resourceId: ${testResource.id}
        target: ${fleetCredentialEntitySpecificsTarget}
        variables:
          - name: ${fleetCredentialEntitySpecificsVariablesName}
            value: ${fleetCredentialEntitySpecificsVariablesValue}
      fleetId: ${testFleet.id}
      password:
        credentialType: ${fleetCredentialPasswordCredentialType}
        keyId: ${testKey.id}
        keyVersion: ${fleetCredentialPasswordKeyVersion}
        secretId: ${testSecret.id}
        secretVersion: ${fleetCredentialPasswordSecretVersion}
        value: ${fleetCredentialPasswordValue}
        vaultId: ${testVault.id}
      user:
        credentialType: ${fleetCredentialUserCredentialType}
        keyId: ${testKey.id}
        keyVersion: ${fleetCredentialUserKeyVersion}
        secretId: ${testSecret.id}
        secretVersion: ${fleetCredentialUserSecretVersion}
        value: ${fleetCredentialUserValue}
        vaultId: ${testVault.id}
Create FleetCredential Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FleetCredential(name: string, args: FleetCredentialArgs, opts?: CustomResourceOptions);@overload
def FleetCredential(resource_name: str,
                    args: FleetCredentialInitArgs,
                    opts: Optional[ResourceOptions] = None)
@overload
def FleetCredential(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    compartment_id: Optional[str] = None,
                    display_name: Optional[str] = None,
                    entity_specifics: Optional[FleetCredentialEntitySpecificsArgs] = None,
                    fleet_id: Optional[str] = None,
                    password: Optional[FleetCredentialPasswordArgs] = None,
                    user: Optional[FleetCredentialUserArgs] = None)func NewFleetCredential(ctx *Context, name string, args FleetCredentialArgs, opts ...ResourceOption) (*FleetCredential, error)public FleetCredential(string name, FleetCredentialArgs args, CustomResourceOptions? opts = null)
public FleetCredential(String name, FleetCredentialArgs args)
public FleetCredential(String name, FleetCredentialArgs args, CustomResourceOptions options)
type: oci:FleetAppsManagement:FleetCredential
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 FleetCredentialArgs
- 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 FleetCredentialInitArgs
- 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 FleetCredentialArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FleetCredentialArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FleetCredentialArgs
- 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 fleetCredentialResource = new Oci.FleetAppsManagement.FleetCredential("fleetCredentialResource", new()
{
    CompartmentId = "string",
    DisplayName = "string",
    EntitySpecifics = new Oci.FleetAppsManagement.Inputs.FleetCredentialEntitySpecificsArgs
    {
        CredentialLevel = "string",
        ResourceId = "string",
        Target = "string",
        Variables = new[]
        {
            new Oci.FleetAppsManagement.Inputs.FleetCredentialEntitySpecificsVariableArgs
            {
                Name = "string",
                Value = "string",
            },
        },
    },
    FleetId = "string",
    Password = new Oci.FleetAppsManagement.Inputs.FleetCredentialPasswordArgs
    {
        CredentialType = "string",
        KeyId = "string",
        KeyVersion = "string",
        SecretId = "string",
        SecretVersion = "string",
        Value = "string",
        VaultId = "string",
    },
    User = new Oci.FleetAppsManagement.Inputs.FleetCredentialUserArgs
    {
        CredentialType = "string",
        KeyId = "string",
        KeyVersion = "string",
        SecretId = "string",
        SecretVersion = "string",
        Value = "string",
        VaultId = "string",
    },
});
example, err := fleetappsmanagement.NewFleetCredential(ctx, "fleetCredentialResource", &fleetappsmanagement.FleetCredentialArgs{
	CompartmentId: pulumi.String("string"),
	DisplayName:   pulumi.String("string"),
	EntitySpecifics: &fleetappsmanagement.FleetCredentialEntitySpecificsArgs{
		CredentialLevel: pulumi.String("string"),
		ResourceId:      pulumi.String("string"),
		Target:          pulumi.String("string"),
		Variables: fleetappsmanagement.FleetCredentialEntitySpecificsVariableArray{
			&fleetappsmanagement.FleetCredentialEntitySpecificsVariableArgs{
				Name:  pulumi.String("string"),
				Value: pulumi.String("string"),
			},
		},
	},
	FleetId: pulumi.String("string"),
	Password: &fleetappsmanagement.FleetCredentialPasswordArgs{
		CredentialType: pulumi.String("string"),
		KeyId:          pulumi.String("string"),
		KeyVersion:     pulumi.String("string"),
		SecretId:       pulumi.String("string"),
		SecretVersion:  pulumi.String("string"),
		Value:          pulumi.String("string"),
		VaultId:        pulumi.String("string"),
	},
	User: &fleetappsmanagement.FleetCredentialUserArgs{
		CredentialType: pulumi.String("string"),
		KeyId:          pulumi.String("string"),
		KeyVersion:     pulumi.String("string"),
		SecretId:       pulumi.String("string"),
		SecretVersion:  pulumi.String("string"),
		Value:          pulumi.String("string"),
		VaultId:        pulumi.String("string"),
	},
})
var fleetCredentialResource = new FleetCredential("fleetCredentialResource", FleetCredentialArgs.builder()
    .compartmentId("string")
    .displayName("string")
    .entitySpecifics(FleetCredentialEntitySpecificsArgs.builder()
        .credentialLevel("string")
        .resourceId("string")
        .target("string")
        .variables(FleetCredentialEntitySpecificsVariableArgs.builder()
            .name("string")
            .value("string")
            .build())
        .build())
    .fleetId("string")
    .password(FleetCredentialPasswordArgs.builder()
        .credentialType("string")
        .keyId("string")
        .keyVersion("string")
        .secretId("string")
        .secretVersion("string")
        .value("string")
        .vaultId("string")
        .build())
    .user(FleetCredentialUserArgs.builder()
        .credentialType("string")
        .keyId("string")
        .keyVersion("string")
        .secretId("string")
        .secretVersion("string")
        .value("string")
        .vaultId("string")
        .build())
    .build());
fleet_credential_resource = oci.fleet_apps_management.FleetCredential("fleetCredentialResource",
    compartment_id="string",
    display_name="string",
    entity_specifics={
        "credential_level": "string",
        "resource_id": "string",
        "target": "string",
        "variables": [{
            "name": "string",
            "value": "string",
        }],
    },
    fleet_id="string",
    password={
        "credential_type": "string",
        "key_id": "string",
        "key_version": "string",
        "secret_id": "string",
        "secret_version": "string",
        "value": "string",
        "vault_id": "string",
    },
    user={
        "credential_type": "string",
        "key_id": "string",
        "key_version": "string",
        "secret_id": "string",
        "secret_version": "string",
        "value": "string",
        "vault_id": "string",
    })
const fleetCredentialResource = new oci.fleetappsmanagement.FleetCredential("fleetCredentialResource", {
    compartmentId: "string",
    displayName: "string",
    entitySpecifics: {
        credentialLevel: "string",
        resourceId: "string",
        target: "string",
        variables: [{
            name: "string",
            value: "string",
        }],
    },
    fleetId: "string",
    password: {
        credentialType: "string",
        keyId: "string",
        keyVersion: "string",
        secretId: "string",
        secretVersion: "string",
        value: "string",
        vaultId: "string",
    },
    user: {
        credentialType: "string",
        keyId: "string",
        keyVersion: "string",
        secretId: "string",
        secretVersion: "string",
        value: "string",
        vaultId: "string",
    },
});
type: oci:FleetAppsManagement:FleetCredential
properties:
    compartmentId: string
    displayName: string
    entitySpecifics:
        credentialLevel: string
        resourceId: string
        target: string
        variables:
            - name: string
              value: string
    fleetId: string
    password:
        credentialType: string
        keyId: string
        keyVersion: string
        secretId: string
        secretVersion: string
        value: string
        vaultId: string
    user:
        credentialType: string
        keyId: string
        keyVersion: string
        secretId: string
        secretVersion: string
        value: string
        vaultId: string
FleetCredential 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 FleetCredential resource accepts the following input properties:
- CompartmentId string
- Tenancy OCID
- DisplayName string
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
- EntitySpecifics FleetCredential Entity Specifics 
- (Updatable) Credential specific Details.
- FleetId string
- Unique Fleet identifier.
- Password
FleetCredential Password 
- (Updatable) Credential Details.
- User
FleetCredential User 
- (Updatable) Credential Details.
- CompartmentId string
- Tenancy OCID
- DisplayName string
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
- EntitySpecifics FleetCredential Entity Specifics Args 
- (Updatable) Credential specific Details.
- FleetId string
- Unique Fleet identifier.
- Password
FleetCredential Password Args 
- (Updatable) Credential Details.
- User
FleetCredential User Args 
- (Updatable) Credential Details.
- compartmentId String
- Tenancy OCID
- displayName String
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
- entitySpecifics FleetCredential Entity Specifics 
- (Updatable) Credential specific Details.
- fleetId String
- Unique Fleet identifier.
- password
FleetCredential Password 
- (Updatable) Credential Details.
- user
FleetCredential User 
- (Updatable) Credential Details.
- compartmentId string
- Tenancy OCID
- displayName string
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
- entitySpecifics FleetCredential Entity Specifics 
- (Updatable) Credential specific Details.
- fleetId string
- Unique Fleet identifier.
- password
FleetCredential Password 
- (Updatable) Credential Details.
- user
FleetCredential User 
- (Updatable) Credential Details.
- compartment_id str
- Tenancy OCID
- display_name str
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
- entity_specifics FleetCredential Entity Specifics Args 
- (Updatable) Credential specific Details.
- fleet_id str
- Unique Fleet identifier.
- password
FleetCredential Password Args 
- (Updatable) Credential Details.
- user
FleetCredential User Args 
- (Updatable) Credential Details.
- compartmentId String
- Tenancy OCID
- displayName String
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
- entitySpecifics Property Map
- (Updatable) Credential specific Details.
- fleetId String
- Unique Fleet identifier.
- password Property Map
- (Updatable) Credential Details.
- user Property Map
- (Updatable) Credential Details.
Outputs
All input properties are implicitly available as output properties. Additionally, the FleetCredential resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- LifecycleDetails string
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- State string
- The current state of the FleetCredential.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The time this resource was created. An RFC3339 formatted datetime string.
- TimeUpdated string
- The time this resource was last updated. An RFC3339 formatted datetime string.
- Id string
- The provider-assigned unique ID for this managed resource.
- LifecycleDetails string
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- State string
- The current state of the FleetCredential.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The time this resource was created. An RFC3339 formatted datetime string.
- TimeUpdated string
- The time this resource was last updated. An RFC3339 formatted datetime string.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycleDetails String
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- state String
- The current state of the FleetCredential.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The time this resource was created. An RFC3339 formatted datetime string.
- timeUpdated String
- The time this resource was last updated. An RFC3339 formatted datetime string.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycleDetails string
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- state string
- The current state of the FleetCredential.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated string
- The time this resource was created. An RFC3339 formatted datetime string.
- timeUpdated string
- The time this resource was last updated. An RFC3339 formatted datetime string.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_details str
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- state str
- The current state of the FleetCredential.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- time_created str
- The time this resource was created. An RFC3339 formatted datetime string.
- time_updated str
- The time this resource was last updated. An RFC3339 formatted datetime string.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycleDetails String
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- state String
- The current state of the FleetCredential.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The time this resource was created. An RFC3339 formatted datetime string.
- timeUpdated String
- The time this resource was last updated. An RFC3339 formatted datetime string.
Look up Existing FleetCredential Resource
Get an existing FleetCredential 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?: FleetCredentialState, opts?: CustomResourceOptions): FleetCredential@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        compartment_id: Optional[str] = None,
        display_name: Optional[str] = None,
        entity_specifics: Optional[FleetCredentialEntitySpecificsArgs] = None,
        fleet_id: Optional[str] = None,
        lifecycle_details: Optional[str] = None,
        password: Optional[FleetCredentialPasswordArgs] = None,
        state: Optional[str] = None,
        system_tags: Optional[Mapping[str, str]] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None,
        user: Optional[FleetCredentialUserArgs] = None) -> FleetCredentialfunc GetFleetCredential(ctx *Context, name string, id IDInput, state *FleetCredentialState, opts ...ResourceOption) (*FleetCredential, error)public static FleetCredential Get(string name, Input<string> id, FleetCredentialState? state, CustomResourceOptions? opts = null)public static FleetCredential get(String name, Output<String> id, FleetCredentialState state, CustomResourceOptions options)resources:  _:    type: oci:FleetAppsManagement:FleetCredential    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.
- CompartmentId string
- Tenancy OCID
- DisplayName string
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
- EntitySpecifics FleetCredential Entity Specifics 
- (Updatable) Credential specific Details.
- FleetId string
- Unique Fleet identifier.
- LifecycleDetails string
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Password
FleetCredential Password 
- (Updatable) Credential Details.
- State string
- The current state of the FleetCredential.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The time this resource was created. An RFC3339 formatted datetime string.
- TimeUpdated string
- The time this resource was last updated. An RFC3339 formatted datetime string.
- User
FleetCredential User 
- (Updatable) Credential Details.
- CompartmentId string
- Tenancy OCID
- DisplayName string
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
- EntitySpecifics FleetCredential Entity Specifics Args 
- (Updatable) Credential specific Details.
- FleetId string
- Unique Fleet identifier.
- LifecycleDetails string
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Password
FleetCredential Password Args 
- (Updatable) Credential Details.
- State string
- The current state of the FleetCredential.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The time this resource was created. An RFC3339 formatted datetime string.
- TimeUpdated string
- The time this resource was last updated. An RFC3339 formatted datetime string.
- User
FleetCredential User Args 
- (Updatable) Credential Details.
- compartmentId String
- Tenancy OCID
- displayName String
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
- entitySpecifics FleetCredential Entity Specifics 
- (Updatable) Credential specific Details.
- fleetId String
- Unique Fleet identifier.
- lifecycleDetails String
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- password
FleetCredential Password 
- (Updatable) Credential Details.
- state String
- The current state of the FleetCredential.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The time this resource was created. An RFC3339 formatted datetime string.
- timeUpdated String
- The time this resource was last updated. An RFC3339 formatted datetime string.
- user
FleetCredential User 
- (Updatable) Credential Details.
- compartmentId string
- Tenancy OCID
- displayName string
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
- entitySpecifics FleetCredential Entity Specifics 
- (Updatable) Credential specific Details.
- fleetId string
- Unique Fleet identifier.
- lifecycleDetails string
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- password
FleetCredential Password 
- (Updatable) Credential Details.
- state string
- The current state of the FleetCredential.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated string
- The time this resource was created. An RFC3339 formatted datetime string.
- timeUpdated string
- The time this resource was last updated. An RFC3339 formatted datetime string.
- user
FleetCredential User 
- (Updatable) Credential Details.
- compartment_id str
- Tenancy OCID
- display_name str
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
- entity_specifics FleetCredential Entity Specifics Args 
- (Updatable) Credential specific Details.
- fleet_id str
- Unique Fleet identifier.
- lifecycle_details str
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- password
FleetCredential Password Args 
- (Updatable) Credential Details.
- state str
- The current state of the FleetCredential.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- time_created str
- The time this resource was created. An RFC3339 formatted datetime string.
- time_updated str
- The time this resource was last updated. An RFC3339 formatted datetime string.
- user
FleetCredential User Args 
- (Updatable) Credential Details.
- compartmentId String
- Tenancy OCID
- displayName String
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
- entitySpecifics Property Map
- (Updatable) Credential specific Details.
- fleetId String
- Unique Fleet identifier.
- lifecycleDetails String
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- password Property Map
- (Updatable) Credential Details.
- state String
- The current state of the FleetCredential.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The time this resource was created. An RFC3339 formatted datetime string.
- timeUpdated String
- The time this resource was last updated. An RFC3339 formatted datetime string.
- user Property Map
- (Updatable) Credential Details.
Supporting Types
FleetCredentialEntitySpecifics, FleetCredentialEntitySpecificsArgs        
- CredentialLevel string
- (Updatable) At what level the credential is provided?
- ResourceId string
- (Updatable) OCID of the resource associated with the target for which the credential is created.
- Target string
- (Updatable) Target name for which the credential is provided.
- Variables
List<FleetCredential Entity Specifics Variable> 
- (Updatable) List of fleet credential variables.
- CredentialLevel string
- (Updatable) At what level the credential is provided?
- ResourceId string
- (Updatable) OCID of the resource associated with the target for which the credential is created.
- Target string
- (Updatable) Target name for which the credential is provided.
- Variables
[]FleetCredential Entity Specifics Variable 
- (Updatable) List of fleet credential variables.
- credentialLevel String
- (Updatable) At what level the credential is provided?
- resourceId String
- (Updatable) OCID of the resource associated with the target for which the credential is created.
- target String
- (Updatable) Target name for which the credential is provided.
- variables
List<FleetCredential Entity Specifics Variable> 
- (Updatable) List of fleet credential variables.
- credentialLevel string
- (Updatable) At what level the credential is provided?
- resourceId string
- (Updatable) OCID of the resource associated with the target for which the credential is created.
- target string
- (Updatable) Target name for which the credential is provided.
- variables
FleetCredential Entity Specifics Variable[] 
- (Updatable) List of fleet credential variables.
- credential_level str
- (Updatable) At what level the credential is provided?
- resource_id str
- (Updatable) OCID of the resource associated with the target for which the credential is created.
- target str
- (Updatable) Target name for which the credential is provided.
- variables
Sequence[FleetCredential Entity Specifics Variable] 
- (Updatable) List of fleet credential variables.
- credentialLevel String
- (Updatable) At what level the credential is provided?
- resourceId String
- (Updatable) OCID of the resource associated with the target for which the credential is created.
- target String
- (Updatable) Target name for which the credential is provided.
- variables List<Property Map>
- (Updatable) List of fleet credential variables.
FleetCredentialEntitySpecificsVariable, FleetCredentialEntitySpecificsVariableArgs          
FleetCredentialPassword, FleetCredentialPasswordArgs      
- CredentialType string
- (Updatable) Credential Type.
- KeyId string
- (Updatable) OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- KeyVersion string
- (Updatable) The Vault Key version.
- SecretId string
- (Updatable) The OCID of the secret.
- SecretVersion string
- (Updatable) The secret version.
- Value string
- (Updatable) The value corresponding to the credential.
- VaultId string
- (Updatable) OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given.
- CredentialType string
- (Updatable) Credential Type.
- KeyId string
- (Updatable) OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- KeyVersion string
- (Updatable) The Vault Key version.
- SecretId string
- (Updatable) The OCID of the secret.
- SecretVersion string
- (Updatable) The secret version.
- Value string
- (Updatable) The value corresponding to the credential.
- VaultId string
- (Updatable) OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given.
- credentialType String
- (Updatable) Credential Type.
- keyId String
- (Updatable) OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- keyVersion String
- (Updatable) The Vault Key version.
- secretId String
- (Updatable) The OCID of the secret.
- secretVersion String
- (Updatable) The secret version.
- value String
- (Updatable) The value corresponding to the credential.
- vaultId String
- (Updatable) OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given.
- credentialType string
- (Updatable) Credential Type.
- keyId string
- (Updatable) OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- keyVersion string
- (Updatable) The Vault Key version.
- secretId string
- (Updatable) The OCID of the secret.
- secretVersion string
- (Updatable) The secret version.
- value string
- (Updatable) The value corresponding to the credential.
- vaultId string
- (Updatable) OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given.
- credential_type str
- (Updatable) Credential Type.
- key_id str
- (Updatable) OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- key_version str
- (Updatable) The Vault Key version.
- secret_id str
- (Updatable) The OCID of the secret.
- secret_version str
- (Updatable) The secret version.
- value str
- (Updatable) The value corresponding to the credential.
- vault_id str
- (Updatable) OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given.
- credentialType String
- (Updatable) Credential Type.
- keyId String
- (Updatable) OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- keyVersion String
- (Updatable) The Vault Key version.
- secretId String
- (Updatable) The OCID of the secret.
- secretVersion String
- (Updatable) The secret version.
- value String
- (Updatable) The value corresponding to the credential.
- vaultId String
- (Updatable) OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given.
FleetCredentialUser, FleetCredentialUserArgs      
- CredentialType string
- (Updatable) Credential Type.
- KeyId string
- (Updatable) OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- KeyVersion string
- (Updatable) The Vault Key version.
- SecretId string
- (Updatable) The OCID of the secret.
- SecretVersion string
- (Updatable) The secret version.
- Value string
- (Updatable) The value corresponding to the credential.
- VaultId string
- (Updatable) OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- CredentialType string
- (Updatable) Credential Type.
- KeyId string
- (Updatable) OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- KeyVersion string
- (Updatable) The Vault Key version.
- SecretId string
- (Updatable) The OCID of the secret.
- SecretVersion string
- (Updatable) The secret version.
- Value string
- (Updatable) The value corresponding to the credential.
- VaultId string
- (Updatable) OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- credentialType String
- (Updatable) Credential Type.
- keyId String
- (Updatable) OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- keyVersion String
- (Updatable) The Vault Key version.
- secretId String
- (Updatable) The OCID of the secret.
- secretVersion String
- (Updatable) The secret version.
- value String
- (Updatable) The value corresponding to the credential.
- vaultId String
- (Updatable) OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- credentialType string
- (Updatable) Credential Type.
- keyId string
- (Updatable) OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- keyVersion string
- (Updatable) The Vault Key version.
- secretId string
- (Updatable) The OCID of the secret.
- secretVersion string
- (Updatable) The secret version.
- value string
- (Updatable) The value corresponding to the credential.
- vaultId string
- (Updatable) OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- credential_type str
- (Updatable) Credential Type.
- key_id str
- (Updatable) OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- key_version str
- (Updatable) The Vault Key version.
- secret_id str
- (Updatable) The OCID of the secret.
- secret_version str
- (Updatable) The secret version.
- value str
- (Updatable) The value corresponding to the credential.
- vault_id str
- (Updatable) OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- credentialType String
- (Updatable) Credential Type.
- keyId String
- (Updatable) OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- keyVersion String
- (Updatable) The Vault Key version.
- secretId String
- (Updatable) The OCID of the secret.
- secretVersion String
- (Updatable) The secret version.
- value String
- (Updatable) The value corresponding to the credential.
- vaultId String
- (Updatable) OCID for the Vault that will be used to fetch the key to encrypt/decrypt the value given. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
Import
Import is not supported for this resource.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.