vault

package
v1.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetSecretSecretContent

type GetSecretSecretContent struct {
	Content     string `pulumi:"content"`
	ContentType string `pulumi:"contentType"`
	Name        string `pulumi:"name"`
	Stage       string `pulumi:"stage"`
}

type GetSecretSecretContentArgs

type GetSecretSecretContentArgs struct {
	Content     pulumi.StringInput `pulumi:"content"`
	ContentType pulumi.StringInput `pulumi:"contentType"`
	Name        pulumi.StringInput `pulumi:"name"`
	Stage       pulumi.StringInput `pulumi:"stage"`
}

func (GetSecretSecretContentArgs) ElementType

func (GetSecretSecretContentArgs) ElementType() reflect.Type

func (GetSecretSecretContentArgs) ToGetSecretSecretContentOutput

func (i GetSecretSecretContentArgs) ToGetSecretSecretContentOutput() GetSecretSecretContentOutput

func (GetSecretSecretContentArgs) ToGetSecretSecretContentOutputWithContext

func (i GetSecretSecretContentArgs) ToGetSecretSecretContentOutputWithContext(ctx context.Context) GetSecretSecretContentOutput

func (GetSecretSecretContentArgs) ToOutput added in v1.11.0

type GetSecretSecretContentArray

type GetSecretSecretContentArray []GetSecretSecretContentInput

func (GetSecretSecretContentArray) ElementType

func (GetSecretSecretContentArray) ToGetSecretSecretContentArrayOutput

func (i GetSecretSecretContentArray) ToGetSecretSecretContentArrayOutput() GetSecretSecretContentArrayOutput

func (GetSecretSecretContentArray) ToGetSecretSecretContentArrayOutputWithContext

func (i GetSecretSecretContentArray) ToGetSecretSecretContentArrayOutputWithContext(ctx context.Context) GetSecretSecretContentArrayOutput

func (GetSecretSecretContentArray) ToOutput added in v1.11.0

type GetSecretSecretContentArrayInput

type GetSecretSecretContentArrayInput interface {
	pulumi.Input

	ToGetSecretSecretContentArrayOutput() GetSecretSecretContentArrayOutput
	ToGetSecretSecretContentArrayOutputWithContext(context.Context) GetSecretSecretContentArrayOutput
}

GetSecretSecretContentArrayInput is an input type that accepts GetSecretSecretContentArray and GetSecretSecretContentArrayOutput values. You can construct a concrete instance of `GetSecretSecretContentArrayInput` via:

GetSecretSecretContentArray{ GetSecretSecretContentArgs{...} }

type GetSecretSecretContentArrayOutput

type GetSecretSecretContentArrayOutput struct{ *pulumi.OutputState }

func (GetSecretSecretContentArrayOutput) ElementType

func (GetSecretSecretContentArrayOutput) Index

func (GetSecretSecretContentArrayOutput) ToGetSecretSecretContentArrayOutput

func (o GetSecretSecretContentArrayOutput) ToGetSecretSecretContentArrayOutput() GetSecretSecretContentArrayOutput

func (GetSecretSecretContentArrayOutput) ToGetSecretSecretContentArrayOutputWithContext

func (o GetSecretSecretContentArrayOutput) ToGetSecretSecretContentArrayOutputWithContext(ctx context.Context) GetSecretSecretContentArrayOutput

func (GetSecretSecretContentArrayOutput) ToOutput added in v1.11.0

type GetSecretSecretContentInput

type GetSecretSecretContentInput interface {
	pulumi.Input

	ToGetSecretSecretContentOutput() GetSecretSecretContentOutput
	ToGetSecretSecretContentOutputWithContext(context.Context) GetSecretSecretContentOutput
}

GetSecretSecretContentInput is an input type that accepts GetSecretSecretContentArgs and GetSecretSecretContentOutput values. You can construct a concrete instance of `GetSecretSecretContentInput` via:

GetSecretSecretContentArgs{...}

type GetSecretSecretContentOutput

type GetSecretSecretContentOutput struct{ *pulumi.OutputState }

func (GetSecretSecretContentOutput) Content

func (GetSecretSecretContentOutput) ContentType

func (GetSecretSecretContentOutput) ElementType

func (GetSecretSecretContentOutput) Name

func (GetSecretSecretContentOutput) Stage

func (GetSecretSecretContentOutput) ToGetSecretSecretContentOutput

func (o GetSecretSecretContentOutput) ToGetSecretSecretContentOutput() GetSecretSecretContentOutput

func (GetSecretSecretContentOutput) ToGetSecretSecretContentOutputWithContext

func (o GetSecretSecretContentOutput) ToGetSecretSecretContentOutputWithContext(ctx context.Context) GetSecretSecretContentOutput

func (GetSecretSecretContentOutput) ToOutput added in v1.11.0

type GetSecretSecretRule

type GetSecretSecretRule struct {
	// A property indicating whether the rule is applied even if the secret version with the content you are trying to reuse was deleted.
	IsEnforcedOnDeletedSecretVersions bool `pulumi:"isEnforcedOnDeletedSecretVersions"`
	// A property indicating whether to block retrieval of the secret content, on expiry. The default is false. If the secret has already expired and you would like to retrieve the secret contents, you need to edit the secret rule to disable this property, to allow reading the secret content.
	IsSecretContentRetrievalBlockedOnExpiry bool `pulumi:"isSecretContentRetrievalBlockedOnExpiry"`
	// The type of rule, which either controls when the secret contents expire or whether they can be reused.
	RuleType string `pulumi:"ruleType"`
	// A property indicating how long the secret contents will be considered valid, expressed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals) format. The secret needs to be updated when the secret content expires. No enforcement mechanism exists at this time, but audit logs record the expiration on the appropriate date, according to the time interval specified in the rule. The timer resets after you update the secret contents. The minimum value is 1 day and the maximum value is 90 days for this property. Currently, only intervals expressed in days are supported. For example, pass `P3D` to have the secret version expire every 3 days.
	SecretVersionExpiryInterval string `pulumi:"secretVersionExpiryInterval"`
	// An optional property indicating the absolute time when this secret will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. The minimum number of days from current time is 1 day and the maximum number of days from current time is 365 days. Example: `2019-04-03T21:10:29.600Z`
	TimeOfAbsoluteExpiry string `pulumi:"timeOfAbsoluteExpiry"`
}

type GetSecretSecretRuleArgs

type GetSecretSecretRuleArgs struct {
	// A property indicating whether the rule is applied even if the secret version with the content you are trying to reuse was deleted.
	IsEnforcedOnDeletedSecretVersions pulumi.BoolInput `pulumi:"isEnforcedOnDeletedSecretVersions"`
	// A property indicating whether to block retrieval of the secret content, on expiry. The default is false. If the secret has already expired and you would like to retrieve the secret contents, you need to edit the secret rule to disable this property, to allow reading the secret content.
	IsSecretContentRetrievalBlockedOnExpiry pulumi.BoolInput `pulumi:"isSecretContentRetrievalBlockedOnExpiry"`
	// The type of rule, which either controls when the secret contents expire or whether they can be reused.
	RuleType pulumi.StringInput `pulumi:"ruleType"`
	// A property indicating how long the secret contents will be considered valid, expressed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals) format. The secret needs to be updated when the secret content expires. No enforcement mechanism exists at this time, but audit logs record the expiration on the appropriate date, according to the time interval specified in the rule. The timer resets after you update the secret contents. The minimum value is 1 day and the maximum value is 90 days for this property. Currently, only intervals expressed in days are supported. For example, pass `P3D` to have the secret version expire every 3 days.
	SecretVersionExpiryInterval pulumi.StringInput `pulumi:"secretVersionExpiryInterval"`
	// An optional property indicating the absolute time when this secret will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. The minimum number of days from current time is 1 day and the maximum number of days from current time is 365 days. Example: `2019-04-03T21:10:29.600Z`
	TimeOfAbsoluteExpiry pulumi.StringInput `pulumi:"timeOfAbsoluteExpiry"`
}

func (GetSecretSecretRuleArgs) ElementType

func (GetSecretSecretRuleArgs) ElementType() reflect.Type

func (GetSecretSecretRuleArgs) ToGetSecretSecretRuleOutput

func (i GetSecretSecretRuleArgs) ToGetSecretSecretRuleOutput() GetSecretSecretRuleOutput

func (GetSecretSecretRuleArgs) ToGetSecretSecretRuleOutputWithContext

func (i GetSecretSecretRuleArgs) ToGetSecretSecretRuleOutputWithContext(ctx context.Context) GetSecretSecretRuleOutput

func (GetSecretSecretRuleArgs) ToOutput added in v1.11.0

type GetSecretSecretRuleArray

type GetSecretSecretRuleArray []GetSecretSecretRuleInput

func (GetSecretSecretRuleArray) ElementType

func (GetSecretSecretRuleArray) ElementType() reflect.Type

func (GetSecretSecretRuleArray) ToGetSecretSecretRuleArrayOutput

func (i GetSecretSecretRuleArray) ToGetSecretSecretRuleArrayOutput() GetSecretSecretRuleArrayOutput

func (GetSecretSecretRuleArray) ToGetSecretSecretRuleArrayOutputWithContext

func (i GetSecretSecretRuleArray) ToGetSecretSecretRuleArrayOutputWithContext(ctx context.Context) GetSecretSecretRuleArrayOutput

func (GetSecretSecretRuleArray) ToOutput added in v1.11.0

type GetSecretSecretRuleArrayInput

type GetSecretSecretRuleArrayInput interface {
	pulumi.Input

	ToGetSecretSecretRuleArrayOutput() GetSecretSecretRuleArrayOutput
	ToGetSecretSecretRuleArrayOutputWithContext(context.Context) GetSecretSecretRuleArrayOutput
}

GetSecretSecretRuleArrayInput is an input type that accepts GetSecretSecretRuleArray and GetSecretSecretRuleArrayOutput values. You can construct a concrete instance of `GetSecretSecretRuleArrayInput` via:

GetSecretSecretRuleArray{ GetSecretSecretRuleArgs{...} }

type GetSecretSecretRuleArrayOutput

type GetSecretSecretRuleArrayOutput struct{ *pulumi.OutputState }

func (GetSecretSecretRuleArrayOutput) ElementType

func (GetSecretSecretRuleArrayOutput) Index

func (GetSecretSecretRuleArrayOutput) ToGetSecretSecretRuleArrayOutput

func (o GetSecretSecretRuleArrayOutput) ToGetSecretSecretRuleArrayOutput() GetSecretSecretRuleArrayOutput

func (GetSecretSecretRuleArrayOutput) ToGetSecretSecretRuleArrayOutputWithContext

func (o GetSecretSecretRuleArrayOutput) ToGetSecretSecretRuleArrayOutputWithContext(ctx context.Context) GetSecretSecretRuleArrayOutput

func (GetSecretSecretRuleArrayOutput) ToOutput added in v1.11.0

type GetSecretSecretRuleInput

