Documentation
¶
Index ¶
- type GetSecretSecretContent
- type GetSecretSecretContentArgs
- func (GetSecretSecretContentArgs) ElementType() reflect.Type
- func (i GetSecretSecretContentArgs) ToGetSecretSecretContentOutput() GetSecretSecretContentOutput
- func (i GetSecretSecretContentArgs) ToGetSecretSecretContentOutputWithContext(ctx context.Context) GetSecretSecretContentOutput
- func (i GetSecretSecretContentArgs) ToOutput(ctx context.Context) pulumix.Output[GetSecretSecretContent]
- type GetSecretSecretContentArray
- func (GetSecretSecretContentArray) ElementType() reflect.Type
- func (i GetSecretSecretContentArray) ToGetSecretSecretContentArrayOutput() GetSecretSecretContentArrayOutput
- func (i GetSecretSecretContentArray) ToGetSecretSecretContentArrayOutputWithContext(ctx context.Context) GetSecretSecretContentArrayOutput
- func (i GetSecretSecretContentArray) ToOutput(ctx context.Context) pulumix.Output[[]GetSecretSecretContent]
- type GetSecretSecretContentArrayInput
- type GetSecretSecretContentArrayOutput
- func (GetSecretSecretContentArrayOutput) ElementType() reflect.Type
- func (o GetSecretSecretContentArrayOutput) Index(i pulumi.IntInput) GetSecretSecretContentOutput
- func (o GetSecretSecretContentArrayOutput) ToGetSecretSecretContentArrayOutput() GetSecretSecretContentArrayOutput
- func (o GetSecretSecretContentArrayOutput) ToGetSecretSecretContentArrayOutputWithContext(ctx context.Context) GetSecretSecretContentArrayOutput
- func (o GetSecretSecretContentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetSecretSecretContent]
- type GetSecretSecretContentInput
- type GetSecretSecretContentOutput
- func (o GetSecretSecretContentOutput) Content() pulumi.StringOutput
- func (o GetSecretSecretContentOutput) ContentType() pulumi.StringOutput
- func (GetSecretSecretContentOutput) ElementType() reflect.Type
- func (o GetSecretSecretContentOutput) Name() pulumi.StringOutput
- func (o GetSecretSecretContentOutput) Stage() pulumi.StringOutput
- func (o GetSecretSecretContentOutput) ToGetSecretSecretContentOutput() GetSecretSecretContentOutput
- func (o GetSecretSecretContentOutput) ToGetSecretSecretContentOutputWithContext(ctx context.Context) GetSecretSecretContentOutput
- func (o GetSecretSecretContentOutput) ToOutput(ctx context.Context) pulumix.Output[GetSecretSecretContent]
- type GetSecretSecretRule
- type GetSecretSecretRuleArgs
- func (GetSecretSecretRuleArgs) ElementType() reflect.Type
- func (i GetSecretSecretRuleArgs) ToGetSecretSecretRuleOutput() GetSecretSecretRuleOutput
- func (i GetSecretSecretRuleArgs) ToGetSecretSecretRuleOutputWithContext(ctx context.Context) GetSecretSecretRuleOutput
- func (i GetSecretSecretRuleArgs) ToOutput(ctx context.Context) pulumix.Output[GetSecretSecretRule]
- type GetSecretSecretRuleArray
- func (GetSecretSecretRuleArray) ElementType() reflect.Type
- func (i GetSecretSecretRuleArray) ToGetSecretSecretRuleArrayOutput() GetSecretSecretRuleArrayOutput
- func (i GetSecretSecretRuleArray) ToGetSecretSecretRuleArrayOutputWithContext(ctx context.Context) GetSecretSecretRuleArrayOutput
- func (i GetSecretSecretRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]GetSecretSecretRule]
- type GetSecretSecretRuleArrayInput
- type GetSecretSecretRuleArrayOutput
- func (GetSecretSecretRuleArrayOutput) ElementType() reflect.Type
- func (o GetSecretSecretRuleArrayOutput) Index(i pulumi.IntInput) GetSecretSecretRuleOutput
- func (o GetSecretSecretRuleArrayOutput) ToGetSecretSecretRuleArrayOutput() GetSecretSecretRuleArrayOutput
- func (o GetSecretSecretRuleArrayOutput) ToGetSecretSecretRuleArrayOutputWithContext(ctx context.Context) GetSecretSecretRuleArrayOutput
- func (o GetSecretSecretRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetSecretSecretRule]
- type GetSecretSecretRuleInput
- type GetSecretSecretRuleOutput
- func (GetSecretSecretRuleOutput) ElementType() reflect.Type
- func (o GetSecretSecretRuleOutput) IsEnforcedOnDeletedSecretVersions() pulumi.BoolOutput
- func (o GetSecretSecretRuleOutput) IsSecretContentRetrievalBlockedOnExpiry() pulumi.BoolOutput
- func (o GetSecretSecretRuleOutput) RuleType() pulumi.StringOutput
- func (o GetSecretSecretRuleOutput) SecretVersionExpiryInterval() pulumi.StringOutput
- func (o GetSecretSecretRuleOutput) TimeOfAbsoluteExpiry() pulumi.StringOutput
- func (o GetSecretSecretRuleOutput) ToGetSecretSecretRuleOutput() GetSecretSecretRuleOutput
- func (o GetSecretSecretRuleOutput) ToGetSecretSecretRuleOutputWithContext(ctx context.Context) GetSecretSecretRuleOutput
- func (o GetSecretSecretRuleOutput) ToOutput(ctx context.Context) pulumix.Output[GetSecretSecretRule]
- type GetSecretVersionArgs
- type GetSecretVersionOutputArgs
- type GetSecretVersionResult
- type GetSecretVersionResultOutput
- func (o GetSecretVersionResultOutput) ContentType() pulumi.StringOutput
- func (GetSecretVersionResultOutput) ElementType() reflect.Type
- func (o GetSecretVersionResultOutput) Id() pulumi.StringOutput
- func (o GetSecretVersionResultOutput) Name() pulumi.StringOutput
- func (o GetSecretVersionResultOutput) SecretId() pulumi.StringOutput
- func (o GetSecretVersionResultOutput) SecretVersionNumber() pulumi.StringOutput
- func (o GetSecretVersionResultOutput) Stages() pulumi.StringArrayOutput
- func (o GetSecretVersionResultOutput) TimeCreated() pulumi.StringOutput
- func (o GetSecretVersionResultOutput) TimeOfCurrentVersionExpiry() pulumi.StringOutput
- func (o GetSecretVersionResultOutput) TimeOfDeletion() pulumi.StringOutput
- func (o GetSecretVersionResultOutput) ToGetSecretVersionResultOutput() GetSecretVersionResultOutput
- func (o GetSecretVersionResultOutput) ToGetSecretVersionResultOutputWithContext(ctx context.Context) GetSecretVersionResultOutput
- func (o GetSecretVersionResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetSecretVersionResult]
- func (o GetSecretVersionResultOutput) VersionNumber() pulumi.StringOutput
- type GetSecretsArgs
- type GetSecretsFilter
- type GetSecretsFilterArgs
- func (GetSecretsFilterArgs) ElementType() reflect.Type
- func (i GetSecretsFilterArgs) ToGetSecretsFilterOutput() GetSecretsFilterOutput
- func (i GetSecretsFilterArgs) ToGetSecretsFilterOutputWithContext(ctx context.Context) GetSecretsFilterOutput
- func (i GetSecretsFilterArgs) ToOutput(ctx context.Context) pulumix.Output[GetSecretsFilter]
- type GetSecretsFilterArray
- func (GetSecretsFilterArray) ElementType() reflect.Type
- func (i GetSecretsFilterArray) ToGetSecretsFilterArrayOutput() GetSecretsFilterArrayOutput
- func (i GetSecretsFilterArray) ToGetSecretsFilterArrayOutputWithContext(ctx context.Context) GetSecretsFilterArrayOutput
- func (i GetSecretsFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetSecretsFilter]
- type GetSecretsFilterArrayInput
- type GetSecretsFilterArrayOutput
- func (GetSecretsFilterArrayOutput) ElementType() reflect.Type
- func (o GetSecretsFilterArrayOutput) Index(i pulumi.IntInput) GetSecretsFilterOutput
- func (o GetSecretsFilterArrayOutput) ToGetSecretsFilterArrayOutput() GetSecretsFilterArrayOutput
- func (o GetSecretsFilterArrayOutput) ToGetSecretsFilterArrayOutputWithContext(ctx context.Context) GetSecretsFilterArrayOutput
- func (o GetSecretsFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetSecretsFilter]
- type GetSecretsFilterInput
- type GetSecretsFilterOutput
- func (GetSecretsFilterOutput) ElementType() reflect.Type
- func (o GetSecretsFilterOutput) Name() pulumi.StringOutput
- func (o GetSecretsFilterOutput) Regex() pulumi.BoolPtrOutput
- func (o GetSecretsFilterOutput) ToGetSecretsFilterOutput() GetSecretsFilterOutput
- func (o GetSecretsFilterOutput) ToGetSecretsFilterOutputWithContext(ctx context.Context) GetSecretsFilterOutput
- func (o GetSecretsFilterOutput) ToOutput(ctx context.Context) pulumix.Output[GetSecretsFilter]
- func (o GetSecretsFilterOutput) Values() pulumi.StringArrayOutput
- type GetSecretsOutputArgs
- type GetSecretsResult
- type GetSecretsResultOutput
- func (o GetSecretsResultOutput) CompartmentId() pulumi.StringOutput
- func (GetSecretsResultOutput) ElementType() reflect.Type
- func (o GetSecretsResultOutput) Filters() GetSecretsFilterArrayOutput
- func (o GetSecretsResultOutput) Id() pulumi.StringOutput
- func (o GetSecretsResultOutput) Name() pulumi.StringPtrOutput
- func (o GetSecretsResultOutput) Secrets() GetSecretsSecretArrayOutput
- func (o GetSecretsResultOutput) State() pulumi.StringPtrOutput
- func (o GetSecretsResultOutput) ToGetSecretsResultOutput() GetSecretsResultOutput
- func (o GetSecretsResultOutput) ToGetSecretsResultOutputWithContext(ctx context.Context) GetSecretsResultOutput
- func (o GetSecretsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetSecretsResult]
- func (o GetSecretsResultOutput) VaultId() pulumi.StringPtrOutput
- type GetSecretsSecret
- type GetSecretsSecretArgs
- func (GetSecretsSecretArgs) ElementType() reflect.Type
- func (i GetSecretsSecretArgs) ToGetSecretsSecretOutput() GetSecretsSecretOutput
- func (i GetSecretsSecretArgs) ToGetSecretsSecretOutputWithContext(ctx context.Context) GetSecretsSecretOutput
- func (i GetSecretsSecretArgs) ToOutput(ctx context.Context) pulumix.Output[GetSecretsSecret]
- type GetSecretsSecretArray
- func (GetSecretsSecretArray) ElementType() reflect.Type
- func (i GetSecretsSecretArray) ToGetSecretsSecretArrayOutput() GetSecretsSecretArrayOutput
- func (i GetSecretsSecretArray) ToGetSecretsSecretArrayOutputWithContext(ctx context.Context) GetSecretsSecretArrayOutput
- func (i GetSecretsSecretArray) ToOutput(ctx context.Context) pulumix.Output[[]GetSecretsSecret]
- type GetSecretsSecretArrayInput
- type GetSecretsSecretArrayOutput
- func (GetSecretsSecretArrayOutput) ElementType() reflect.Type
- func (o GetSecretsSecretArrayOutput) Index(i pulumi.IntInput) GetSecretsSecretOutput
- func (o GetSecretsSecretArrayOutput) ToGetSecretsSecretArrayOutput() GetSecretsSecretArrayOutput
- func (o GetSecretsSecretArrayOutput) ToGetSecretsSecretArrayOutputWithContext(ctx context.Context) GetSecretsSecretArrayOutput
- func (o GetSecretsSecretArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetSecretsSecret]
- type GetSecretsSecretInput
- type GetSecretsSecretOutput
- func (o GetSecretsSecretOutput) CompartmentId() pulumi.StringOutput
- func (o GetSecretsSecretOutput) CurrentVersionNumber() pulumi.StringOutput
- func (o GetSecretsSecretOutput) DefinedTags() pulumi.MapOutput
- func (o GetSecretsSecretOutput) Description() pulumi.StringOutput
- func (GetSecretsSecretOutput) ElementType() reflect.Type
- func (o GetSecretsSecretOutput) FreeformTags() pulumi.MapOutput
- func (o GetSecretsSecretOutput) Id() pulumi.StringOutput
- func (o GetSecretsSecretOutput) KeyId() pulumi.StringOutput
- func (o GetSecretsSecretOutput) LifecycleDetails() pulumi.StringOutput
- func (o GetSecretsSecretOutput) Metadata() pulumi.MapOutput
- func (o GetSecretsSecretOutput) SecretContents() GetSecretsSecretSecretContentArrayOutput
- func (o GetSecretsSecretOutput) SecretName() pulumi.StringOutput
- func (o GetSecretsSecretOutput) SecretRules() GetSecretsSecretSecretRuleArrayOutput
- func (o GetSecretsSecretOutput) State() pulumi.StringOutput
- func (o GetSecretsSecretOutput) TimeCreated() pulumi.StringOutput
- func (o GetSecretsSecretOutput) TimeOfCurrentVersionExpiry() pulumi.StringOutput
- func (o GetSecretsSecretOutput) TimeOfDeletion() pulumi.StringOutput
- func (o GetSecretsSecretOutput) ToGetSecretsSecretOutput() GetSecretsSecretOutput
- func (o GetSecretsSecretOutput) ToGetSecretsSecretOutputWithContext(ctx context.Context) GetSecretsSecretOutput
- func (o GetSecretsSecretOutput) ToOutput(ctx context.Context) pulumix.Output[GetSecretsSecret]
- func (o GetSecretsSecretOutput) VaultId() pulumi.StringOutput
- type GetSecretsSecretSecretContent
- type GetSecretsSecretSecretContentArgs
- func (GetSecretsSecretSecretContentArgs) ElementType() reflect.Type
- func (i GetSecretsSecretSecretContentArgs) ToGetSecretsSecretSecretContentOutput() GetSecretsSecretSecretContentOutput
- func (i GetSecretsSecretSecretContentArgs) ToGetSecretsSecretSecretContentOutputWithContext(ctx context.Context) GetSecretsSecretSecretContentOutput
- func (i GetSecretsSecretSecretContentArgs) ToOutput(ctx context.Context) pulumix.Output[GetSecretsSecretSecretContent]
- type GetSecretsSecretSecretContentArray
- func (GetSecretsSecretSecretContentArray) ElementType() reflect.Type
- func (i GetSecretsSecretSecretContentArray) ToGetSecretsSecretSecretContentArrayOutput() GetSecretsSecretSecretContentArrayOutput
- func (i GetSecretsSecretSecretContentArray) ToGetSecretsSecretSecretContentArrayOutputWithContext(ctx context.Context) GetSecretsSecretSecretContentArrayOutput
- func (i GetSecretsSecretSecretContentArray) ToOutput(ctx context.Context) pulumix.Output[[]GetSecretsSecretSecretContent]
- type GetSecretsSecretSecretContentArrayInput
- type GetSecretsSecretSecretContentArrayOutput
- func (GetSecretsSecretSecretContentArrayOutput) ElementType() reflect.Type
- func (o GetSecretsSecretSecretContentArrayOutput) Index(i pulumi.IntInput) GetSecretsSecretSecretContentOutput
- func (o GetSecretsSecretSecretContentArrayOutput) ToGetSecretsSecretSecretContentArrayOutput() GetSecretsSecretSecretContentArrayOutput
- func (o GetSecretsSecretSecretContentArrayOutput) ToGetSecretsSecretSecretContentArrayOutputWithContext(ctx context.Context) GetSecretsSecretSecretContentArrayOutput
- func (o GetSecretsSecretSecretContentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetSecretsSecretSecretContent]
- type GetSecretsSecretSecretContentInput
- type GetSecretsSecretSecretContentOutput
- func (o GetSecretsSecretSecretContentOutput) Content() pulumi.StringOutput
- func (o GetSecretsSecretSecretContentOutput) ContentType() pulumi.StringOutput
- func (GetSecretsSecretSecretContentOutput) ElementType() reflect.Type
- func (o GetSecretsSecretSecretContentOutput) Name() pulumi.StringOutput
- func (o GetSecretsSecretSecretContentOutput) Stage() pulumi.StringOutput
- func (o GetSecretsSecretSecretContentOutput) ToGetSecretsSecretSecretContentOutput() GetSecretsSecretSecretContentOutput
- func (o GetSecretsSecretSecretContentOutput) ToGetSecretsSecretSecretContentOutputWithContext(ctx context.Context) GetSecretsSecretSecretContentOutput
- func (o GetSecretsSecretSecretContentOutput) ToOutput(ctx context.Context) pulumix.Output[GetSecretsSecretSecretContent]
- type GetSecretsSecretSecretRule
- type GetSecretsSecretSecretRuleArgs
- func (GetSecretsSecretSecretRuleArgs) ElementType() reflect.Type
- func (i GetSecretsSecretSecretRuleArgs) ToGetSecretsSecretSecretRuleOutput() GetSecretsSecretSecretRuleOutput
- func (i GetSecretsSecretSecretRuleArgs) ToGetSecretsSecretSecretRuleOutputWithContext(ctx context.Context) GetSecretsSecretSecretRuleOutput
- func (i GetSecretsSecretSecretRuleArgs) ToOutput(ctx context.Context) pulumix.Output[GetSecretsSecretSecretRule]
- type GetSecretsSecretSecretRuleArray
- func (GetSecretsSecretSecretRuleArray) ElementType() reflect.Type
- func (i GetSecretsSecretSecretRuleArray) ToGetSecretsSecretSecretRuleArrayOutput() GetSecretsSecretSecretRuleArrayOutput
- func (i GetSecretsSecretSecretRuleArray) ToGetSecretsSecretSecretRuleArrayOutputWithContext(ctx context.Context) GetSecretsSecretSecretRuleArrayOutput
- func (i GetSecretsSecretSecretRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]GetSecretsSecretSecretRule]
- type GetSecretsSecretSecretRuleArrayInput
- type GetSecretsSecretSecretRuleArrayOutput
- func (GetSecretsSecretSecretRuleArrayOutput) ElementType() reflect.Type
- func (o GetSecretsSecretSecretRuleArrayOutput) Index(i pulumi.IntInput) GetSecretsSecretSecretRuleOutput
- func (o GetSecretsSecretSecretRuleArrayOutput) ToGetSecretsSecretSecretRuleArrayOutput() GetSecretsSecretSecretRuleArrayOutput
- func (o GetSecretsSecretSecretRuleArrayOutput) ToGetSecretsSecretSecretRuleArrayOutputWithContext(ctx context.Context) GetSecretsSecretSecretRuleArrayOutput
- func (o GetSecretsSecretSecretRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetSecretsSecretSecretRule]
- type GetSecretsSecretSecretRuleInput
- type GetSecretsSecretSecretRuleOutput
- func (GetSecretsSecretSecretRuleOutput) ElementType() reflect.Type
- func (o GetSecretsSecretSecretRuleOutput) IsEnforcedOnDeletedSecretVersions() pulumi.BoolOutput
- func (o GetSecretsSecretSecretRuleOutput) IsSecretContentRetrievalBlockedOnExpiry() pulumi.BoolOutput
- func (o GetSecretsSecretSecretRuleOutput) RuleType() pulumi.StringOutput
- func (o GetSecretsSecretSecretRuleOutput) SecretVersionExpiryInterval() pulumi.StringOutput
- func (o GetSecretsSecretSecretRuleOutput) TimeOfAbsoluteExpiry() pulumi.StringOutput
- func (o GetSecretsSecretSecretRuleOutput) ToGetSecretsSecretSecretRuleOutput() GetSecretsSecretSecretRuleOutput
- func (o GetSecretsSecretSecretRuleOutput) ToGetSecretsSecretSecretRuleOutputWithContext(ctx context.Context) GetSecretsSecretSecretRuleOutput
- func (o GetSecretsSecretSecretRuleOutput) ToOutput(ctx context.Context) pulumix.Output[GetSecretsSecretSecretRule]
- type LookupSecretArgs
- type LookupSecretOutputArgs
- type LookupSecretResult
- type LookupSecretResultOutput
- func (o LookupSecretResultOutput) CompartmentId() pulumi.StringOutput
- func (o LookupSecretResultOutput) CurrentVersionNumber() pulumi.StringOutput
- func (o LookupSecretResultOutput) DefinedTags() pulumi.MapOutput
- func (o LookupSecretResultOutput) Description() pulumi.StringOutput
- func (LookupSecretResultOutput) ElementType() reflect.Type
- func (o LookupSecretResultOutput) FreeformTags() pulumi.MapOutput
- func (o LookupSecretResultOutput) Id() pulumi.StringOutput
- func (o LookupSecretResultOutput) KeyId() pulumi.StringOutput
- func (o LookupSecretResultOutput) LifecycleDetails() pulumi.StringOutput
- func (o LookupSecretResultOutput) Metadata() pulumi.MapOutput
- func (o LookupSecretResultOutput) SecretContents() GetSecretSecretContentArrayOutput
- func (o LookupSecretResultOutput) SecretId() pulumi.StringOutput
- func (o LookupSecretResultOutput) SecretName() pulumi.StringOutput
- func (o LookupSecretResultOutput) SecretRules() GetSecretSecretRuleArrayOutput
- func (o LookupSecretResultOutput) State() pulumi.StringOutput
- func (o LookupSecretResultOutput) TimeCreated() pulumi.StringOutput
- func (o LookupSecretResultOutput) TimeOfCurrentVersionExpiry() pulumi.StringOutput
- func (o LookupSecretResultOutput) TimeOfDeletion() pulumi.StringOutput
- func (o LookupSecretResultOutput) ToLookupSecretResultOutput() LookupSecretResultOutput
- func (o LookupSecretResultOutput) ToLookupSecretResultOutputWithContext(ctx context.Context) LookupSecretResultOutput
- func (o LookupSecretResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSecretResult]
- func (o LookupSecretResultOutput) VaultId() pulumi.StringOutput
- type Secret
- type SecretArgs
- type SecretArray
- type SecretArrayInput
- type SecretArrayOutput
- func (SecretArrayOutput) ElementType() reflect.Type
- func (o SecretArrayOutput) Index(i pulumi.IntInput) SecretOutput
- func (o SecretArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Secret]
- func (o SecretArrayOutput) ToSecretArrayOutput() SecretArrayOutput
- func (o SecretArrayOutput) ToSecretArrayOutputWithContext(ctx context.Context) SecretArrayOutput
- type SecretInput
- type SecretMap
- type SecretMapInput
- type SecretMapOutput
- func (SecretMapOutput) ElementType() reflect.Type
- func (o SecretMapOutput) MapIndex(k pulumi.StringInput) SecretOutput
- func (o SecretMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Secret]
- func (o SecretMapOutput) ToSecretMapOutput() SecretMapOutput
- func (o SecretMapOutput) ToSecretMapOutputWithContext(ctx context.Context) SecretMapOutput
- type SecretOutput
- func (o SecretOutput) CompartmentId() pulumi.StringOutput
- func (o SecretOutput) CurrentVersionNumber() pulumi.StringOutput
- func (o SecretOutput) DefinedTags() pulumi.MapOutput
- func (o SecretOutput) Description() pulumi.StringOutput
- func (SecretOutput) ElementType() reflect.Type
- func (o SecretOutput) FreeformTags() pulumi.MapOutput
- func (o SecretOutput) KeyId() pulumi.StringOutput
- func (o SecretOutput) LifecycleDetails() pulumi.StringOutput
- func (o SecretOutput) Metadata() pulumi.MapOutput
- func (o SecretOutput) SecretContent() SecretSecretContentOutput
- func (o SecretOutput) SecretName() pulumi.StringOutput
- func (o SecretOutput) SecretRules() SecretSecretRuleArrayOutput
- func (o SecretOutput) State() pulumi.StringOutput
- func (o SecretOutput) TimeCreated() pulumi.StringOutput
- func (o SecretOutput) TimeOfCurrentVersionExpiry() pulumi.StringOutput
- func (o SecretOutput) TimeOfDeletion() pulumi.StringOutput
- func (o SecretOutput) ToOutput(ctx context.Context) pulumix.Output[*Secret]
- func (o SecretOutput) ToSecretOutput() SecretOutput
- func (o SecretOutput) ToSecretOutputWithContext(ctx context.Context) SecretOutput
- func (o SecretOutput) VaultId() pulumi.StringOutput
- type SecretSecretContent
- type SecretSecretContentArgs
- func (SecretSecretContentArgs) ElementType() reflect.Type
- func (i SecretSecretContentArgs) ToOutput(ctx context.Context) pulumix.Output[SecretSecretContent]
- func (i SecretSecretContentArgs) ToSecretSecretContentOutput() SecretSecretContentOutput
- func (i SecretSecretContentArgs) ToSecretSecretContentOutputWithContext(ctx context.Context) SecretSecretContentOutput
- func (i SecretSecretContentArgs) ToSecretSecretContentPtrOutput() SecretSecretContentPtrOutput
- func (i SecretSecretContentArgs) ToSecretSecretContentPtrOutputWithContext(ctx context.Context) SecretSecretContentPtrOutput
- type SecretSecretContentInput
- type SecretSecretContentOutput
- func (o SecretSecretContentOutput) Content() pulumi.StringOutput
- func (o SecretSecretContentOutput) ContentType() pulumi.StringOutput
- func (SecretSecretContentOutput) ElementType() reflect.Type
- func (o SecretSecretContentOutput) Name() pulumi.StringPtrOutput
- func (o SecretSecretContentOutput) Stage() pulumi.StringPtrOutput
- func (o SecretSecretContentOutput) ToOutput(ctx context.Context) pulumix.Output[SecretSecretContent]
- func (o SecretSecretContentOutput) ToSecretSecretContentOutput() SecretSecretContentOutput
- func (o SecretSecretContentOutput) ToSecretSecretContentOutputWithContext(ctx context.Context) SecretSecretContentOutput
- func (o SecretSecretContentOutput) ToSecretSecretContentPtrOutput() SecretSecretContentPtrOutput
- func (o SecretSecretContentOutput) ToSecretSecretContentPtrOutputWithContext(ctx context.Context) SecretSecretContentPtrOutput
- type SecretSecretContentPtrInput
- type SecretSecretContentPtrOutput
- func (o SecretSecretContentPtrOutput) Content() pulumi.StringPtrOutput
- func (o SecretSecretContentPtrOutput) ContentType() pulumi.StringPtrOutput
- func (o SecretSecretContentPtrOutput) Elem() SecretSecretContentOutput
- func (SecretSecretContentPtrOutput) ElementType() reflect.Type
- func (o SecretSecretContentPtrOutput) Name() pulumi.StringPtrOutput
- func (o SecretSecretContentPtrOutput) Stage() pulumi.StringPtrOutput
- func (o SecretSecretContentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretSecretContent]
- func (o SecretSecretContentPtrOutput) ToSecretSecretContentPtrOutput() SecretSecretContentPtrOutput
- func (o SecretSecretContentPtrOutput) ToSecretSecretContentPtrOutputWithContext(ctx context.Context) SecretSecretContentPtrOutput
- type SecretSecretRule
- type SecretSecretRuleArgs
- func (SecretSecretRuleArgs) ElementType() reflect.Type
- func (i SecretSecretRuleArgs) ToOutput(ctx context.Context) pulumix.Output[SecretSecretRule]
- func (i SecretSecretRuleArgs) ToSecretSecretRuleOutput() SecretSecretRuleOutput
- func (i SecretSecretRuleArgs) ToSecretSecretRuleOutputWithContext(ctx context.Context) SecretSecretRuleOutput
- type SecretSecretRuleArray
- func (SecretSecretRuleArray) ElementType() reflect.Type
- func (i SecretSecretRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretSecretRule]
- func (i SecretSecretRuleArray) ToSecretSecretRuleArrayOutput() SecretSecretRuleArrayOutput
- func (i SecretSecretRuleArray) ToSecretSecretRuleArrayOutputWithContext(ctx context.Context) SecretSecretRuleArrayOutput
- type SecretSecretRuleArrayInput
- type SecretSecretRuleArrayOutput
- func (SecretSecretRuleArrayOutput) ElementType() reflect.Type
- func (o SecretSecretRuleArrayOutput) Index(i pulumi.IntInput) SecretSecretRuleOutput
- func (o SecretSecretRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretSecretRule]
- func (o SecretSecretRuleArrayOutput) ToSecretSecretRuleArrayOutput() SecretSecretRuleArrayOutput
- func (o SecretSecretRuleArrayOutput) ToSecretSecretRuleArrayOutputWithContext(ctx context.Context) SecretSecretRuleArrayOutput
- type SecretSecretRuleInput
- type SecretSecretRuleOutput
- func (SecretSecretRuleOutput) ElementType() reflect.Type
- func (o SecretSecretRuleOutput) IsEnforcedOnDeletedSecretVersions() pulumi.BoolPtrOutput
- func (o SecretSecretRuleOutput) IsSecretContentRetrievalBlockedOnExpiry() pulumi.BoolPtrOutput
- func (o SecretSecretRuleOutput) RuleType() pulumi.StringOutput
- func (o SecretSecretRuleOutput) SecretVersionExpiryInterval() pulumi.StringPtrOutput
- func (o SecretSecretRuleOutput) TimeOfAbsoluteExpiry() pulumi.StringPtrOutput
- func (o SecretSecretRuleOutput) ToOutput(ctx context.Context) pulumix.Output[SecretSecretRule]
- func (o SecretSecretRuleOutput) ToSecretSecretRuleOutput() SecretSecretRuleOutput
- func (o SecretSecretRuleOutput) ToSecretSecretRuleOutputWithContext(ctx context.Context) SecretSecretRuleOutput
- type SecretState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetSecretSecretContent ¶
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
func (i GetSecretSecretContentArgs) ToOutput(ctx context.Context) pulumix.Output[GetSecretSecretContent]
type GetSecretSecretContentArray ¶
type GetSecretSecretContentArray []GetSecretSecretContentInput
func (GetSecretSecretContentArray) ElementType ¶
func (GetSecretSecretContentArray) ElementType() reflect.Type
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
func (i GetSecretSecretContentArray) ToOutput(ctx context.Context) pulumix.Output[[]GetSecretSecretContent]
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) ElementType() reflect.Type
func (GetSecretSecretContentArrayOutput) Index ¶
func (o GetSecretSecretContentArrayOutput) Index(i pulumi.IntInput) GetSecretSecretContentOutput
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
func (o GetSecretSecretContentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetSecretSecretContent]
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 (o GetSecretSecretContentOutput) Content() pulumi.StringOutput
func (GetSecretSecretContentOutput) ContentType ¶
func (o GetSecretSecretContentOutput) ContentType() pulumi.StringOutput
func (GetSecretSecretContentOutput) ElementType ¶
func (GetSecretSecretContentOutput) ElementType() reflect.Type
func (GetSecretSecretContentOutput) Name ¶
func (o GetSecretSecretContentOutput) Name() pulumi.StringOutput
func (GetSecretSecretContentOutput) Stage ¶
func (o GetSecretSecretContentOutput) Stage() pulumi.StringOutput
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
func (o GetSecretSecretContentOutput) ToOutput(ctx context.Context) pulumix.Output[GetSecretSecretContent]
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
func (i GetSecretSecretRuleArgs) ToOutput(ctx context.Context) pulumix.Output[GetSecretSecretRule]
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
func (i GetSecretSecretRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]GetSecretSecretRule]
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) ElementType() reflect.Type
func (GetSecretSecretRuleArrayOutput) Index ¶
func (o GetSecretSecretRuleArrayOutput) Index(i pulumi.IntInput) GetSecretSecretRuleOutput
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
func (o GetSecretSecretRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetSecretSecretRule]
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 ¶
func (o GetSecretSecretRuleOutput) RuleType() pulumi.StringOutput
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
func (o GetSecretSecretRuleOutput) ToOutput(ctx context.Context) pulumix.Output[GetSecretSecretRule]
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 GetSecretVersionOutput ¶
func GetSecretVersionOutput(ctx *pulumi.Context, args GetSecretVersionOutputArgs, opts ...pulumi.InvokeOption) GetSecretVersionResultOutput
func (GetSecretVersionResultOutput) ContentType ¶
func (o GetSecretVersionResultOutput) ContentType() pulumi.StringOutput
The content type of the secret version's secret contents.
func (GetSecretVersionResultOutput) ElementType ¶
func (GetSecretVersionResultOutput) ElementType() reflect.Type
func (GetSecretVersionResultOutput) Id ¶
func (o GetSecretVersionResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSecretVersionResultOutput) Name ¶
func (o GetSecretVersionResultOutput) Name() pulumi.StringOutput
The name of the secret version. A name is unique across versions of a secret.
func (GetSecretVersionResultOutput) SecretId ¶
func (o GetSecretVersionResultOutput) SecretId() pulumi.StringOutput
The OCID of the secret.
func (GetSecretVersionResultOutput) SecretVersionNumber ¶
func (o GetSecretVersionResultOutput) SecretVersionNumber() pulumi.StringOutput
func (GetSecretVersionResultOutput) Stages ¶
func (o GetSecretVersionResultOutput) Stages() pulumi.StringArrayOutput
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 ¶
func (o GetSecretVersionResultOutput) TimeCreated() pulumi.StringOutput
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 ¶
func (o GetSecretVersionResultOutput) TimeOfDeletion() pulumi.StringOutput
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 (o GetSecretVersionResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetSecretVersionResult]
func (GetSecretVersionResultOutput) VersionNumber ¶
func (o GetSecretVersionResultOutput) VersionNumber() pulumi.StringOutput
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 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
func (i GetSecretsFilterArgs) ToOutput(ctx context.Context) pulumix.Output[GetSecretsFilter]
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
func (i GetSecretsFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetSecretsFilter]
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) ElementType() reflect.Type
func (GetSecretsFilterArrayOutput) Index ¶
func (o GetSecretsFilterArrayOutput) Index(i pulumi.IntInput) GetSecretsFilterOutput
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
func (o GetSecretsFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetSecretsFilter]
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 ¶
func (o GetSecretsFilterOutput) Name() pulumi.StringOutput
The secret name.
func (GetSecretsFilterOutput) Regex ¶
func (o GetSecretsFilterOutput) Regex() pulumi.BoolPtrOutput
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 (o GetSecretsFilterOutput) ToOutput(ctx context.Context) pulumix.Output[GetSecretsFilter]
func (GetSecretsFilterOutput) Values ¶
func (o GetSecretsFilterOutput) Values() pulumi.StringArrayOutput
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 GetSecretsOutput ¶
func GetSecretsOutput(ctx *pulumi.Context, args GetSecretsOutputArgs, opts ...pulumi.InvokeOption) GetSecretsResultOutput
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 (o GetSecretsResultOutput) Filters() GetSecretsFilterArrayOutput
func (GetSecretsResultOutput) Id ¶
func (o GetSecretsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSecretsResultOutput) Name ¶
func (o GetSecretsResultOutput) Name() pulumi.StringPtrOutput
func (GetSecretsResultOutput) Secrets ¶
func (o GetSecretsResultOutput) Secrets() GetSecretsSecretArrayOutput
The list of secrets.
func (GetSecretsResultOutput) State ¶
func (o GetSecretsResultOutput) State() pulumi.StringPtrOutput
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 (o GetSecretsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetSecretsResult]
func (GetSecretsResultOutput) VaultId ¶
func (o GetSecretsResultOutput) VaultId() pulumi.StringPtrOutput
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
func (i GetSecretsSecretArgs) ToOutput(ctx context.Context) pulumix.Output[GetSecretsSecret]
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
func (i GetSecretsSecretArray) ToOutput(ctx context.Context) pulumix.Output[[]GetSecretsSecret]
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) ElementType() reflect.Type
func (GetSecretsSecretArrayOutput) Index ¶
func (o GetSecretsSecretArrayOutput) Index(i pulumi.IntInput) GetSecretsSecretOutput
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
func (o GetSecretsSecretArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetSecretsSecret]
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 ¶
func (o GetSecretsSecretOutput) Id() pulumi.StringOutput
The OCID of the secret.
func (GetSecretsSecretOutput) KeyId ¶
func (o GetSecretsSecretOutput) KeyId() pulumi.StringOutput
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 ¶
func (o GetSecretsSecretOutput) Metadata() pulumi.MapOutput
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 (o GetSecretsSecretOutput) SecretContents() GetSecretsSecretSecretContentArrayOutput
func (GetSecretsSecretOutput) SecretName ¶
func (o GetSecretsSecretOutput) SecretName() pulumi.StringOutput
The user-friendly name of the secret. Avoid entering confidential information.
func (GetSecretsSecretOutput) SecretRules ¶
func (o GetSecretsSecretOutput) SecretRules() GetSecretsSecretSecretRuleArrayOutput
A list of rules that control how the secret is used and managed.
func (GetSecretsSecretOutput) State ¶
func (o GetSecretsSecretOutput) State() pulumi.StringOutput
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 (o GetSecretsSecretOutput) ToOutput(ctx context.Context) pulumix.Output[GetSecretsSecret]
func (GetSecretsSecretOutput) VaultId ¶
func (o GetSecretsSecretOutput) VaultId() pulumi.StringOutput
The OCID of the vault.
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) ElementType() reflect.Type
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
func (i GetSecretsSecretSecretContentArgs) ToOutput(ctx context.Context) pulumix.Output[GetSecretsSecretSecretContent]
type GetSecretsSecretSecretContentArray ¶
type GetSecretsSecretSecretContentArray []GetSecretsSecretSecretContentInput
func (GetSecretsSecretSecretContentArray) ElementType ¶
func (GetSecretsSecretSecretContentArray) ElementType() reflect.Type
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
func (i GetSecretsSecretSecretContentArray) ToOutput(ctx context.Context) pulumix.Output[[]GetSecretsSecretSecretContent]
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) ElementType() reflect.Type
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
func (o GetSecretsSecretSecretContentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetSecretsSecretSecretContent]
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 (o GetSecretsSecretSecretContentOutput) Content() pulumi.StringOutput
func (GetSecretsSecretSecretContentOutput) ContentType ¶
func (o GetSecretsSecretSecretContentOutput) ContentType() pulumi.StringOutput
func (GetSecretsSecretSecretContentOutput) ElementType ¶
func (GetSecretsSecretSecretContentOutput) ElementType() reflect.Type
func (GetSecretsSecretSecretContentOutput) Name ¶
func (o GetSecretsSecretSecretContentOutput) Name() pulumi.StringOutput
The secret name.
func (GetSecretsSecretSecretContentOutput) Stage ¶
func (o GetSecretsSecretSecretContentOutput) Stage() pulumi.StringOutput
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
func (o GetSecretsSecretSecretContentOutput) ToOutput(ctx context.Context) pulumix.Output[GetSecretsSecretSecretContent]
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) ElementType() reflect.Type
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
func (i GetSecretsSecretSecretRuleArgs) ToOutput(ctx context.Context) pulumix.Output[GetSecretsSecretSecretRule]
type GetSecretsSecretSecretRuleArray ¶
type GetSecretsSecretSecretRuleArray []GetSecretsSecretSecretRuleInput
func (GetSecretsSecretSecretRuleArray) ElementType ¶
func (GetSecretsSecretSecretRuleArray) ElementType() reflect.Type
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
func (i GetSecretsSecretSecretRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]GetSecretsSecretSecretRule]
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) ElementType() reflect.Type
func (GetSecretsSecretSecretRuleArrayOutput) Index ¶
func (o GetSecretsSecretSecretRuleArrayOutput) Index(i pulumi.IntInput) GetSecretsSecretSecretRuleOutput
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
func (o GetSecretsSecretSecretRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetSecretsSecretSecretRule]
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) ElementType() reflect.Type
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 ¶
func (o GetSecretsSecretSecretRuleOutput) RuleType() pulumi.StringOutput
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
func (o GetSecretsSecretSecretRuleOutput) ToOutput(ctx context.Context) pulumix.Output[GetSecretsSecretSecretRule]
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 LookupSecretOutput ¶
func LookupSecretOutput(ctx *pulumi.Context, args LookupSecretOutputArgs, opts ...pulumi.InvokeOption) LookupSecretResultOutput
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 ¶
func (o LookupSecretResultOutput) Description() pulumi.StringOutput
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 ¶
func (o LookupSecretResultOutput) Id() pulumi.StringOutput
The OCID of the secret.
func (LookupSecretResultOutput) KeyId ¶
func (o LookupSecretResultOutput) KeyId() pulumi.StringOutput
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 ¶
func (o LookupSecretResultOutput) Metadata() pulumi.MapOutput
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 (o LookupSecretResultOutput) SecretContents() GetSecretSecretContentArrayOutput
func (LookupSecretResultOutput) SecretId ¶
func (o LookupSecretResultOutput) SecretId() pulumi.StringOutput
func (LookupSecretResultOutput) SecretName ¶
func (o LookupSecretResultOutput) SecretName() pulumi.StringOutput
The user-friendly name of the secret. Avoid entering confidential information.
func (LookupSecretResultOutput) SecretRules ¶
func (o LookupSecretResultOutput) SecretRules() GetSecretSecretRuleArrayOutput
A list of rules that control how the secret is used and managed.
func (LookupSecretResultOutput) State ¶
func (o LookupSecretResultOutput) State() pulumi.StringOutput
The current lifecycle state of the secret.
func (LookupSecretResultOutput) TimeCreated ¶
func (o LookupSecretResultOutput) 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 (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 (o LookupSecretResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSecretResult]
func (LookupSecretResultOutput) VaultId ¶
func (o LookupSecretResultOutput) VaultId() pulumi.StringOutput
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) 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) 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 (o SecretArrayOutput) Index(i pulumi.IntInput) SecretOutput
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) 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 (o SecretMapOutput) MapIndex(k pulumi.StringInput) SecretOutput
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) 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 (i SecretSecretContentArgs) ToOutput(ctx context.Context) pulumix.Output[SecretSecretContent]
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 ¶
func (o SecretSecretContentOutput) Content() pulumi.StringOutput
(Updatable) The base64-encoded content of the secret.
func (SecretSecretContentOutput) ContentType ¶
func (o SecretSecretContentOutput) ContentType() pulumi.StringOutput
(Updatable) content type . Example `BASE64` .
func (SecretSecretContentOutput) ElementType ¶
func (SecretSecretContentOutput) ElementType() reflect.Type
func (SecretSecretContentOutput) Name ¶
func (o SecretSecretContentOutput) Name() pulumi.StringPtrOutput
(Updatable) Names should be unique within a secret. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
func (SecretSecretContentOutput) Stage ¶
func (o SecretSecretContentOutput) Stage() pulumi.StringPtrOutput
(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 (o SecretSecretContentOutput) ToOutput(ctx context.Context) pulumix.Output[SecretSecretContent]
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
func SecretSecretContentPtr ¶
func SecretSecretContentPtr(v *SecretSecretContentArgs) SecretSecretContentPtrInput
type SecretSecretContentPtrOutput ¶
type SecretSecretContentPtrOutput struct{ *pulumi.OutputState }
func (SecretSecretContentPtrOutput) Content ¶
func (o SecretSecretContentPtrOutput) Content() pulumi.StringPtrOutput
(Updatable) The base64-encoded content of the secret.
func (SecretSecretContentPtrOutput) ContentType ¶
func (o SecretSecretContentPtrOutput) ContentType() pulumi.StringPtrOutput
(Updatable) content type . Example `BASE64` .
func (SecretSecretContentPtrOutput) Elem ¶
func (o SecretSecretContentPtrOutput) Elem() SecretSecretContentOutput
func (SecretSecretContentPtrOutput) ElementType ¶
func (SecretSecretContentPtrOutput) ElementType() reflect.Type
func (SecretSecretContentPtrOutput) Name ¶
func (o SecretSecretContentPtrOutput) Name() pulumi.StringPtrOutput
(Updatable) Names should be unique within a secret. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
func (SecretSecretContentPtrOutput) Stage ¶
func (o SecretSecretContentPtrOutput) Stage() pulumi.StringPtrOutput
(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 (o SecretSecretContentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretSecretContent]
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 (i SecretSecretRuleArgs) ToOutput(ctx context.Context) pulumix.Output[SecretSecretRule]
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 (i SecretSecretRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretSecretRule]
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) ElementType() reflect.Type
func (SecretSecretRuleArrayOutput) Index ¶
func (o SecretSecretRuleArrayOutput) Index(i pulumi.IntInput) SecretSecretRuleOutput
func (SecretSecretRuleArrayOutput) ToOutput ¶ added in v1.11.0
func (o SecretSecretRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretSecretRule]
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 ¶
func (o SecretSecretRuleOutput) RuleType() pulumi.StringOutput
(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 (o SecretSecretRuleOutput) ToOutput(ctx context.Context) pulumix.Output[SecretSecretRule]
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