type GetSecretSecretRuleInput interface {
	pulumi.Input

	ToGetSecretSecretRuleOutput() GetSecretSecretRuleOutput
	ToGetSecretSecretRuleOutputWithContext(context.Context) GetSecretSecretRuleOutput
}

GetSecretSecretRuleInput is an input type that accepts GetSecretSecretRuleArgs and GetSecretSecretRuleOutput values. You can construct a concrete instance of `GetSecretSecretRuleInput` via:

GetSecretSecretRuleArgs{...}

type GetSecretSecretRuleOutput

type GetSecretSecretRuleOutput struct{ *pulumi.OutputState }

func (GetSecretSecretRuleOutput) ElementType

func (GetSecretSecretRuleOutput) ElementType() reflect.Type

func (GetSecretSecretRuleOutput) IsEnforcedOnDeletedSecretVersions

func (o GetSecretSecretRuleOutput) IsEnforcedOnDeletedSecretVersions() pulumi.BoolOutput

A property indicating whether the rule is applied even if the secret version with the content you are trying to reuse was deleted.

func (GetSecretSecretRuleOutput) IsSecretContentRetrievalBlockedOnExpiry

func (o GetSecretSecretRuleOutput) IsSecretContentRetrievalBlockedOnExpiry() pulumi.BoolOutput

A property indicating whether to block retrieval of the secret content, on expiry. The default is false. If the secret has already expired and you would like to retrieve the secret contents, you need to edit the secret rule to disable this property, to allow reading the secret content.

func (GetSecretSecretRuleOutput) RuleType

The type of rule, which either controls when the secret contents expire or whether they can be reused.

func (GetSecretSecretRuleOutput) SecretVersionExpiryInterval

func (o GetSecretSecretRuleOutput) SecretVersionExpiryInterval() pulumi.StringOutput

A property indicating how long the secret contents will be considered valid, expressed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals) format. The secret needs to be updated when the secret content expires. No enforcement mechanism exists at this time, but audit logs record the expiration on the appropriate date, according to the time interval specified in the rule. The timer resets after you update the secret contents. The minimum value is 1 day and the maximum value is 90 days for this property. Currently, only intervals expressed in days are supported. For example, pass `P3D` to have the secret version expire every 3 days.

func (GetSecretSecretRuleOutput) TimeOfAbsoluteExpiry

func (o GetSecretSecretRuleOutput) TimeOfAbsoluteExpiry() pulumi.StringOutput

An optional property indicating the absolute time when this secret will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. The minimum number of days from current time is 1 day and the maximum number of days from current time is 365 days. Example: `2019-04-03T21:10:29.600Z`

func (GetSecretSecretRuleOutput) ToGetSecretSecretRuleOutput

func (o GetSecretSecretRuleOutput) ToGetSecretSecretRuleOutput() GetSecretSecretRuleOutput

func (GetSecretSecretRuleOutput) ToGetSecretSecretRuleOutputWithContext

func (o GetSecretSecretRuleOutput) ToGetSecretSecretRuleOutputWithContext(ctx context.Context) GetSecretSecretRuleOutput

func (GetSecretSecretRuleOutput) ToOutput added in v1.11.0

type GetSecretVersionArgs

type GetSecretVersionArgs struct {
	// The OCID of the secret.
	SecretId string `pulumi:"secretId"`
	// The version number of the secret.
	SecretVersionNumber string `pulumi:"secretVersionNumber"`
}

A collection of arguments for invoking getSecretVersion.

type GetSecretVersionOutputArgs

type GetSecretVersionOutputArgs struct {
	// The OCID of the secret.
	SecretId pulumi.StringInput `pulumi:"secretId"`
	// The version number of the secret.
	SecretVersionNumber pulumi.StringInput `pulumi:"secretVersionNumber"`
}

A collection of arguments for invoking getSecretVersion.

func (GetSecretVersionOutputArgs) ElementType

func (GetSecretVersionOutputArgs) ElementType() reflect.Type

type GetSecretVersionResult

type GetSecretVersionResult struct {
	// The content type of the secret version's secret contents.
	ContentType string `pulumi:"contentType"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the secret version. A name is unique across versions of a secret.
	Name string `pulumi:"name"`
	// The OCID of the secret.
	SecretId            string `pulumi:"secretId"`
	SecretVersionNumber string `pulumi:"secretVersionNumber"`
	// A list of possible rotation states for the secret version. A secret version marked `CURRENT` is currently in use. A secret version marked `PENDING` is staged and available for use, but has not been applied on the target system and, therefore, has not been rotated into current, active use. The secret most recently uploaded to a vault is always marked `LATEST`. (The first version of a secret is always marked as both `CURRENT` and `LATEST`.) A secret version marked `PREVIOUS` is the secret version that was most recently marked `CURRENT`, before the last secret version rotation. A secret version marked `DEPRECATED` is neither current, pending, nor the previous one in use. Only secret versions marked `DEPRECATED` can be scheduled for deletion.
	Stages []string `pulumi:"stages"`
	// A optional property indicating when the secret version was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`
	TimeCreated string `pulumi:"timeCreated"`
	// An optional property indicating when the current secret version will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`
	TimeOfCurrentVersionExpiry string `pulumi:"timeOfCurrentVersionExpiry"`
	// An optional property indicating when to delete the secret version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`
	TimeOfDeletion string `pulumi:"timeOfDeletion"`
	// The version number of the secret.
	VersionNumber string `pulumi:"versionNumber"`
}

A collection of values returned by getSecretVersion.

func GetSecretVersion

func GetSecretVersion(ctx *pulumi.Context, args *GetSecretVersionArgs, opts ...pulumi.InvokeOption) (*GetSecretVersionResult, error)

This data source provides details about a specific Secret Version resource in Oracle Cloud Infrastructure Vault service.

Gets information about the specified version of a secret.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Vault"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Vault.GetSecretVersion(ctx, &vault.GetSecretVersionArgs{
			SecretId:            oci_vault_secret.Test_secret.Id,
			SecretVersionNumber: _var.Secret_version_secret_version_number,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetSecretVersionResultOutput

type GetSecretVersionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSecretVersion.

func (GetSecretVersionResultOutput) ContentType

The content type of the secret version's secret contents.

func (GetSecretVersionResultOutput) ElementType

func (GetSecretVersionResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetSecretVersionResultOutput) Name

The name of the secret version. A name is unique across versions of a secret.

func (GetSecretVersionResultOutput) SecretId

The OCID of the secret.

func (GetSecretVersionResultOutput) SecretVersionNumber

func (o GetSecretVersionResultOutput) SecretVersionNumber() pulumi.StringOutput

func (GetSecretVersionResultOutput) Stages

A list of possible rotation states for the secret version. A secret version marked `CURRENT` is currently in use. A secret version marked `PENDING` is staged and available for use, but has not been applied on the target system and, therefore, has not been rotated into current, active use. The secret most recently uploaded to a vault is always marked `LATEST`. (The first version of a secret is always marked as both `CURRENT` and `LATEST`.) A secret version marked `PREVIOUS` is the secret version that was most recently marked `CURRENT`, before the last secret version rotation. A secret version marked `DEPRECATED` is neither current, pending, nor the previous one in use. Only secret versions marked `DEPRECATED` can be scheduled for deletion.

func (GetSecretVersionResultOutput) TimeCreated

A optional property indicating when the secret version was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`

func (GetSecretVersionResultOutput) TimeOfCurrentVersionExpiry

func (o GetSecretVersionResultOutput) TimeOfCurrentVersionExpiry() pulumi.StringOutput

An optional property indicating when the current secret version will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`

func (GetSecretVersionResultOutput) TimeOfDeletion

An optional property indicating when to delete the secret version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`

func (GetSecretVersionResultOutput) ToGetSecretVersionResultOutput

func (o GetSecretVersionResultOutput) ToGetSecretVersionResultOutput() GetSecretVersionResultOutput

func (GetSecretVersionResultOutput) ToGetSecretVersionResultOutputWithContext

func (o GetSecretVersionResultOutput) ToGetSecretVersionResultOutputWithContext(ctx context.Context) GetSecretVersionResultOutput

func (GetSecretVersionResultOutput) ToOutput added in v1.11.0

func (GetSecretVersionResultOutput) VersionNumber

The version number of the secret.

type GetSecretsArgs

type GetSecretsArgs struct {
	// The OCID of the compartment.
	CompartmentId string             `pulumi:"compartmentId"`
	Filters       []GetSecretsFilter `pulumi:"filters"`
	// The secret name.
	Name *string `pulumi:"name"`
	// A filter that returns only resources that match the specified lifecycle state. The state value is case-insensitive.
	State *string `pulumi:"state"`
	// The OCID of the vault.
	VaultId *string `pulumi:"vaultId"`
}

A collection of arguments for invoking getSecrets.

type GetSecretsFilter

type GetSecretsFilter struct {
	// The secret name.
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetSecretsFilterArgs

type GetSecretsFilterArgs struct {
	// The secret name.
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetSecretsFilterArgs) ElementType

func (GetSecretsFilterArgs) ElementType() reflect.Type

func (GetSecretsFilterArgs) ToGetSecretsFilterOutput

func (i GetSecretsFilterArgs) ToGetSecretsFilterOutput() GetSecretsFilterOutput

func (GetSecretsFilterArgs) ToGetSecretsFilterOutputWithContext

func (i GetSecretsFilterArgs) ToGetSecretsFilterOutputWithContext(ctx context.Context) GetSecretsFilterOutput

func (GetSecretsFilterArgs) ToOutput added in v1.11.0

type GetSecretsFilterArray

type GetSecretsFilterArray []GetSecretsFilterInput

func (GetSecretsFilterArray) ElementType

func (GetSecretsFilterArray) ElementType() reflect.Type

func (GetSecretsFilterArray) ToGetSecretsFilterArrayOutput

func (i GetSecretsFilterArray) ToGetSecretsFilterArrayOutput() GetSecretsFilterArrayOutput

func (GetSecretsFilterArray) ToGetSecretsFilterArrayOutputWithContext

func (i GetSecretsFilterArray) ToGetSecretsFilterArrayOutputWithContext(ctx context.Context) GetSecretsFilterArrayOutput

func (GetSecretsFilterArray) ToOutput added in v1.11.0

type GetSecretsFilterArrayInput

type GetSecretsFilterArrayInput interface {
	pulumi.Input

	ToGetSecretsFilterArrayOutput() GetSecretsFilterArrayOutput
	ToGetSecretsFilterArrayOutputWithContext(context.Context) GetSecretsFilterArrayOutput
}

GetSecretsFilterArrayInput is an input type that accepts GetSecretsFilterArray and GetSecretsFilterArrayOutput values. You can construct a concrete instance of `GetSecretsFilterArrayInput` via:

GetSecretsFilterArray{ GetSecretsFilterArgs{...} }

type GetSecretsFilterArrayOutput

type GetSecretsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetSecretsFilterArrayOutput) ElementType

func (GetSecretsFilterArrayOutput) Index

func (GetSecretsFilterArrayOutput) ToGetSecretsFilterArrayOutput

func (o GetSecretsFilterArrayOutput) ToGetSecretsFilterArrayOutput() GetSecretsFilterArrayOutput

func (GetSecretsFilterArrayOutput) ToGetSecretsFilterArrayOutputWithContext

func (o GetSecretsFilterArrayOutput) ToGetSecretsFilterArrayOutputWithContext(ctx context.Context) GetSecretsFilterArrayOutput

func (GetSecretsFilterArrayOutput) ToOutput added in v1.11.0

type GetSecretsFilterInput

type GetSecretsFilterInput interface {
	pulumi.Input

	ToGetSecretsFilterOutput() GetSecretsFilterOutput
	ToGetSecretsFilterOutputWithContext(context.Context) GetSecretsFilterOutput
}

GetSecretsFilterInput is an input type that accepts GetSecretsFilterArgs and GetSecretsFilterOutput values. You can construct a concrete instance of `GetSecretsFilterInput` via:

GetSecretsFilterArgs{...}

type GetSecretsFilterOutput

type GetSecretsFilterOutput struct{ *pulumi.OutputState }

func (GetSecretsFilterOutput) ElementType

func (GetSecretsFilterOutput) ElementType() reflect.Type

func (GetSecretsFilterOutput) Name

The secret name.

func (GetSecretsFilterOutput) Regex

func (GetSecretsFilterOutput) ToGetSecretsFilterOutput

func (o GetSecretsFilterOutput) ToGetSecretsFilterOutput() GetSecretsFilterOutput

func (GetSecretsFilterOutput) ToGetSecretsFilterOutputWithContext

func (o GetSecretsFilterOutput) ToGetSecretsFilterOutputWithContext(ctx context.Context) GetSecretsFilterOutput

func (GetSecretsFilterOutput) ToOutput added in v1.11.0

func (GetSecretsFilterOutput) Values

type GetSecretsOutputArgs

type GetSecretsOutputArgs struct {
	// The OCID of the compartment.
	CompartmentId pulumi.StringInput         `pulumi:"compartmentId"`
	Filters       GetSecretsFilterArrayInput `pulumi:"filters"`
	// The secret name.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// A filter that returns only resources that match the specified lifecycle state. The state value is case-insensitive.
	State pulumi.StringPtrInput `pulumi:"state"`
	// The OCID of the vault.
	VaultId pulumi.StringPtrInput `pulumi:"vaultId"`
}

A collection of arguments for invoking getSecrets.

func (GetSecretsOutputArgs) ElementType

func (GetSecretsOutputArgs) ElementType() reflect.Type

type GetSecretsResult

type GetSecretsResult struct {
	// The OCID of the compartment where you want to create the secret.
	CompartmentId string             `pulumi:"compartmentId"`
	Filters       []GetSecretsFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id   string  `pulumi:"id"`
	Name *string `pulumi:"name"`
	// The list of secrets.
	Secrets []GetSecretsSecret `pulumi:"secrets"`
	// The current lifecycle state of the secret.
	State *string `pulumi:"state"`
	// The OCID of the Vault in which the secret exists
	VaultId *string `pulumi:"vaultId"`
}

A collection of values returned by getSecrets.

func GetSecrets

func GetSecrets(ctx *pulumi.Context, args *GetSecretsArgs, opts ...pulumi.InvokeOption) (*GetSecretsResult, error)

This data source provides the list of Secrets in Oracle Cloud Infrastructure Vault service.

Lists all secrets in the specified vault and compartment.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Vault"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Vault.GetSecrets(ctx, &vault.GetSecretsArgs{
			CompartmentId: _var.Compartment_id,
			Name:          pulumi.StringRef(_var.Secret_name),
			State:         pulumi.StringRef(_var.Secret_state),
			VaultId:       pulumi.StringRef(oci_kms_vault.Test_vault.Id),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetSecretsResultOutput

type GetSecretsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSecrets.

func (GetSecretsResultOutput) CompartmentId

func (o GetSecretsResultOutput) CompartmentId() pulumi.StringOutput

The OCID of the compartment where you want to create the secret.

func (GetSecretsResultOutput) ElementType

func (GetSecretsResultOutput) ElementType() reflect.Type

func (GetSecretsResultOutput) Filters

func (GetSecretsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetSecretsResultOutput) Name

func (GetSecretsResultOutput) Secrets

The list of secrets.

func (GetSecretsResultOutput) State

The current lifecycle state of the secret.

func (GetSecretsResultOutput) ToGetSecretsResultOutput

func (o GetSecretsResultOutput) ToGetSecretsResultOutput() GetSecretsResultOutput

func (GetSecretsResultOutput) ToGetSecretsResultOutputWithContext

func (o GetSecretsResultOutput) ToGetSecretsResultOutputWithContext(ctx context.Context) GetSecretsResultOutput

func (GetSecretsResultOutput) ToOutput added in v1.11.0

func (GetSecretsResultOutput) VaultId

The OCID of the Vault in which the secret exists

type GetSecretsSecret

type GetSecretsSecret struct {
	// The OCID of the compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// The version number of the secret version that's currently in use.
	CurrentVersionNumber string `pulumi:"currentVersionNumber"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// A brief description of the secret. Avoid entering confidential information.
	Description string `pulumi:"description"`
	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// The OCID of the secret.
	Id string `pulumi:"id"`
	// The OCID of the master encryption key that is used to encrypt the secret.
	KeyId string `pulumi:"keyId"`
	// Additional information about the current lifecycle state of the secret.
	LifecycleDetails string `pulumi:"lifecycleDetails"`
	// Additional metadata that you can use to provide context about how to use the secret or during rotation or other administrative tasks. For example, for a secret that you use to connect to a database, the additional metadata might specify the connection endpoint and the connection string. Provide additional metadata as key-value pairs.
	Metadata       map[string]interface{}          `pulumi:"metadata"`
	SecretContents []GetSecretsSecretSecretContent `pulumi:"secretContents"`
	// The user-friendly name of the secret. Avoid entering confidential information.
	SecretName string `pulumi:"secretName"`
	// A list of rules that control how the secret is used and managed.
	SecretRules []GetSecretsSecretSecretRule `pulumi:"secretRules"`
	// A filter that returns only resources that match the specified lifecycle state. The state value is case-insensitive.
	State string `pulumi:"state"`
	// A property indicating when the secret was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`
	TimeCreated string `pulumi:"timeCreated"`
	// An optional property indicating when the current secret version will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`
	TimeOfCurrentVersionExpiry string `pulumi:"timeOfCurrentVersionExpiry"`
	// An optional property indicating when to delete the secret, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`
	TimeOfDeletion string `pulumi:"timeOfDeletion"`
	// The OCID of the vault.
	VaultId string `pulumi:"vaultId"`
}

type GetSecretsSecretArgs

type GetSecretsSecretArgs struct {
	// The OCID of the compartment.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// The version number of the secret version that's currently in use.
	CurrentVersionNumber pulumi.StringInput `pulumi:"currentVersionNumber"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
	DefinedTags pulumi.MapInput `pulumi:"definedTags"`
	// A brief description of the secret. Avoid entering confidential information.
	Description pulumi.StringInput `pulumi:"description"`
	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
	FreeformTags pulumi.MapInput `pulumi:"freeformTags"`
	// The OCID of the secret.
	Id pulumi.StringInput `pulumi:"id"`
	// The OCID of the master encryption key that is used to encrypt the secret.
	KeyId pulumi.StringInput `pulumi:"keyId"`
	// Additional information about the current lifecycle state of the secret.
	LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"`
	// Additional metadata that you can use to provide context about how to use the secret or during rotation or other administrative tasks. For example, for a secret that you use to connect to a database, the additional metadata might specify the connection endpoint and the connection string. Provide additional metadata as key-value pairs.
	Metadata       pulumi.MapInput                         `pulumi:"metadata"`
	SecretContents GetSecretsSecretSecretContentArrayInput `pulumi:"secretContents"`
	// The user-friendly name of the secret. Avoid entering confidential information.
	SecretName pulumi.StringInput `pulumi:"secretName"`
	// A list of rules that control how the secret is used and managed.
	SecretRules GetSecretsSecretSecretRuleArrayInput `pulumi:"secretRules"`
	// A filter that returns only resources that match the specified lifecycle state. The state value is case-insensitive.
	State pulumi.StringInput `pulumi:"state"`
	// A property indicating when the secret was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// An optional property indicating when the current secret version will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`
	TimeOfCurrentVersionExpiry pulumi.StringInput `pulumi:"timeOfCurrentVersionExpiry"`
	// An optional property indicating when to delete the secret, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`
	TimeOfDeletion pulumi.StringInput `pulumi:"timeOfDeletion"`
	// The OCID of the vault.
	VaultId pulumi.StringInput `pulumi:"vaultId"`
}

func (GetSecretsSecretArgs) ElementType

func (GetSecretsSecretArgs) ElementType() reflect.Type

func (GetSecretsSecretArgs) ToGetSecretsSecretOutput

func (i GetSecretsSecretArgs) ToGetSecretsSecretOutput() GetSecretsSecretOutput

func (GetSecretsSecretArgs) ToGetSecretsSecretOutputWithContext

func (i GetSecretsSecretArgs) ToGetSecretsSecretOutputWithContext(ctx context.Context) GetSecretsSecretOutput

func (GetSecretsSecretArgs) ToOutput added in v1.11.0

type GetSecretsSecretArray

type GetSecretsSecretArray []GetSecretsSecretInput

func (GetSecretsSecretArray) ElementType

func (GetSecretsSecretArray) ElementType() reflect.Type

func (GetSecretsSecretArray) ToGetSecretsSecretArrayOutput

func (i GetSecretsSecretArray) ToGetSecretsSecretArrayOutput() GetSecretsSecretArrayOutput

func (GetSecretsSecretArray) ToGetSecretsSecretArrayOutputWithContext

func (i GetSecretsSecretArray) ToGetSecretsSecretArrayOutputWithContext(ctx context.Context) GetSecretsSecretArrayOutput

func (GetSecretsSecretArray) ToOutput added in v1.11.0

type GetSecretsSecretArrayInput

type GetSecretsSecretArrayInput interface {
	pulumi.Input

	ToGetSecretsSecretArrayOutput() GetSecretsSecretArrayOutput
	ToGetSecretsSecretArrayOutputWithContext(context.Context) GetSecretsSecretArrayOutput
}

GetSecretsSecretArrayInput is an input type that accepts GetSecretsSecretArray and GetSecretsSecretArrayOutput values. You can construct a concrete instance of `GetSecretsSecretArrayInput` via:

GetSecretsSecretArray{ GetSecretsSecretArgs{...} }

type GetSecretsSecretArrayOutput

type GetSecretsSecretArrayOutput struct{ *pulumi.OutputState }

func (GetSecretsSecretArrayOutput) ElementType

func (GetSecretsSecretArrayOutput) Index

func (GetSecretsSecretArrayOutput) ToGetSecretsSecretArrayOutput

func (o GetSecretsSecretArrayOutput) ToGetSecretsSecretArrayOutput() GetSecretsSecretArrayOutput

func (GetSecretsSecretArrayOutput) ToGetSecretsSecretArrayOutputWithContext

func (o GetSecretsSecretArrayOutput) ToGetSecretsSecretArrayOutputWithContext(ctx context.Context) GetSecretsSecretArrayOutput

func (GetSecretsSecretArrayOutput) ToOutput added in v1.11.0

type GetSecretsSecretInput

type GetSecretsSecretInput interface {
	pulumi.Input

	ToGetSecretsSecretOutput() GetSecretsSecretOutput
	ToGetSecretsSecretOutputWithContext(context.Context) GetSecretsSecretOutput
}

GetSecretsSecretInput is an input type that accepts GetSecretsSecretArgs and GetSecretsSecretOutput values. You can construct a concrete instance of `GetSecretsSecretInput` via:

GetSecretsSecretArgs{...}

type GetSecretsSecretOutput

type GetSecretsSecretOutput struct{ *pulumi.OutputState }

func (GetSecretsSecretOutput) CompartmentId

func (o GetSecretsSecretOutput) CompartmentId() pulumi.StringOutput

The OCID of the compartment.

func (GetSecretsSecretOutput) CurrentVersionNumber

func (o GetSecretsSecretOutput) CurrentVersionNumber() pulumi.StringOutput

The version number of the secret version that's currently in use.

func (GetSecretsSecretOutput) DefinedTags

func (o GetSecretsSecretOutput) DefinedTags() pulumi.MapOutput

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`

func (GetSecretsSecretOutput) Description

func (o GetSecretsSecretOutput) Description() pulumi.StringOutput

A brief description of the secret. Avoid entering confidential information.

func (GetSecretsSecretOutput) ElementType

func (GetSecretsSecretOutput) ElementType() reflect.Type

func (GetSecretsSecretOutput) FreeformTags

func (o GetSecretsSecretOutput) FreeformTags() pulumi.MapOutput

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`

func (GetSecretsSecretOutput) Id

The OCID of the secret.

func (GetSecretsSecretOutput) KeyId

The OCID of the master encryption key that is used to encrypt the secret.

func (GetSecretsSecretOutput) LifecycleDetails

func (o GetSecretsSecretOutput) LifecycleDetails() pulumi.StringOutput

Additional information about the current lifecycle state of the secret.

func (GetSecretsSecretOutput) Metadata

Additional metadata that you can use to provide context about how to use the secret or during rotation or other administrative tasks. For example, for a secret that you use to connect to a database, the additional metadata might specify the connection endpoint and the connection string. Provide additional metadata as key-value pairs.

func (GetSecretsSecretOutput) SecretContents

func (GetSecretsSecretOutput) SecretName

The user-friendly name of the secret. Avoid entering confidential information.

func (GetSecretsSecretOutput) SecretRules

A list of rules that control how the secret is used and managed.

func (GetSecretsSecretOutput) State

A filter that returns only resources that match the specified lifecycle state. The state value is case-insensitive.

func (GetSecretsSecretOutput) TimeCreated

func (o GetSecretsSecretOutput) TimeCreated() pulumi.StringOutput

A property indicating when the secret was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`

func (GetSecretsSecretOutput) TimeOfCurrentVersionExpiry

func (o GetSecretsSecretOutput) TimeOfCurrentVersionExpiry() pulumi.StringOutput

An optional property indicating when the current secret version will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`

func (GetSecretsSecretOutput) TimeOfDeletion

func (o GetSecretsSecretOutput) TimeOfDeletion() pulumi.StringOutput

An optional property indicating when to delete the secret, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`

func (GetSecretsSecretOutput) ToGetSecretsSecretOutput

func (o GetSecretsSecretOutput) ToGetSecretsSecretOutput() GetSecretsSecretOutput

func (GetSecretsSecretOutput) ToGetSecretsSecretOutputWithContext

func (o GetSecretsSecretOutput) ToGetSecretsSecretOutputWithContext(ctx context.Context) GetSecretsSecretOutput

func (GetSecretsSecretOutput) ToOutput added in v1.11.0

func (GetSecretsSecretOutput) VaultId

The OCID of the vault.

type GetSecretsSecretSecretContent

type GetSecretsSecretSecretContent struct {
	Content     string `pulumi:"content"`
	ContentType string `pulumi:"contentType"`
	// The secret name.
	Name  string `pulumi:"name"`
	Stage string `pulumi:"stage"`
}

type GetSecretsSecretSecretContentArgs

type GetSecretsSecretSecretContentArgs struct {
	Content     pulumi.StringInput `pulumi:"content"`
	ContentType pulumi.StringInput `pulumi:"contentType"`
	// The secret name.
	Name  pulumi.StringInput `pulumi:"name"`
	Stage pulumi.StringInput `pulumi:"stage"`
}

func (GetSecretsSecretSecretContentArgs) ElementType

func (GetSecretsSecretSecretContentArgs) ToGetSecretsSecretSecretContentOutput

func (i GetSecretsSecretSecretContentArgs) ToGetSecretsSecretSecretContentOutput() GetSecretsSecretSecretContentOutput

func (GetSecretsSecretSecretContentArgs) ToGetSecretsSecretSecretContentOutputWithContext

func (i GetSecretsSecretSecretContentArgs) ToGetSecretsSecretSecretContentOutputWithContext(ctx context.Context) GetSecretsSecretSecretContentOutput

func (GetSecretsSecretSecretContentArgs) ToOutput added in v1.11.0

type GetSecretsSecretSecretContentArray

type GetSecretsSecretSecretContentArray []GetSecretsSecretSecretContentInput

func (GetSecretsSecretSecretContentArray) ElementType

func (GetSecretsSecretSecretContentArray) ToGetSecretsSecretSecretContentArrayOutput

func (i GetSecretsSecretSecretContentArray) ToGetSecretsSecretSecretContentArrayOutput() GetSecretsSecretSecretContentArrayOutput

func (GetSecretsSecretSecretContentArray) ToGetSecretsSecretSecretContentArrayOutputWithContext

func (i GetSecretsSecretSecretContentArray) ToGetSecretsSecretSecretContentArrayOutputWithContext(ctx context.Context) GetSecretsSecretSecretContentArrayOutput

func (GetSecretsSecretSecretContentArray) ToOutput added in v1.11.0

type GetSecretsSecretSecretContentArrayInput

type GetSecretsSecretSecretContentArrayInput interface {
	pulumi.Input

	ToGetSecretsSecretSecretContentArrayOutput() GetSecretsSecretSecretContentArrayOutput
	ToGetSecretsSecretSecretContentArrayOutputWithContext(context.Context) GetSecretsSecretSecretContentArrayOutput
}

GetSecretsSecretSecretContentArrayInput is an input type that accepts GetSecretsSecretSecretContentArray and GetSecretsSecretSecretContentArrayOutput values. You can construct a concrete instance of `GetSecretsSecretSecretContentArrayInput` via:

GetSecretsSecretSecretContentArray{ GetSecretsSecretSecretContentArgs{...} }

type GetSecretsSecretSecretContentArrayOutput

type GetSecretsSecretSecretContentArrayOutput struct{ *pulumi.OutputState }

func (GetSecretsSecretSecretContentArrayOutput) ElementType

func (GetSecretsSecretSecretContentArrayOutput) Index

func (GetSecretsSecretSecretContentArrayOutput) ToGetSecretsSecretSecretContentArrayOutput

func (o GetSecretsSecretSecretContentArrayOutput) ToGetSecretsSecretSecretContentArrayOutput() GetSecretsSecretSecretContentArrayOutput

func (GetSecretsSecretSecretContentArrayOutput) ToGetSecretsSecretSecretContentArrayOutputWithContext

func (o GetSecretsSecretSecretContentArrayOutput) ToGetSecretsSecretSecretContentArrayOutputWithContext(ctx context.Context) GetSecretsSecretSecretContentArrayOutput

func (GetSecretsSecretSecretContentArrayOutput) ToOutput added in v1.11.0

type GetSecretsSecretSecretContentInput

type GetSecretsSecretSecretContentInput interface {
	pulumi.Input

	ToGetSecretsSecretSecretContentOutput() GetSecretsSecretSecretContentOutput
	ToGetSecretsSecretSecretContentOutputWithContext(context.Context) GetSecretsSecretSecretContentOutput
}

GetSecretsSecretSecretContentInput is an input type that accepts GetSecretsSecretSecretContentArgs and GetSecretsSecretSecretContentOutput values. You can construct a concrete instance of `GetSecretsSecretSecretContentInput` via:

GetSecretsSecretSecretContentArgs{...}

type GetSecretsSecretSecretContentOutput

type GetSecretsSecretSecretContentOutput struct{ *pulumi.OutputState }

func (GetSecretsSecretSecretContentOutput) Content

func (GetSecretsSecretSecretContentOutput) ContentType

func (GetSecretsSecretSecretContentOutput) ElementType

func (GetSecretsSecretSecretContentOutput) Name

The secret name.

func (GetSecretsSecretSecretContentOutput) Stage

func (GetSecretsSecretSecretContentOutput) ToGetSecretsSecretSecretContentOutput

func (o GetSecretsSecretSecretContentOutput) ToGetSecretsSecretSecretContentOutput() GetSecretsSecretSecretContentOutput

func (GetSecretsSecretSecretContentOutput) ToGetSecretsSecretSecretContentOutputWithContext

func (o GetSecretsSecretSecretContentOutput) ToGetSecretsSecretSecretContentOutputWithContext(ctx context.Context) GetSecretsSecretSecretContentOutput

func (GetSecretsSecretSecretContentOutput) ToOutput added in v1.11.0

type GetSecretsSecretSecretRule

type GetSecretsSecretSecretRule struct {
	// A property indicating whether the rule is applied even if the secret version with the content you are trying to reuse was deleted.
	IsEnforcedOnDeletedSecretVersions bool `pulumi:"isEnforcedOnDeletedSecretVersions"`
	// A property indicating whether to block retrieval of the secret content, on expiry. The default is false. If the secret has already expired and you would like to retrieve the secret contents, you need to edit the secret rule to disable this property, to allow reading the secret content.
	IsSecretContentRetrievalBlockedOnExpiry bool `pulumi:"isSecretContentRetrievalBlockedOnExpiry"`
	// The type of rule, which either controls when the secret contents expire or whether they can be reused.
	RuleType string `pulumi:"ruleType"`
	// A property indicating how long the secret contents will be considered valid, expressed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals) format. The secret needs to be updated when the secret content expires. No enforcement mechanism exists at this time, but audit logs record the expiration on the appropriate date, according to the time interval specified in the rule. The timer resets after you update the secret contents. The minimum value is 1 day and the maximum value is 90 days for this property. Currently, only intervals expressed in days are supported. For example, pass `P3D` to have the secret version expire every 3 days.
	SecretVersionExpiryInterval string `pulumi:"secretVersionExpiryInterval"`
	// An optional property indicating the absolute time when this secret will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. The minimum number of days from current time is 1 day and the maximum number of days from current time is 365 days. Example: `2019-04-03T21:10:29.600Z`
	TimeOfAbsoluteExpiry string `pulumi:"timeOfAbsoluteExpiry"`
}

type GetSecretsSecretSecretRuleArgs

type GetSecretsSecretSecretRuleArgs struct {
	// A property indicating whether the rule is applied even if the secret version with the content you are trying to reuse was deleted.
	IsEnforcedOnDeletedSecretVersions pulumi.BoolInput `pulumi:"isEnforcedOnDeletedSecretVersions"`
	// A property indicating whether to block retrieval of the secret content, on expiry. The default is false. If the secret has already expired and you would like to retrieve the secret contents, you need to edit the secret rule to disable this property, to allow reading the secret content.
	IsSecretContentRetrievalBlockedOnExpiry pulumi.BoolInput `pulumi:"isSecretContentRetrievalBlockedOnExpiry"`
	// The type of rule, which either controls when the secret contents expire or whether they can be reused.
	RuleType pulumi.StringInput `pulumi:"ruleType"`
	// A property indicating how long the secret contents will be considered valid, expressed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals) format. The secret needs to be updated when the secret content expires. No enforcement mechanism exists at this time, but audit logs record the expiration on the appropriate date, according to the time interval specified in the rule. The timer resets after you update the secret contents. The minimum value is 1 day and the maximum value is 90 days for this property. Currently, only intervals expressed in days are supported. For example, pass `P3D` to have the secret version expire every 3 days.
	SecretVersionExpiryInterval pulumi.StringInput `pulumi:"secretVersionExpiryInterval"`
	// An optional property indicating the absolute time when this secret will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. The minimum number of days from current time is 1 day and the maximum number of days from current time is 365 days. Example: `2019-04-03T21:10:29.600Z`
	TimeOfAbsoluteExpiry pulumi.StringInput `pulumi:"timeOfAbsoluteExpiry"`
}

func (GetSecretsSecretSecretRuleArgs) ElementType

func (GetSecretsSecretSecretRuleArgs) ToGetSecretsSecretSecretRuleOutput

func (i GetSecretsSecretSecretRuleArgs) ToGetSecretsSecretSecretRuleOutput() GetSecretsSecretSecretRuleOutput

func (GetSecretsSecretSecretRuleArgs) ToGetSecretsSecretSecretRuleOutputWithContext

func (i GetSecretsSecretSecretRuleArgs) ToGetSecretsSecretSecretRuleOutputWithContext(ctx context.Context) GetSecretsSecretSecretRuleOutput

func (GetSecretsSecretSecretRuleArgs) ToOutput added in v1.11.0

type GetSecretsSecretSecretRuleArray

type GetSecretsSecretSecretRuleArray []GetSecretsSecretSecretRuleInput

func (GetSecretsSecretSecretRuleArray) ElementType

func (GetSecretsSecretSecretRuleArray) ToGetSecretsSecretSecretRuleArrayOutput

func (i GetSecretsSecretSecretRuleArray) ToGetSecretsSecretSecretRuleArrayOutput() GetSecretsSecretSecretRuleArrayOutput

func (GetSecretsSecretSecretRuleArray) ToGetSecretsSecretSecretRuleArrayOutputWithContext

func (i GetSecretsSecretSecretRuleArray) ToGetSecretsSecretSecretRuleArrayOutputWithContext(ctx context.Context) GetSecretsSecretSecretRuleArrayOutput

func (GetSecretsSecretSecretRuleArray) ToOutput added in v1.11.0

type GetSecretsSecretSecretRuleArrayInput

type GetSecretsSecretSecretRuleArrayInput interface {
	pulumi.Input

	ToGetSecretsSecretSecretRuleArrayOutput() GetSecretsSecretSecretRuleArrayOutput
	ToGetSecretsSecretSecretRuleArrayOutputWithContext(context.Context) GetSecretsSecretSecretRuleArrayOutput
}

GetSecretsSecretSecretRuleArrayInput is an input type that accepts GetSecretsSecretSecretRuleArray and GetSecretsSecretSecretRuleArrayOutput values. You can construct a concrete instance of `GetSecretsSecretSecretRuleArrayInput` via:

GetSecretsSecretSecretRuleArray{ GetSecretsSecretSecretRuleArgs{...} }

type GetSecretsSecretSecretRuleArrayOutput

type GetSecretsSecretSecretRuleArrayOutput struct{ *pulumi.OutputState }

func (GetSecretsSecretSecretRuleArrayOutput) ElementType

func (GetSecretsSecretSecretRuleArrayOutput) Index

func (GetSecretsSecretSecretRuleArrayOutput) ToGetSecretsSecretSecretRuleArrayOutput

func (o GetSecretsSecretSecretRuleArrayOutput) ToGetSecretsSecretSecretRuleArrayOutput() GetSecretsSecretSecretRuleArrayOutput

func (GetSecretsSecretSecretRuleArrayOutput) ToGetSecretsSecretSecretRuleArrayOutputWithContext

func (o GetSecretsSecretSecretRuleArrayOutput) ToGetSecretsSecretSecretRuleArrayOutputWithContext(ctx context.Context) GetSecretsSecretSecretRuleArrayOutput

func (GetSecretsSecretSecretRuleArrayOutput) ToOutput added in v1.11.0

type GetSecretsSecretSecretRuleInput

type GetSecretsSecretSecretRuleInput interface {
	pulumi.Input

	ToGetSecretsSecretSecretRuleOutput() GetSecretsSecretSecretRuleOutput
	ToGetSecretsSecretSecretRuleOutputWithContext(context.Context) GetSecretsSecretSecretRuleOutput
}

GetSecretsSecretSecretRuleInput is an input type that accepts GetSecretsSecretSecretRuleArgs and GetSecretsSecretSecretRuleOutput values. You can construct a concrete instance of `GetSecretsSecretSecretRuleInput` via:

GetSecretsSecretSecretRuleArgs{...}

type GetSecretsSecretSecretRuleOutput

type GetSecretsSecretSecretRuleOutput struct{ *pulumi.OutputState }

func (GetSecretsSecretSecretRuleOutput) ElementType

func (GetSecretsSecretSecretRuleOutput) IsEnforcedOnDeletedSecretVersions

func (o GetSecretsSecretSecretRuleOutput) IsEnforcedOnDeletedSecretVersions() pulumi.BoolOutput

A property indicating whether the rule is applied even if the secret version with the content you are trying to reuse was deleted.

func (GetSecretsSecretSecretRuleOutput) IsSecretContentRetrievalBlockedOnExpiry

func (o GetSecretsSecretSecretRuleOutput) IsSecretContentRetrievalBlockedOnExpiry() pulumi.BoolOutput

A property indicating whether to block retrieval of the secret content, on expiry. The default is false. If the secret has already expired and you would like to retrieve the secret contents, you need to edit the secret rule to disable this property, to allow reading the secret content.

func (GetSecretsSecretSecretRuleOutput) RuleType

The type of rule, which either controls when the secret contents expire or whether they can be reused.

func (GetSecretsSecretSecretRuleOutput) SecretVersionExpiryInterval

func (o GetSecretsSecretSecretRuleOutput) SecretVersionExpiryInterval() pulumi.StringOutput

A property indicating how long the secret contents will be considered valid, expressed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals) format. The secret needs to be updated when the secret content expires. No enforcement mechanism exists at this time, but audit logs record the expiration on the appropriate date, according to the time interval specified in the rule. The timer resets after you update the secret contents. The minimum value is 1 day and the maximum value is 90 days for this property. Currently, only intervals expressed in days are supported. For example, pass `P3D` to have the secret version expire every 3 days.

func (GetSecretsSecretSecretRuleOutput) TimeOfAbsoluteExpiry

func (o GetSecretsSecretSecretRuleOutput) TimeOfAbsoluteExpiry() pulumi.StringOutput

An optional property indicating the absolute time when this secret will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. The minimum number of days from current time is 1 day and the maximum number of days from current time is 365 days. Example: `2019-04-03T21:10:29.600Z`

func (GetSecretsSecretSecretRuleOutput) ToGetSecretsSecretSecretRuleOutput

func (o GetSecretsSecretSecretRuleOutput) ToGetSecretsSecretSecretRuleOutput() GetSecretsSecretSecretRuleOutput

func (GetSecretsSecretSecretRuleOutput) ToGetSecretsSecretSecretRuleOutputWithContext

func (o GetSecretsSecretSecretRuleOutput) ToGetSecretsSecretSecretRuleOutputWithContext(ctx context.Context) GetSecretsSecretSecretRuleOutput

func (GetSecretsSecretSecretRuleOutput) ToOutput added in v1.11.0

type LookupSecretArgs

type LookupSecretArgs struct {
	// The OCID of the secret.
	SecretId string `pulumi:"secretId"`
}

A collection of arguments for invoking getSecret.

type LookupSecretOutputArgs

type LookupSecretOutputArgs struct {
	// The OCID of the secret.
	SecretId pulumi.StringInput `pulumi:"secretId"`
}

A collection of arguments for invoking getSecret.

func (LookupSecretOutputArgs) ElementType

func (LookupSecretOutputArgs) ElementType() reflect.Type

type LookupSecretResult

type LookupSecretResult struct {
	// The OCID of the compartment where you want to create the secret.
	CompartmentId string `pulumi:"compartmentId"`
	// The version number of the secret version that's currently in use.
	CurrentVersionNumber string `pulumi:"currentVersionNumber"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// A brief description of the secret. Avoid entering confidential information.
	Description string `pulumi:"description"`
	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// The OCID of the secret.
	Id string `pulumi:"id"`
	// The OCID of the master encryption key that is used to encrypt the secret.
	KeyId string `pulumi:"keyId"`
	// Additional information about the current lifecycle state of the secret.
	LifecycleDetails string `pulumi:"lifecycleDetails"`
	// Additional metadata that you can use to provide context about how to use the secret or during rotation or other administrative tasks. For example, for a secret that you use to connect to a database, the additional metadata might specify the connection endpoint and the connection string. Provide additional metadata as key-value pairs.
	Metadata       map[string]interface{}   `pulumi:"metadata"`
	SecretContents []GetSecretSecretContent `pulumi:"secretContents"`
	SecretId       string                   `pulumi:"secretId"`
	// The user-friendly name of the secret. Avoid entering confidential information.
	SecretName string `pulumi:"secretName"`
	// A list of rules that control how the secret is used and managed.
	SecretRules []GetSecretSecretRule `pulumi:"secretRules"`
	// The current lifecycle state of the secret.
	State string `pulumi:"state"`
	// A property indicating when the secret was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`
	TimeCreated string `pulumi:"timeCreated"`
	// An optional property indicating when the current secret version will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`
	TimeOfCurrentVersionExpiry string `pulumi:"timeOfCurrentVersionExpiry"`
	// An optional property indicating when to delete the secret, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`
	TimeOfDeletion string `pulumi:"timeOfDeletion"`
	// The OCID of the Vault in which the secret exists
	VaultId string `pulumi:"vaultId"`
}

A collection of values returned by getSecret.

func LookupSecret

func LookupSecret(ctx *pulumi.Context, args *LookupSecretArgs, opts ...pulumi.InvokeOption) (*LookupSecretResult, error)

This data source provides details about a specific Secret resource in Oracle Cloud Infrastructure Vault service.

Gets information about the specified secret.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Vault"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Vault.GetSecret(ctx, &vault.GetSecretArgs{
			SecretId: oci_vault_secret.Test_secret.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupSecretResultOutput

type LookupSecretResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSecret.

func (LookupSecretResultOutput) CompartmentId

func (o LookupSecretResultOutput) CompartmentId() pulumi.StringOutput

The OCID of the compartment where you want to create the secret.

func (LookupSecretResultOutput) CurrentVersionNumber

func (o LookupSecretResultOutput) CurrentVersionNumber() pulumi.StringOutput

The version number of the secret version that's currently in use.

func (LookupSecretResultOutput) DefinedTags

func (o LookupSecretResultOutput) DefinedTags() pulumi.MapOutput

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`

func (LookupSecretResultOutput) Description

A brief description of the secret. Avoid entering confidential information.

func (LookupSecretResultOutput) ElementType

func (LookupSecretResultOutput) ElementType() reflect.Type

func (LookupSecretResultOutput) FreeformTags

func (o LookupSecretResultOutput) FreeformTags() pulumi.MapOutput

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`

func (LookupSecretResultOutput) Id

The OCID of the secret.

func (LookupSecretResultOutput) KeyId

The OCID of the master encryption key that is used to encrypt the secret.

func (LookupSecretResultOutput) LifecycleDetails

func (o LookupSecretResultOutput) LifecycleDetails() pulumi.StringOutput

Additional information about the current lifecycle state of the secret.

func (LookupSecretResultOutput) Metadata

Additional metadata that you can use to provide context about how to use the secret or during rotation or other administrative tasks. For example, for a secret that you use to connect to a database, the additional metadata might specify the connection endpoint and the connection string. Provide additional metadata as key-value pairs.

func (LookupSecretResultOutput) SecretContents

func (LookupSecretResultOutput) SecretId

func (LookupSecretResultOutput) SecretName

The user-friendly name of the secret. Avoid entering confidential information.

func (LookupSecretResultOutput) SecretRules

A list of rules that control how the secret is used and managed.

func (LookupSecretResultOutput) State

The current lifecycle state of the secret.

func (LookupSecretResultOutput) TimeCreated

A property indicating when the secret was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`

func (LookupSecretResultOutput) TimeOfCurrentVersionExpiry

func (o LookupSecretResultOutput) TimeOfCurrentVersionExpiry() pulumi.StringOutput

An optional property indicating when the current secret version will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`

func (LookupSecretResultOutput) TimeOfDeletion

func (o LookupSecretResultOutput) TimeOfDeletion() pulumi.StringOutput

An optional property indicating when to delete the secret, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`

func (LookupSecretResultOutput) ToLookupSecretResultOutput

func (o LookupSecretResultOutput) ToLookupSecretResultOutput() LookupSecretResultOutput

func (LookupSecretResultOutput) ToLookupSecretResultOutputWithContext

func (o LookupSecretResultOutput) ToLookupSecretResultOutputWithContext(ctx context.Context) LookupSecretResultOutput

func (LookupSecretResultOutput) ToOutput added in v1.11.0

func (LookupSecretResultOutput) VaultId

The OCID of the Vault in which the secret exists

type Secret

type Secret struct {
	pulumi.CustomResourceState

	// (Updatable) The OCID of the compartment where you want to create the secret.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// The version number of the secret version that's currently in use.
	CurrentVersionNumber pulumi.StringOutput `pulumi:"currentVersionNumber"`
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
	DefinedTags pulumi.MapOutput `pulumi:"definedTags"`
	// (Updatable) A brief description of the secret. Avoid entering confidential information.
	Description pulumi.StringOutput `pulumi:"description"`
	// (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
	FreeformTags pulumi.MapOutput `pulumi:"freeformTags"`
	// The OCID of the master encryption key that is used to encrypt the secret.
	KeyId pulumi.StringOutput `pulumi:"keyId"`
	// Additional information about the current lifecycle state of the secret.
	LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"`
	// (Updatable) Additional metadata that you can use to provide context about how to use the secret during rotation or other administrative tasks. For example, for a secret that you use to connect to a database, the additional metadata might specify the connection endpoint and the connection string. Provide additional metadata as key-value pairs.
	Metadata pulumi.MapOutput `pulumi:"metadata"`
	// (Updatable) The content of the secret and metadata to help identify it.
	SecretContent SecretSecretContentOutput `pulumi:"secretContent"`
	// A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
	SecretName pulumi.StringOutput `pulumi:"secretName"`
	// (Updatable) A list of rules to control how the secret is used and managed.
	SecretRules SecretSecretRuleArrayOutput `pulumi:"secretRules"`
	// The current lifecycle state of the secret.
	State pulumi.StringOutput `pulumi:"state"`
	// A property indicating when the secret was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// An optional property indicating when the current secret version will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`
	TimeOfCurrentVersionExpiry pulumi.StringOutput `pulumi:"timeOfCurrentVersionExpiry"`
	// An optional property indicating when to delete the secret, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`
	TimeOfDeletion pulumi.StringOutput `pulumi:"timeOfDeletion"`
	// The OCID of the vault where you want to create the secret.
	//
	// ** 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
	VaultId pulumi.StringOutput `pulumi:"vaultId"`
}

This resource provides the Secret resource in Oracle Cloud Infrastructure Vault service.

Creates a new secret according to the details of the request.

## Import

Secrets can be imported using the `id`, e.g.

```sh

$ pulumi import oci:Vault/secret:Secret test_secret "id"

```

func GetSecret

func GetSecret(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SecretState, opts ...pulumi.ResourceOption) (*Secret, error)

GetSecret gets an existing Secret resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSecret

func NewSecret(ctx *pulumi.Context,
	name string, args *SecretArgs, opts ...pulumi.ResourceOption) (*Secret, error)

NewSecret registers a new resource with the given unique name, arguments, and options.

func (*Secret) ElementType

func (*Secret) ElementType() reflect.Type

func (*Secret) ToOutput added in v1.11.0

func (i *Secret) ToOutput(ctx context.Context) pulumix.Output[*Secret]

func (*Secret) ToSecretOutput

func (i *Secret) ToSecretOutput() SecretOutput

func (*Secret) ToSecretOutputWithContext

func (i *Secret) ToSecretOutputWithContext(ctx context.Context) SecretOutput

type SecretArgs

type SecretArgs struct {
	// (Updatable) The OCID of the compartment where you want to create the secret.
	CompartmentId pulumi.StringInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
	DefinedTags pulumi.MapInput
	// (Updatable) A brief description of the secret. Avoid entering confidential information.
	Description pulumi.StringPtrInput
	// (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
	FreeformTags pulumi.MapInput
	// The OCID of the master encryption key that is used to encrypt the secret.
	KeyId pulumi.StringInput
	// (Updatable) Additional metadata that you can use to provide context about how to use the secret during rotation or other administrative tasks. For example, for a secret that you use to connect to a database, the additional metadata might specify the connection endpoint and the connection string. Provide additional metadata as key-value pairs.
	Metadata pulumi.MapInput
	// (Updatable) The content of the secret and metadata to help identify it.
	SecretContent SecretSecretContentInput
	// A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
	SecretName pulumi.StringInput
	// (Updatable) A list of rules to control how the secret is used and managed.
	SecretRules SecretSecretRuleArrayInput
	// The OCID of the vault where you want to create the secret.
	//
	// ** 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
	VaultId pulumi.StringInput
}

The set of arguments for constructing a Secret resource.

func (SecretArgs) ElementType

func (SecretArgs) ElementType() reflect.Type

type SecretArray

type SecretArray []SecretInput

func (SecretArray) ElementType

func (SecretArray) ElementType() reflect.Type

func (SecretArray) ToOutput added in v1.11.0

func (i SecretArray) ToOutput(ctx context.Context) pulumix.Output[[]*Secret]

func (SecretArray) ToSecretArrayOutput

func (i SecretArray) ToSecretArrayOutput() SecretArrayOutput

func (SecretArray) ToSecretArrayOutputWithContext

func (i SecretArray) ToSecretArrayOutputWithContext(ctx context.Context) SecretArrayOutput

type SecretArrayInput

type SecretArrayInput interface {
	pulumi.Input

	ToSecretArrayOutput() SecretArrayOutput
	ToSecretArrayOutputWithContext(context.Context) SecretArrayOutput
}

SecretArrayInput is an input type that accepts SecretArray and SecretArrayOutput values. You can construct a concrete instance of `SecretArrayInput` via:

SecretArray{ SecretArgs{...} }

type SecretArrayOutput

type SecretArrayOutput struct{ *pulumi.OutputState }

func (SecretArrayOutput) ElementType

func (SecretArrayOutput) ElementType() reflect.Type

func (SecretArrayOutput) Index

func (SecretArrayOutput) ToOutput added in v1.11.0

func (o SecretArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Secret]

func (SecretArrayOutput) ToSecretArrayOutput

func (o SecretArrayOutput) ToSecretArrayOutput() SecretArrayOutput

func (SecretArrayOutput) ToSecretArrayOutputWithContext

func (o SecretArrayOutput) ToSecretArrayOutputWithContext(ctx context.Context) SecretArrayOutput

type SecretInput

type SecretInput interface {
	pulumi.Input

	ToSecretOutput() SecretOutput
	ToSecretOutputWithContext(ctx context.Context) SecretOutput
}

type SecretMap

type SecretMap map[string]SecretInput

func (SecretMap) ElementType

func (SecretMap) ElementType() reflect.Type

func (SecretMap) ToOutput added in v1.11.0

func (i SecretMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Secret]

func (SecretMap) ToSecretMapOutput

func (i SecretMap) ToSecretMapOutput() SecretMapOutput

func (SecretMap) ToSecretMapOutputWithContext

func (i SecretMap) ToSecretMapOutputWithContext(ctx context.Context) SecretMapOutput

type SecretMapInput

type SecretMapInput interface {
	pulumi.Input

	ToSecretMapOutput() SecretMapOutput
	ToSecretMapOutputWithContext(context.Context) SecretMapOutput
}

SecretMapInput is an input type that accepts SecretMap and SecretMapOutput values. You can construct a concrete instance of `SecretMapInput` via:

SecretMap{ "key": SecretArgs{...} }

type SecretMapOutput

type SecretMapOutput struct{ *pulumi.OutputState }

func (SecretMapOutput) ElementType

func (SecretMapOutput) ElementType() reflect.Type

func (SecretMapOutput) MapIndex

func (SecretMapOutput) ToOutput added in v1.11.0

func (o SecretMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Secret]

func (SecretMapOutput) ToSecretMapOutput

func (o SecretMapOutput) ToSecretMapOutput() SecretMapOutput

func (SecretMapOutput) ToSecretMapOutputWithContext

func (o SecretMapOutput) ToSecretMapOutputWithContext(ctx context.Context) SecretMapOutput

type SecretOutput

type SecretOutput struct{ *pulumi.OutputState }

func (SecretOutput) CompartmentId added in v0.4.0

func (o SecretOutput) CompartmentId() pulumi.StringOutput

(Updatable) The OCID of the compartment where you want to create the secret.

func (SecretOutput) CurrentVersionNumber added in v0.4.0

func (o SecretOutput) CurrentVersionNumber() pulumi.StringOutput

The version number of the secret version that's currently in use.

func (SecretOutput) DefinedTags added in v0.4.0

func (o SecretOutput) DefinedTags() pulumi.MapOutput

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`

func (SecretOutput) Description added in v0.4.0

func (o SecretOutput) Description() pulumi.StringOutput

(Updatable) A brief description of the secret. Avoid entering confidential information.

func (SecretOutput) ElementType

func (SecretOutput) ElementType() reflect.Type

func (SecretOutput) FreeformTags added in v0.4.0

func (o SecretOutput) FreeformTags() pulumi.MapOutput

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`

func (SecretOutput) KeyId added in v0.4.0

func (o SecretOutput) KeyId() pulumi.StringOutput

The OCID of the master encryption key that is used to encrypt the secret.

func (SecretOutput) LifecycleDetails added in v0.4.0

func (o SecretOutput) LifecycleDetails() pulumi.StringOutput

Additional information about the current lifecycle state of the secret.

func (SecretOutput) Metadata added in v0.4.0

func (o SecretOutput) Metadata() pulumi.MapOutput

(Updatable) Additional metadata that you can use to provide context about how to use the secret during rotation or other administrative tasks. For example, for a secret that you use to connect to a database, the additional metadata might specify the connection endpoint and the connection string. Provide additional metadata as key-value pairs.

func (SecretOutput) SecretContent added in v0.4.0

func (o SecretOutput) SecretContent() SecretSecretContentOutput

(Updatable) The content of the secret and metadata to help identify it.

func (SecretOutput) SecretName added in v0.4.0

func (o SecretOutput) SecretName() pulumi.StringOutput

A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.

func (SecretOutput) SecretRules added in v0.4.0

func (o SecretOutput) SecretRules() SecretSecretRuleArrayOutput

(Updatable) A list of rules to control how the secret is used and managed.

func (SecretOutput) State added in v0.4.0

func (o SecretOutput) State() pulumi.StringOutput

The current lifecycle state of the secret.

func (SecretOutput) TimeCreated added in v0.4.0

func (o SecretOutput) TimeCreated() pulumi.StringOutput

A property indicating when the secret was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`

func (SecretOutput) TimeOfCurrentVersionExpiry added in v0.4.0

func (o SecretOutput) TimeOfCurrentVersionExpiry() pulumi.StringOutput

An optional property indicating when the current secret version will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`

func (SecretOutput) TimeOfDeletion added in v0.4.0

func (o SecretOutput) TimeOfDeletion() pulumi.StringOutput

An optional property indicating when to delete the secret, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`

func (SecretOutput) ToOutput added in v1.11.0

func (o SecretOutput) ToOutput(ctx context.Context) pulumix.Output[*Secret]

func (SecretOutput) ToSecretOutput

func (o SecretOutput) ToSecretOutput() SecretOutput

func (SecretOutput) ToSecretOutputWithContext

func (o SecretOutput) ToSecretOutputWithContext(ctx context.Context) SecretOutput

func (SecretOutput) VaultId added in v0.4.0

func (o SecretOutput) VaultId() pulumi.StringOutput

The OCID of the vault where you want to create the secret.

** 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

type SecretSecretContent

type SecretSecretContent struct {
	// (Updatable) The base64-encoded content of the secret.
	Content string `pulumi:"content"`
	// (Updatable) content type . Example `BASE64` .
	ContentType string `pulumi:"contentType"`
	// (Updatable) Names should be unique within a secret. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
	Name *string `pulumi:"name"`
	// (Updatable) The rotation state of the secret content. The default is `CURRENT`, meaning that the secret is currently in use. A secret version that you mark as `PENDING` is staged and available for use, but you don't yet want to rotate it into current, active use. For example, you might create or update a secret and mark its rotation state as `PENDING` if you haven't yet updated the secret on the target system. When creating a secret, only the value `CURRENT` is applicable, although the value `LATEST` is also automatically applied. When updating  a secret, you can specify a version's rotation state as either `CURRENT` or `PENDING`.
	Stage *string `pulumi:"stage"`
}

type SecretSecretContentArgs

type SecretSecretContentArgs struct {
	// (Updatable) The base64-encoded content of the secret.
	Content pulumi.StringInput `pulumi:"content"`
	// (Updatable) content type . Example `BASE64` .
	ContentType pulumi.StringInput `pulumi:"contentType"`
	// (Updatable) Names should be unique within a secret. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// (Updatable) The rotation state of the secret content. The default is `CURRENT`, meaning that the secret is currently in use. A secret version that you mark as `PENDING` is staged and available for use, but you don't yet want to rotate it into current, active use. For example, you might create or update a secret and mark its rotation state as `PENDING` if you haven't yet updated the secret on the target system. When creating a secret, only the value `CURRENT` is applicable, although the value `LATEST` is also automatically applied. When updating  a secret, you can specify a version's rotation state as either `CURRENT` or `PENDING`.
	Stage pulumi.StringPtrInput `pulumi:"stage"`
}

func (SecretSecretContentArgs) ElementType

func (SecretSecretContentArgs) ElementType() reflect.Type

func (SecretSecretContentArgs) ToOutput added in v1.11.0

func (SecretSecretContentArgs) ToSecretSecretContentOutput

func (i SecretSecretContentArgs) ToSecretSecretContentOutput() SecretSecretContentOutput

func (SecretSecretContentArgs) ToSecretSecretContentOutputWithContext

func (i SecretSecretContentArgs) ToSecretSecretContentOutputWithContext(ctx context.Context) SecretSecretContentOutput

func (SecretSecretContentArgs) ToSecretSecretContentPtrOutput

func (i SecretSecretContentArgs) ToSecretSecretContentPtrOutput() SecretSecretContentPtrOutput

func (SecretSecretContentArgs) ToSecretSecretContentPtrOutputWithContext

func (i SecretSecretContentArgs) ToSecretSecretContentPtrOutputWithContext(ctx context.Context) SecretSecretContentPtrOutput

type SecretSecretContentInput

type SecretSecretContentInput interface {
	pulumi.Input

	ToSecretSecretContentOutput() SecretSecretContentOutput
	ToSecretSecretContentOutputWithContext(context.Context) SecretSecretContentOutput
}

SecretSecretContentInput is an input type that accepts SecretSecretContentArgs and SecretSecretContentOutput values. You can construct a concrete instance of `SecretSecretContentInput` via:

SecretSecretContentArgs{...}

type SecretSecretContentOutput

type SecretSecretContentOutput struct{ *pulumi.OutputState }

func (SecretSecretContentOutput) Content

(Updatable) The base64-encoded content of the secret.

func (SecretSecretContentOutput) ContentType

(Updatable) content type . Example `BASE64` .

func (SecretSecretContentOutput) ElementType

func (SecretSecretContentOutput) ElementType() reflect.Type

func (SecretSecretContentOutput) Name

(Updatable) Names should be unique within a secret. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.

func (SecretSecretContentOutput) Stage

(Updatable) The rotation state of the secret content. The default is `CURRENT`, meaning that the secret is currently in use. A secret version that you mark as `PENDING` is staged and available for use, but you don't yet want to rotate it into current, active use. For example, you might create or update a secret and mark its rotation state as `PENDING` if you haven't yet updated the secret on the target system. When creating a secret, only the value `CURRENT` is applicable, although the value `LATEST` is also automatically applied. When updating a secret, you can specify a version's rotation state as either `CURRENT` or `PENDING`.

func (SecretSecretContentOutput) ToOutput added in v1.11.0

func (SecretSecretContentOutput) ToSecretSecretContentOutput

func (o SecretSecretContentOutput) ToSecretSecretContentOutput() SecretSecretContentOutput

func (SecretSecretContentOutput) ToSecretSecretContentOutputWithContext

func (o SecretSecretContentOutput) ToSecretSecretContentOutputWithContext(ctx context.Context) SecretSecretContentOutput

func (SecretSecretContentOutput) ToSecretSecretContentPtrOutput

func (o SecretSecretContentOutput) ToSecretSecretContentPtrOutput() SecretSecretContentPtrOutput

func (SecretSecretContentOutput) ToSecretSecretContentPtrOutputWithContext

func (o SecretSecretContentOutput) ToSecretSecretContentPtrOutputWithContext(ctx context.Context) SecretSecretContentPtrOutput

type SecretSecretContentPtrInput

type SecretSecretContentPtrInput interface {
	pulumi.Input

	ToSecretSecretContentPtrOutput() SecretSecretContentPtrOutput
	ToSecretSecretContentPtrOutputWithContext(context.Context) SecretSecretContentPtrOutput
}

SecretSecretContentPtrInput is an input type that accepts SecretSecretContentArgs, SecretSecretContentPtr and SecretSecretContentPtrOutput values. You can construct a concrete instance of `SecretSecretContentPtrInput` via:

        SecretSecretContentArgs{...}

or:

        nil

type SecretSecretContentPtrOutput

type SecretSecretContentPtrOutput struct{ *pulumi.OutputState }

func (SecretSecretContentPtrOutput) Content

(Updatable) The base64-encoded content of the secret.

func (SecretSecretContentPtrOutput) ContentType

(Updatable) content type . Example `BASE64` .

func (SecretSecretContentPtrOutput) Elem

func (SecretSecretContentPtrOutput) ElementType

func (SecretSecretContentPtrOutput) Name

(Updatable) Names should be unique within a secret. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.

func (SecretSecretContentPtrOutput) Stage

(Updatable) The rotation state of the secret content. The default is `CURRENT`, meaning that the secret is currently in use. A secret version that you mark as `PENDING` is staged and available for use, but you don't yet want to rotate it into current, active use. For example, you might create or update a secret and mark its rotation state as `PENDING` if you haven't yet updated the secret on the target system. When creating a secret, only the value `CURRENT` is applicable, although the value `LATEST` is also automatically applied. When updating a secret, you can specify a version's rotation state as either `CURRENT` or `PENDING`.

func (SecretSecretContentPtrOutput) ToOutput added in v1.11.0

func (SecretSecretContentPtrOutput) ToSecretSecretContentPtrOutput

func (o SecretSecretContentPtrOutput) ToSecretSecretContentPtrOutput() SecretSecretContentPtrOutput

func (SecretSecretContentPtrOutput) ToSecretSecretContentPtrOutputWithContext

func (o SecretSecretContentPtrOutput) ToSecretSecretContentPtrOutputWithContext(ctx context.Context) SecretSecretContentPtrOutput

type SecretSecretRule

type SecretSecretRule struct {
	// (Updatable) A property indicating whether the rule is applied even if the secret version with the content you are trying to reuse was deleted.
	IsEnforcedOnDeletedSecretVersions *bool `pulumi:"isEnforcedOnDeletedSecretVersions"`
	// (Updatable) A property indicating whether to block retrieval of the secret content, on expiry. The default is false. If the secret has already expired and you would like to retrieve the secret contents, you need to edit the secret rule to disable this property, to allow reading the secret content.
	IsSecretContentRetrievalBlockedOnExpiry *bool `pulumi:"isSecretContentRetrievalBlockedOnExpiry"`
	// (Updatable) The type of rule, which either controls when the secret contents expire or whether they can be reused.
	RuleType string `pulumi:"ruleType"`
	// (Updatable) A property indicating how long the secret contents will be considered valid, expressed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals) format. The secret needs to be updated when the secret content expires. No enforcement mechanism exists at this time, but audit logs record the expiration on the appropriate date, according to the time interval specified in the rule. The timer resets after you update the secret contents. The minimum value is 1 day and the maximum value is 90 days for this property. Currently, only intervals expressed in days are supported. For example, pass `P3D` to have the secret version expire every 3 days.
	SecretVersionExpiryInterval *string `pulumi:"secretVersionExpiryInterval"`
	// (Updatable) An optional property indicating the absolute time when this secret will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. The minimum number of days from current time is 1 day and the maximum number of days from current time is 365 days. Example: `2019-04-03T21:10:29.600Z`
	TimeOfAbsoluteExpiry *string `pulumi:"timeOfAbsoluteExpiry"`
}

type SecretSecretRuleArgs

type SecretSecretRuleArgs struct {
	// (Updatable) A property indicating whether the rule is applied even if the secret version with the content you are trying to reuse was deleted.
	IsEnforcedOnDeletedSecretVersions pulumi.BoolPtrInput `pulumi:"isEnforcedOnDeletedSecretVersions"`
	// (Updatable) A property indicating whether to block retrieval of the secret content, on expiry. The default is false. If the secret has already expired and you would like to retrieve the secret contents, you need to edit the secret rule to disable this property, to allow reading the secret content.
	IsSecretContentRetrievalBlockedOnExpiry pulumi.BoolPtrInput `pulumi:"isSecretContentRetrievalBlockedOnExpiry"`
	// (Updatable) The type of rule, which either controls when the secret contents expire or whether they can be reused.
	RuleType pulumi.StringInput `pulumi:"ruleType"`
	// (Updatable) A property indicating how long the secret contents will be considered valid, expressed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals) format. The secret needs to be updated when the secret content expires. No enforcement mechanism exists at this time, but audit logs record the expiration on the appropriate date, according to the time interval specified in the rule. The timer resets after you update the secret contents. The minimum value is 1 day and the maximum value is 90 days for this property. Currently, only intervals expressed in days are supported. For example, pass `P3D` to have the secret version expire every 3 days.
	SecretVersionExpiryInterval pulumi.StringPtrInput `pulumi:"secretVersionExpiryInterval"`
	// (Updatable) An optional property indicating the absolute time when this secret will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. The minimum number of days from current time is 1 day and the maximum number of days from current time is 365 days. Example: `2019-04-03T21:10:29.600Z`
	TimeOfAbsoluteExpiry pulumi.StringPtrInput `pulumi:"timeOfAbsoluteExpiry"`
}

func (SecretSecretRuleArgs) ElementType

func (SecretSecretRuleArgs) ElementType() reflect.Type

func (SecretSecretRuleArgs) ToOutput added in v1.11.0

func (SecretSecretRuleArgs) ToSecretSecretRuleOutput

func (i SecretSecretRuleArgs) ToSecretSecretRuleOutput() SecretSecretRuleOutput

func (SecretSecretRuleArgs) ToSecretSecretRuleOutputWithContext

func (i SecretSecretRuleArgs) ToSecretSecretRuleOutputWithContext(ctx context.Context) SecretSecretRuleOutput

type SecretSecretRuleArray

type SecretSecretRuleArray []SecretSecretRuleInput

func (SecretSecretRuleArray) ElementType

func (SecretSecretRuleArray) ElementType() reflect.Type

func (SecretSecretRuleArray) ToOutput added in v1.11.0

func (SecretSecretRuleArray) ToSecretSecretRuleArrayOutput

func (i SecretSecretRuleArray) ToSecretSecretRuleArrayOutput() SecretSecretRuleArrayOutput

func (SecretSecretRuleArray) ToSecretSecretRuleArrayOutputWithContext

func (i SecretSecretRuleArray) ToSecretSecretRuleArrayOutputWithContext(ctx context.Context) SecretSecretRuleArrayOutput

type SecretSecretRuleArrayInput

type SecretSecretRuleArrayInput interface {
	pulumi.Input

	ToSecretSecretRuleArrayOutput() SecretSecretRuleArrayOutput
	ToSecretSecretRuleArrayOutputWithContext(context.Context) SecretSecretRuleArrayOutput
}

SecretSecretRuleArrayInput is an input type that accepts SecretSecretRuleArray and SecretSecretRuleArrayOutput values. You can construct a concrete instance of `SecretSecretRuleArrayInput` via:

SecretSecretRuleArray{ SecretSecretRuleArgs{...} }

type SecretSecretRuleArrayOutput

type SecretSecretRuleArrayOutput struct{ *pulumi.OutputState }

func (SecretSecretRuleArrayOutput) ElementType

func (SecretSecretRuleArrayOutput) Index

func (SecretSecretRuleArrayOutput) ToOutput added in v1.11.0

func (SecretSecretRuleArrayOutput) ToSecretSecretRuleArrayOutput

func (o SecretSecretRuleArrayOutput) ToSecretSecretRuleArrayOutput() SecretSecretRuleArrayOutput

func (SecretSecretRuleArrayOutput) ToSecretSecretRuleArrayOutputWithContext

func (o SecretSecretRuleArrayOutput) ToSecretSecretRuleArrayOutputWithContext(ctx context.Context) SecretSecretRuleArrayOutput

type SecretSecretRuleInput

type SecretSecretRuleInput interface {
	pulumi.Input

	ToSecretSecretRuleOutput() SecretSecretRuleOutput
	ToSecretSecretRuleOutputWithContext(context.Context) SecretSecretRuleOutput
}

SecretSecretRuleInput is an input type that accepts SecretSecretRuleArgs and SecretSecretRuleOutput values. You can construct a concrete instance of `SecretSecretRuleInput` via:

SecretSecretRuleArgs{...}

type SecretSecretRuleOutput

type SecretSecretRuleOutput struct{ *pulumi.OutputState }

func (SecretSecretRuleOutput) ElementType

func (SecretSecretRuleOutput) ElementType() reflect.Type

func (SecretSecretRuleOutput) IsEnforcedOnDeletedSecretVersions

func (o SecretSecretRuleOutput) IsEnforcedOnDeletedSecretVersions() pulumi.BoolPtrOutput

(Updatable) A property indicating whether the rule is applied even if the secret version with the content you are trying to reuse was deleted.

func (SecretSecretRuleOutput) IsSecretContentRetrievalBlockedOnExpiry

func (o SecretSecretRuleOutput) IsSecretContentRetrievalBlockedOnExpiry() pulumi.BoolPtrOutput

(Updatable) A property indicating whether to block retrieval of the secret content, on expiry. The default is false. If the secret has already expired and you would like to retrieve the secret contents, you need to edit the secret rule to disable this property, to allow reading the secret content.

func (SecretSecretRuleOutput) RuleType

(Updatable) The type of rule, which either controls when the secret contents expire or whether they can be reused.

func (SecretSecretRuleOutput) SecretVersionExpiryInterval

func (o SecretSecretRuleOutput) SecretVersionExpiryInterval() pulumi.StringPtrOutput

(Updatable) A property indicating how long the secret contents will be considered valid, expressed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals) format. The secret needs to be updated when the secret content expires. No enforcement mechanism exists at this time, but audit logs record the expiration on the appropriate date, according to the time interval specified in the rule. The timer resets after you update the secret contents. The minimum value is 1 day and the maximum value is 90 days for this property. Currently, only intervals expressed in days are supported. For example, pass `P3D` to have the secret version expire every 3 days.

func (SecretSecretRuleOutput) TimeOfAbsoluteExpiry

func (o SecretSecretRuleOutput) TimeOfAbsoluteExpiry() pulumi.StringPtrOutput

(Updatable) An optional property indicating the absolute time when this secret will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. The minimum number of days from current time is 1 day and the maximum number of days from current time is 365 days. Example: `2019-04-03T21:10:29.600Z`

func (SecretSecretRuleOutput) ToOutput added in v1.11.0

func (SecretSecretRuleOutput) ToSecretSecretRuleOutput

func (o SecretSecretRuleOutput) ToSecretSecretRuleOutput() SecretSecretRuleOutput

func (SecretSecretRuleOutput) ToSecretSecretRuleOutputWithContext

func (o SecretSecretRuleOutput) ToSecretSecretRuleOutputWithContext(ctx context.Context) SecretSecretRuleOutput

type SecretState

type SecretState struct {
	// (Updatable) The OCID of the compartment where you want to create the secret.
	CompartmentId pulumi.StringPtrInput
	// The version number of the secret version that's currently in use.
	CurrentVersionNumber pulumi.StringPtrInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
	DefinedTags pulumi.MapInput
	// (Updatable) A brief description of the secret. Avoid entering confidential information.
	Description pulumi.StringPtrInput
	// (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
	FreeformTags pulumi.MapInput
	// The OCID of the master encryption key that is used to encrypt the secret.
	KeyId pulumi.StringPtrInput
	// Additional information about the current lifecycle state of the secret.
	LifecycleDetails pulumi.StringPtrInput
	// (Updatable) Additional metadata that you can use to provide context about how to use the secret during rotation or other administrative tasks. For example, for a secret that you use to connect to a database, the additional metadata might specify the connection endpoint and the connection string. Provide additional metadata as key-value pairs.
	Metadata pulumi.MapInput
	// (Updatable) The content of the secret and metadata to help identify it.
	SecretContent SecretSecretContentPtrInput
	// A user-friendly name for the secret. Secret names should be unique within a vault. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
	SecretName pulumi.StringPtrInput
	// (Updatable) A list of rules to control how the secret is used and managed.
	SecretRules SecretSecretRuleArrayInput
	// The current lifecycle state of the secret.
	State pulumi.StringPtrInput
	// A property indicating when the secret was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`
	TimeCreated pulumi.StringPtrInput
	// An optional property indicating when the current secret version will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`
	TimeOfCurrentVersionExpiry pulumi.StringPtrInput
	// An optional property indicating when to delete the secret, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`
	TimeOfDeletion pulumi.StringPtrInput
	// The OCID of the vault where you want to create the secret.
	//
	// ** 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
	VaultId pulumi.StringPtrInput
}

func (SecretState) ElementType

func (SecretState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL