Documentation
¶
Overview ¶
A Pulumi package for creating and managing HashiCorp Vault cloud resources.
Index ¶
- type Audit
- type AuditArgs
- type AuditArray
- type AuditArrayInput
- type AuditArrayOutput
- type AuditInput
- type AuditMap
- type AuditMapInput
- type AuditMapOutput
- type AuditOutput
- func (o AuditOutput) Description() pulumi.StringPtrOutput
- func (AuditOutput) ElementType() reflect.Type
- func (o AuditOutput) Local() pulumi.BoolPtrOutput
- func (o AuditOutput) Namespace() pulumi.StringPtrOutput
- func (o AuditOutput) Options() pulumi.StringMapOutput
- func (o AuditOutput) Path() pulumi.StringOutput
- func (o AuditOutput) ToAuditOutput() AuditOutput
- func (o AuditOutput) ToAuditOutputWithContext(ctx context.Context) AuditOutput
- func (o AuditOutput) Type() pulumi.StringOutput
- type AuditRequestHeader
- type AuditRequestHeaderArgs
- type AuditRequestHeaderArray
- type AuditRequestHeaderArrayInput
- type AuditRequestHeaderArrayOutput
- func (AuditRequestHeaderArrayOutput) ElementType() reflect.Type
- func (o AuditRequestHeaderArrayOutput) Index(i pulumi.IntInput) AuditRequestHeaderOutput
- func (o AuditRequestHeaderArrayOutput) ToAuditRequestHeaderArrayOutput() AuditRequestHeaderArrayOutput
- func (o AuditRequestHeaderArrayOutput) ToAuditRequestHeaderArrayOutputWithContext(ctx context.Context) AuditRequestHeaderArrayOutput
- type AuditRequestHeaderInput
- type AuditRequestHeaderMap
- type AuditRequestHeaderMapInput
- type AuditRequestHeaderMapOutput
- func (AuditRequestHeaderMapOutput) ElementType() reflect.Type
- func (o AuditRequestHeaderMapOutput) MapIndex(k pulumi.StringInput) AuditRequestHeaderOutput
- func (o AuditRequestHeaderMapOutput) ToAuditRequestHeaderMapOutput() AuditRequestHeaderMapOutput
- func (o AuditRequestHeaderMapOutput) ToAuditRequestHeaderMapOutputWithContext(ctx context.Context) AuditRequestHeaderMapOutput
- type AuditRequestHeaderOutput
- func (AuditRequestHeaderOutput) ElementType() reflect.Type
- func (o AuditRequestHeaderOutput) Hmac() pulumi.BoolPtrOutput
- func (o AuditRequestHeaderOutput) Name() pulumi.StringOutput
- func (o AuditRequestHeaderOutput) Namespace() pulumi.StringPtrOutput
- func (o AuditRequestHeaderOutput) ToAuditRequestHeaderOutput() AuditRequestHeaderOutput
- func (o AuditRequestHeaderOutput) ToAuditRequestHeaderOutputWithContext(ctx context.Context) AuditRequestHeaderOutput
- type AuditRequestHeaderState
- type AuditState
- type AuthBackend
- type AuthBackendArgs
- type AuthBackendArray
- type AuthBackendArrayInput
- type AuthBackendArrayOutput
- func (AuthBackendArrayOutput) ElementType() reflect.Type
- func (o AuthBackendArrayOutput) Index(i pulumi.IntInput) AuthBackendOutput
- func (o AuthBackendArrayOutput) ToAuthBackendArrayOutput() AuthBackendArrayOutput
- func (o AuthBackendArrayOutput) ToAuthBackendArrayOutputWithContext(ctx context.Context) AuthBackendArrayOutput
- type AuthBackendInput
- type AuthBackendMap
- type AuthBackendMapInput
- type AuthBackendMapOutput
- func (AuthBackendMapOutput) ElementType() reflect.Type
- func (o AuthBackendMapOutput) MapIndex(k pulumi.StringInput) AuthBackendOutput
- func (o AuthBackendMapOutput) ToAuthBackendMapOutput() AuthBackendMapOutput
- func (o AuthBackendMapOutput) ToAuthBackendMapOutputWithContext(ctx context.Context) AuthBackendMapOutput
- type AuthBackendOutput
- func (o AuthBackendOutput) Accessor() pulumi.StringOutput
- func (o AuthBackendOutput) Description() pulumi.StringPtrOutput
- func (o AuthBackendOutput) DisableRemount() pulumi.BoolPtrOutput
- func (AuthBackendOutput) ElementType() reflect.Type
- func (o AuthBackendOutput) IdentityTokenKey() pulumi.StringPtrOutput
- func (o AuthBackendOutput) Local() pulumi.BoolPtrOutput
- func (o AuthBackendOutput) Namespace() pulumi.StringPtrOutput
- func (o AuthBackendOutput) Path() pulumi.StringOutput
- func (o AuthBackendOutput) ToAuthBackendOutput() AuthBackendOutput
- func (o AuthBackendOutput) ToAuthBackendOutputWithContext(ctx context.Context) AuthBackendOutput
- func (o AuthBackendOutput) Tune() AuthBackendTuneOutput
- func (o AuthBackendOutput) Type() pulumi.StringOutput
- type AuthBackendState
- type AuthBackendTune
- type AuthBackendTuneArgs
- func (AuthBackendTuneArgs) ElementType() reflect.Type
- func (i AuthBackendTuneArgs) ToAuthBackendTuneOutput() AuthBackendTuneOutput
- func (i AuthBackendTuneArgs) ToAuthBackendTuneOutputWithContext(ctx context.Context) AuthBackendTuneOutput
- func (i AuthBackendTuneArgs) ToAuthBackendTunePtrOutput() AuthBackendTunePtrOutput
- func (i AuthBackendTuneArgs) ToAuthBackendTunePtrOutputWithContext(ctx context.Context) AuthBackendTunePtrOutput
- type AuthBackendTuneInput
- type AuthBackendTuneOutput
- func (o AuthBackendTuneOutput) AllowedResponseHeaders() pulumi.StringArrayOutput
- func (o AuthBackendTuneOutput) AuditNonHmacRequestKeys() pulumi.StringArrayOutput
- func (o AuthBackendTuneOutput) AuditNonHmacResponseKeys() pulumi.StringArrayOutput
- func (o AuthBackendTuneOutput) DefaultLeaseTtl() pulumi.StringPtrOutput
- func (AuthBackendTuneOutput) ElementType() reflect.Type
- func (o AuthBackendTuneOutput) ListingVisibility() pulumi.StringPtrOutput
- func (o AuthBackendTuneOutput) MaxLeaseTtl() pulumi.StringPtrOutput
- func (o AuthBackendTuneOutput) PassthroughRequestHeaders() pulumi.StringArrayOutput
- func (o AuthBackendTuneOutput) ToAuthBackendTuneOutput() AuthBackendTuneOutput
- func (o AuthBackendTuneOutput) ToAuthBackendTuneOutputWithContext(ctx context.Context) AuthBackendTuneOutput
- func (o AuthBackendTuneOutput) ToAuthBackendTunePtrOutput() AuthBackendTunePtrOutput
- func (o AuthBackendTuneOutput) ToAuthBackendTunePtrOutputWithContext(ctx context.Context) AuthBackendTunePtrOutput
- func (o AuthBackendTuneOutput) TokenType() pulumi.StringPtrOutput
- type AuthBackendTunePtrInput
- type AuthBackendTunePtrOutput
- func (o AuthBackendTunePtrOutput) AllowedResponseHeaders() pulumi.StringArrayOutput
- func (o AuthBackendTunePtrOutput) AuditNonHmacRequestKeys() pulumi.StringArrayOutput
- func (o AuthBackendTunePtrOutput) AuditNonHmacResponseKeys() pulumi.StringArrayOutput
- func (o AuthBackendTunePtrOutput) DefaultLeaseTtl() pulumi.StringPtrOutput
- func (o AuthBackendTunePtrOutput) Elem() AuthBackendTuneOutput
- func (AuthBackendTunePtrOutput) ElementType() reflect.Type
- func (o AuthBackendTunePtrOutput) ListingVisibility() pulumi.StringPtrOutput
- func (o AuthBackendTunePtrOutput) MaxLeaseTtl() pulumi.StringPtrOutput
- func (o AuthBackendTunePtrOutput) PassthroughRequestHeaders() pulumi.StringArrayOutput
- func (o AuthBackendTunePtrOutput) ToAuthBackendTunePtrOutput() AuthBackendTunePtrOutput
- func (o AuthBackendTunePtrOutput) ToAuthBackendTunePtrOutputWithContext(ctx context.Context) AuthBackendTunePtrOutput
- func (o AuthBackendTunePtrOutput) TokenType() pulumi.StringPtrOutput
- type CertAuthBackendRole
- type CertAuthBackendRoleArgs
- type CertAuthBackendRoleArray
- type CertAuthBackendRoleArrayInput
- type CertAuthBackendRoleArrayOutput
- func (CertAuthBackendRoleArrayOutput) ElementType() reflect.Type
- func (o CertAuthBackendRoleArrayOutput) Index(i pulumi.IntInput) CertAuthBackendRoleOutput
- func (o CertAuthBackendRoleArrayOutput) ToCertAuthBackendRoleArrayOutput() CertAuthBackendRoleArrayOutput
- func (o CertAuthBackendRoleArrayOutput) ToCertAuthBackendRoleArrayOutputWithContext(ctx context.Context) CertAuthBackendRoleArrayOutput
- type CertAuthBackendRoleInput
- type CertAuthBackendRoleMap
- type CertAuthBackendRoleMapInput
- type CertAuthBackendRoleMapOutput
- func (CertAuthBackendRoleMapOutput) ElementType() reflect.Type
- func (o CertAuthBackendRoleMapOutput) MapIndex(k pulumi.StringInput) CertAuthBackendRoleOutput
- func (o CertAuthBackendRoleMapOutput) ToCertAuthBackendRoleMapOutput() CertAuthBackendRoleMapOutput
- func (o CertAuthBackendRoleMapOutput) ToCertAuthBackendRoleMapOutputWithContext(ctx context.Context) CertAuthBackendRoleMapOutput
- type CertAuthBackendRoleOutput
- func (o CertAuthBackendRoleOutput) AllowedCommonNames() pulumi.StringArrayOutput
- func (o CertAuthBackendRoleOutput) AllowedDnsSans() pulumi.StringArrayOutput
- func (o CertAuthBackendRoleOutput) AllowedEmailSans() pulumi.StringArrayOutput
- func (o CertAuthBackendRoleOutput) AllowedNames() pulumi.StringArrayOutput
- func (o CertAuthBackendRoleOutput) AllowedOrganizationalUnits() pulumi.StringArrayOutput
- func (o CertAuthBackendRoleOutput) AllowedUriSans() pulumi.StringArrayOutput
- func (o CertAuthBackendRoleOutput) Backend() pulumi.StringPtrOutput
- func (o CertAuthBackendRoleOutput) Certificate() pulumi.StringOutput
- func (o CertAuthBackendRoleOutput) DisplayName() pulumi.StringOutput
- func (CertAuthBackendRoleOutput) ElementType() reflect.Type
- func (o CertAuthBackendRoleOutput) Name() pulumi.StringOutput
- func (o CertAuthBackendRoleOutput) Namespace() pulumi.StringPtrOutput
- func (o CertAuthBackendRoleOutput) OcspCaCertificates() pulumi.StringPtrOutput
- func (o CertAuthBackendRoleOutput) OcspEnabled() pulumi.BoolOutput
- func (o CertAuthBackendRoleOutput) OcspFailOpen() pulumi.BoolOutput
- func (o CertAuthBackendRoleOutput) OcspQueryAllServers() pulumi.BoolOutput
- func (o CertAuthBackendRoleOutput) OcspServersOverrides() pulumi.StringArrayOutput
- func (o CertAuthBackendRoleOutput) RequiredExtensions() pulumi.StringArrayOutput
- func (o CertAuthBackendRoleOutput) ToCertAuthBackendRoleOutput() CertAuthBackendRoleOutput
- func (o CertAuthBackendRoleOutput) ToCertAuthBackendRoleOutputWithContext(ctx context.Context) CertAuthBackendRoleOutput
- func (o CertAuthBackendRoleOutput) TokenBoundCidrs() pulumi.StringArrayOutput
- func (o CertAuthBackendRoleOutput) TokenExplicitMaxTtl() pulumi.IntPtrOutput
- func (o CertAuthBackendRoleOutput) TokenMaxTtl() pulumi.IntPtrOutput
- func (o CertAuthBackendRoleOutput) TokenNoDefaultPolicy() pulumi.BoolPtrOutput
- func (o CertAuthBackendRoleOutput) TokenNumUses() pulumi.IntPtrOutput
- func (o CertAuthBackendRoleOutput) TokenPeriod() pulumi.IntPtrOutput
- func (o CertAuthBackendRoleOutput) TokenPolicies() pulumi.StringArrayOutput
- func (o CertAuthBackendRoleOutput) TokenTtl() pulumi.IntPtrOutput
- func (o CertAuthBackendRoleOutput) TokenType() pulumi.StringPtrOutput
- type CertAuthBackendRoleState
- type EgpPolicy
- type EgpPolicyArgs
- type EgpPolicyArray
- type EgpPolicyArrayInput
- type EgpPolicyArrayOutput
- func (EgpPolicyArrayOutput) ElementType() reflect.Type
- func (o EgpPolicyArrayOutput) Index(i pulumi.IntInput) EgpPolicyOutput
- func (o EgpPolicyArrayOutput) ToEgpPolicyArrayOutput() EgpPolicyArrayOutput
- func (o EgpPolicyArrayOutput) ToEgpPolicyArrayOutputWithContext(ctx context.Context) EgpPolicyArrayOutput
- type EgpPolicyInput
- type EgpPolicyMap
- type EgpPolicyMapInput
- type EgpPolicyMapOutput
- type EgpPolicyOutput
- func (EgpPolicyOutput) ElementType() reflect.Type
- func (o EgpPolicyOutput) EnforcementLevel() pulumi.StringOutput
- func (o EgpPolicyOutput) Name() pulumi.StringOutput
- func (o EgpPolicyOutput) Namespace() pulumi.StringPtrOutput
- func (o EgpPolicyOutput) Paths() pulumi.StringArrayOutput
- func (o EgpPolicyOutput) Policy() pulumi.StringOutput
- func (o EgpPolicyOutput) ToEgpPolicyOutput() EgpPolicyOutput
- func (o EgpPolicyOutput) ToEgpPolicyOutputWithContext(ctx context.Context) EgpPolicyOutput
- type EgpPolicyState
- type GetAuthBackendsArgs
- type GetAuthBackendsOutputArgs
- type GetAuthBackendsResult
- type GetAuthBackendsResultOutput
- func (o GetAuthBackendsResultOutput) Accessors() pulumi.StringArrayOutput
- func (GetAuthBackendsResultOutput) ElementType() reflect.Type
- func (o GetAuthBackendsResultOutput) Id() pulumi.StringOutput
- func (o GetAuthBackendsResultOutput) Namespace() pulumi.StringPtrOutput
- func (o GetAuthBackendsResultOutput) Paths() pulumi.StringArrayOutput
- func (o GetAuthBackendsResultOutput) ToGetAuthBackendsResultOutput() GetAuthBackendsResultOutput
- func (o GetAuthBackendsResultOutput) ToGetAuthBackendsResultOutputWithContext(ctx context.Context) GetAuthBackendsResultOutput
- func (o GetAuthBackendsResultOutput) Type() pulumi.StringPtrOutput
- type GetNamespacesArgs
- type GetNamespacesOutputArgs
- type GetNamespacesResult
- type GetNamespacesResultOutput
- func (GetNamespacesResultOutput) ElementType() reflect.Type
- func (o GetNamespacesResultOutput) Id() pulumi.StringOutput
- func (o GetNamespacesResultOutput) Namespace() pulumi.StringPtrOutput
- func (o GetNamespacesResultOutput) Paths() pulumi.StringArrayOutput
- func (o GetNamespacesResultOutput) ToGetNamespacesResultOutput() GetNamespacesResultOutput
- func (o GetNamespacesResultOutput) ToGetNamespacesResultOutputWithContext(ctx context.Context) GetNamespacesResultOutput
- type GetNomadAccessTokenArgs
- type GetNomadAccessTokenOutputArgs
- type GetNomadAccessTokenResult
- type GetNomadAccessTokenResultOutput
- func (o GetNomadAccessTokenResultOutput) AccessorId() pulumi.StringOutput
- func (o GetNomadAccessTokenResultOutput) Backend() pulumi.StringOutput
- func (GetNomadAccessTokenResultOutput) ElementType() reflect.Type
- func (o GetNomadAccessTokenResultOutput) Id() pulumi.StringOutput
- func (o GetNomadAccessTokenResultOutput) Namespace() pulumi.StringPtrOutput
- func (o GetNomadAccessTokenResultOutput) Role() pulumi.StringOutput
- func (o GetNomadAccessTokenResultOutput) SecretId() pulumi.StringOutput
- func (o GetNomadAccessTokenResultOutput) ToGetNomadAccessTokenResultOutput() GetNomadAccessTokenResultOutput
- func (o GetNomadAccessTokenResultOutput) ToGetNomadAccessTokenResultOutputWithContext(ctx context.Context) GetNomadAccessTokenResultOutput
- type GetPolicyDocumentArgs
- type GetPolicyDocumentOutputArgs
- type GetPolicyDocumentResult
- type GetPolicyDocumentResultOutput
- func (GetPolicyDocumentResultOutput) ElementType() reflect.Type
- func (o GetPolicyDocumentResultOutput) Hcl() pulumi.StringOutput
- func (o GetPolicyDocumentResultOutput) Id() pulumi.StringOutput
- func (o GetPolicyDocumentResultOutput) Namespace() pulumi.StringPtrOutput
- func (o GetPolicyDocumentResultOutput) Rules() GetPolicyDocumentRuleArrayOutput
- func (o GetPolicyDocumentResultOutput) ToGetPolicyDocumentResultOutput() GetPolicyDocumentResultOutput
- func (o GetPolicyDocumentResultOutput) ToGetPolicyDocumentResultOutputWithContext(ctx context.Context) GetPolicyDocumentResultOutput
- type GetPolicyDocumentRule
- type GetPolicyDocumentRuleAllowedParameter
- type GetPolicyDocumentRuleAllowedParameterArgs
- func (GetPolicyDocumentRuleAllowedParameterArgs) ElementType() reflect.Type
- func (i GetPolicyDocumentRuleAllowedParameterArgs) ToGetPolicyDocumentRuleAllowedParameterOutput() GetPolicyDocumentRuleAllowedParameterOutput
- func (i GetPolicyDocumentRuleAllowedParameterArgs) ToGetPolicyDocumentRuleAllowedParameterOutputWithContext(ctx context.Context) GetPolicyDocumentRuleAllowedParameterOutput
- type GetPolicyDocumentRuleAllowedParameterArray
- func (GetPolicyDocumentRuleAllowedParameterArray) ElementType() reflect.Type
- func (i GetPolicyDocumentRuleAllowedParameterArray) ToGetPolicyDocumentRuleAllowedParameterArrayOutput() GetPolicyDocumentRuleAllowedParameterArrayOutput
- func (i GetPolicyDocumentRuleAllowedParameterArray) ToGetPolicyDocumentRuleAllowedParameterArrayOutputWithContext(ctx context.Context) GetPolicyDocumentRuleAllowedParameterArrayOutput
- type GetPolicyDocumentRuleAllowedParameterArrayInput
- type GetPolicyDocumentRuleAllowedParameterArrayOutput
- func (GetPolicyDocumentRuleAllowedParameterArrayOutput) ElementType() reflect.Type
- func (o GetPolicyDocumentRuleAllowedParameterArrayOutput) Index(i pulumi.IntInput) GetPolicyDocumentRuleAllowedParameterOutput
- func (o GetPolicyDocumentRuleAllowedParameterArrayOutput) ToGetPolicyDocumentRuleAllowedParameterArrayOutput() GetPolicyDocumentRuleAllowedParameterArrayOutput
- func (o GetPolicyDocumentRuleAllowedParameterArrayOutput) ToGetPolicyDocumentRuleAllowedParameterArrayOutputWithContext(ctx context.Context) GetPolicyDocumentRuleAllowedParameterArrayOutput
- type GetPolicyDocumentRuleAllowedParameterInput
- type GetPolicyDocumentRuleAllowedParameterOutput
- func (GetPolicyDocumentRuleAllowedParameterOutput) ElementType() reflect.Type
- func (o GetPolicyDocumentRuleAllowedParameterOutput) Key() pulumi.StringOutput
- func (o GetPolicyDocumentRuleAllowedParameterOutput) ToGetPolicyDocumentRuleAllowedParameterOutput() GetPolicyDocumentRuleAllowedParameterOutput
- func (o GetPolicyDocumentRuleAllowedParameterOutput) ToGetPolicyDocumentRuleAllowedParameterOutputWithContext(ctx context.Context) GetPolicyDocumentRuleAllowedParameterOutput
- func (o GetPolicyDocumentRuleAllowedParameterOutput) Values() pulumi.StringArrayOutput
- type GetPolicyDocumentRuleArgs
- type GetPolicyDocumentRuleArray
- func (GetPolicyDocumentRuleArray) ElementType() reflect.Type
- func (i GetPolicyDocumentRuleArray) ToGetPolicyDocumentRuleArrayOutput() GetPolicyDocumentRuleArrayOutput
- func (i GetPolicyDocumentRuleArray) ToGetPolicyDocumentRuleArrayOutputWithContext(ctx context.Context) GetPolicyDocumentRuleArrayOutput
- type GetPolicyDocumentRuleArrayInput
- type GetPolicyDocumentRuleArrayOutput
- func (GetPolicyDocumentRuleArrayOutput) ElementType() reflect.Type
- func (o GetPolicyDocumentRuleArrayOutput) Index(i pulumi.IntInput) GetPolicyDocumentRuleOutput
- func (o GetPolicyDocumentRuleArrayOutput) ToGetPolicyDocumentRuleArrayOutput() GetPolicyDocumentRuleArrayOutput
- func (o GetPolicyDocumentRuleArrayOutput) ToGetPolicyDocumentRuleArrayOutputWithContext(ctx context.Context) GetPolicyDocumentRuleArrayOutput
- type GetPolicyDocumentRuleDeniedParameter
- type GetPolicyDocumentRuleDeniedParameterArgs
- func (GetPolicyDocumentRuleDeniedParameterArgs) ElementType() reflect.Type
- func (i GetPolicyDocumentRuleDeniedParameterArgs) ToGetPolicyDocumentRuleDeniedParameterOutput() GetPolicyDocumentRuleDeniedParameterOutput
- func (i GetPolicyDocumentRuleDeniedParameterArgs) ToGetPolicyDocumentRuleDeniedParameterOutputWithContext(ctx context.Context) GetPolicyDocumentRuleDeniedParameterOutput
- type GetPolicyDocumentRuleDeniedParameterArray
- func (GetPolicyDocumentRuleDeniedParameterArray) ElementType() reflect.Type
- func (i GetPolicyDocumentRuleDeniedParameterArray) ToGetPolicyDocumentRuleDeniedParameterArrayOutput() GetPolicyDocumentRuleDeniedParameterArrayOutput
- func (i GetPolicyDocumentRuleDeniedParameterArray) ToGetPolicyDocumentRuleDeniedParameterArrayOutputWithContext(ctx context.Context) GetPolicyDocumentRuleDeniedParameterArrayOutput
- type GetPolicyDocumentRuleDeniedParameterArrayInput
- type GetPolicyDocumentRuleDeniedParameterArrayOutput
- func (GetPolicyDocumentRuleDeniedParameterArrayOutput) ElementType() reflect.Type
- func (o GetPolicyDocumentRuleDeniedParameterArrayOutput) Index(i pulumi.IntInput) GetPolicyDocumentRuleDeniedParameterOutput
- func (o GetPolicyDocumentRuleDeniedParameterArrayOutput) ToGetPolicyDocumentRuleDeniedParameterArrayOutput() GetPolicyDocumentRuleDeniedParameterArrayOutput
- func (o GetPolicyDocumentRuleDeniedParameterArrayOutput) ToGetPolicyDocumentRuleDeniedParameterArrayOutputWithContext(ctx context.Context) GetPolicyDocumentRuleDeniedParameterArrayOutput
- type GetPolicyDocumentRuleDeniedParameterInput
- type GetPolicyDocumentRuleDeniedParameterOutput
- func (GetPolicyDocumentRuleDeniedParameterOutput) ElementType() reflect.Type
- func (o GetPolicyDocumentRuleDeniedParameterOutput) Key() pulumi.StringOutput
- func (o GetPolicyDocumentRuleDeniedParameterOutput) ToGetPolicyDocumentRuleDeniedParameterOutput() GetPolicyDocumentRuleDeniedParameterOutput
- func (o GetPolicyDocumentRuleDeniedParameterOutput) ToGetPolicyDocumentRuleDeniedParameterOutputWithContext(ctx context.Context) GetPolicyDocumentRuleDeniedParameterOutput
- func (o GetPolicyDocumentRuleDeniedParameterOutput) Values() pulumi.StringArrayOutput
- type GetPolicyDocumentRuleInput
- type GetPolicyDocumentRuleOutput
- func (o GetPolicyDocumentRuleOutput) AllowedParameters() GetPolicyDocumentRuleAllowedParameterArrayOutput
- func (o GetPolicyDocumentRuleOutput) Capabilities() pulumi.StringArrayOutput
- func (o GetPolicyDocumentRuleOutput) DeniedParameters() GetPolicyDocumentRuleDeniedParameterArrayOutput
- func (o GetPolicyDocumentRuleOutput) Description() pulumi.StringPtrOutput
- func (GetPolicyDocumentRuleOutput) ElementType() reflect.Type
- func (o GetPolicyDocumentRuleOutput) MaxWrappingTtl() pulumi.StringPtrOutput
- func (o GetPolicyDocumentRuleOutput) MinWrappingTtl() pulumi.StringPtrOutput
- func (o GetPolicyDocumentRuleOutput) Path() pulumi.StringOutput
- func (o GetPolicyDocumentRuleOutput) RequiredParameters() pulumi.StringArrayOutput
- func (o GetPolicyDocumentRuleOutput) ToGetPolicyDocumentRuleOutput() GetPolicyDocumentRuleOutput
- func (o GetPolicyDocumentRuleOutput) ToGetPolicyDocumentRuleOutputWithContext(ctx context.Context) GetPolicyDocumentRuleOutput
- type GetRaftAutopilotStateArgs
- type GetRaftAutopilotStateOutputArgs
- type GetRaftAutopilotStateResult
- type GetRaftAutopilotStateResultOutput
- func (GetRaftAutopilotStateResultOutput) ElementType() reflect.Type
- func (o GetRaftAutopilotStateResultOutput) FailureTolerance() pulumi.IntOutput
- func (o GetRaftAutopilotStateResultOutput) Healthy() pulumi.BoolOutput
- func (o GetRaftAutopilotStateResultOutput) Id() pulumi.StringOutput
- func (o GetRaftAutopilotStateResultOutput) Leader() pulumi.StringOutput
- func (o GetRaftAutopilotStateResultOutput) Namespace() pulumi.StringPtrOutput
- func (o GetRaftAutopilotStateResultOutput) OptimisticFailureTolerance() pulumi.IntOutput
- func (o GetRaftAutopilotStateResultOutput) RedundancyZones() pulumi.StringMapOutput
- func (o GetRaftAutopilotStateResultOutput) RedundancyZonesJson() pulumi.StringOutput
- func (o GetRaftAutopilotStateResultOutput) Servers() pulumi.StringMapOutput
- func (o GetRaftAutopilotStateResultOutput) ServersJson() pulumi.StringOutput
- func (o GetRaftAutopilotStateResultOutput) ToGetRaftAutopilotStateResultOutput() GetRaftAutopilotStateResultOutput
- func (o GetRaftAutopilotStateResultOutput) ToGetRaftAutopilotStateResultOutputWithContext(ctx context.Context) GetRaftAutopilotStateResultOutput
- func (o GetRaftAutopilotStateResultOutput) UpgradeInfo() pulumi.StringMapOutput
- func (o GetRaftAutopilotStateResultOutput) UpgradeInfoJson() pulumi.StringOutput
- func (o GetRaftAutopilotStateResultOutput) Voters() pulumi.StringArrayOutput
- type LookupAuthBackendArgs
- type LookupAuthBackendOutputArgs
- type LookupAuthBackendResult
- type LookupAuthBackendResultOutput
- func (o LookupAuthBackendResultOutput) Accessor() pulumi.StringOutput
- func (o LookupAuthBackendResultOutput) DefaultLeaseTtlSeconds() pulumi.IntOutput
- func (o LookupAuthBackendResultOutput) Description() pulumi.StringOutput
- func (LookupAuthBackendResultOutput) ElementType() reflect.Type
- func (o LookupAuthBackendResultOutput) Id() pulumi.StringOutput
- func (o LookupAuthBackendResultOutput) ListingVisibility() pulumi.StringOutput
- func (o LookupAuthBackendResultOutput) Local() pulumi.BoolOutput
- func (o LookupAuthBackendResultOutput) MaxLeaseTtlSeconds() pulumi.IntOutput
- func (o LookupAuthBackendResultOutput) Namespace() pulumi.StringPtrOutput
- func (o LookupAuthBackendResultOutput) Path() pulumi.StringOutput
- func (o LookupAuthBackendResultOutput) ToLookupAuthBackendResultOutput() LookupAuthBackendResultOutput
- func (o LookupAuthBackendResultOutput) ToLookupAuthBackendResultOutputWithContext(ctx context.Context) LookupAuthBackendResultOutput
- func (o LookupAuthBackendResultOutput) Type() pulumi.StringOutput
- type LookupNamespaceArgs
- type LookupNamespaceOutputArgs
- type LookupNamespaceResult
- type LookupNamespaceResultOutput
- func (o LookupNamespaceResultOutput) CustomMetadata() pulumi.StringMapOutput
- func (LookupNamespaceResultOutput) ElementType() reflect.Type
- func (o LookupNamespaceResultOutput) Id() pulumi.StringOutput
- func (o LookupNamespaceResultOutput) Namespace() pulumi.StringPtrOutput
- func (o LookupNamespaceResultOutput) NamespaceId() pulumi.StringOutput
- func (o LookupNamespaceResultOutput) Path() pulumi.StringPtrOutput
- func (o LookupNamespaceResultOutput) PathFq() pulumi.StringOutput
- func (o LookupNamespaceResultOutput) ToLookupNamespaceResultOutput() LookupNamespaceResultOutput
- func (o LookupNamespaceResultOutput) ToLookupNamespaceResultOutputWithContext(ctx context.Context) LookupNamespaceResultOutput
- type MfaDuo
- type MfaDuoArgs
- type MfaDuoArray
- type MfaDuoArrayInput
- type MfaDuoArrayOutput
- type MfaDuoInput
- type MfaDuoMap
- type MfaDuoMapInput
- type MfaDuoMapOutput
- type MfaDuoOutput
- func (o MfaDuoOutput) ApiHostname() pulumi.StringOutput
- func (MfaDuoOutput) ElementType() reflect.Type
- func (o MfaDuoOutput) IntegrationKey() pulumi.StringOutput
- func (o MfaDuoOutput) MountAccessor() pulumi.StringOutput
- func (o MfaDuoOutput) Name() pulumi.StringOutput
- func (o MfaDuoOutput) Namespace() pulumi.StringPtrOutput
- func (o MfaDuoOutput) PushInfo() pulumi.StringPtrOutput
- func (o MfaDuoOutput) SecretKey() pulumi.StringOutput
- func (o MfaDuoOutput) ToMfaDuoOutput() MfaDuoOutput
- func (o MfaDuoOutput) ToMfaDuoOutputWithContext(ctx context.Context) MfaDuoOutput
- func (o MfaDuoOutput) UsernameFormat() pulumi.StringPtrOutput
- type MfaDuoState
- type MfaOkta
- type MfaOktaArgs
- type MfaOktaArray
- type MfaOktaArrayInput
- type MfaOktaArrayOutput
- type MfaOktaInput
- type MfaOktaMap
- type MfaOktaMapInput
- type MfaOktaMapOutput
- type MfaOktaOutput
- func (o MfaOktaOutput) ApiToken() pulumi.StringOutput
- func (o MfaOktaOutput) BaseUrl() pulumi.StringPtrOutput
- func (MfaOktaOutput) ElementType() reflect.Type
- func (o MfaOktaOutput) MountAccessor() pulumi.StringOutput
- func (o MfaOktaOutput) Name() pulumi.StringOutput
- func (o MfaOktaOutput) Namespace() pulumi.StringPtrOutput
- func (o MfaOktaOutput) OrgName() pulumi.StringOutput
- func (o MfaOktaOutput) PrimaryEmail() pulumi.BoolPtrOutput
- func (o MfaOktaOutput) ToMfaOktaOutput() MfaOktaOutput
- func (o MfaOktaOutput) ToMfaOktaOutputWithContext(ctx context.Context) MfaOktaOutput
- func (o MfaOktaOutput) UsernameFormat() pulumi.StringPtrOutput
- type MfaOktaState
- type MfaPingid
- type MfaPingidArgs
- type MfaPingidArray
- type MfaPingidArrayInput
- type MfaPingidArrayOutput
- func (MfaPingidArrayOutput) ElementType() reflect.Type
- func (o MfaPingidArrayOutput) Index(i pulumi.IntInput) MfaPingidOutput
- func (o MfaPingidArrayOutput) ToMfaPingidArrayOutput() MfaPingidArrayOutput
- func (o MfaPingidArrayOutput) ToMfaPingidArrayOutputWithContext(ctx context.Context) MfaPingidArrayOutput
- type MfaPingidInput
- type MfaPingidMap
- type MfaPingidMapInput
- type MfaPingidMapOutput
- type MfaPingidOutput
- func (o MfaPingidOutput) AdminUrl() pulumi.StringOutput
- func (o MfaPingidOutput) AuthenticatorUrl() pulumi.StringOutput
- func (MfaPingidOutput) ElementType() reflect.Type
- func (o MfaPingidOutput) IdpUrl() pulumi.StringOutput
- func (o MfaPingidOutput) MountAccessor() pulumi.StringOutput
- func (o MfaPingidOutput) Name() pulumi.StringOutput
- func (o MfaPingidOutput) Namespace() pulumi.StringPtrOutput
- func (o MfaPingidOutput) NamespaceId() pulumi.StringOutput
- func (o MfaPingidOutput) OrgAlias() pulumi.StringOutput
- func (o MfaPingidOutput) SettingsFileBase64() pulumi.StringOutput
- func (o MfaPingidOutput) ToMfaPingidOutput() MfaPingidOutput
- func (o MfaPingidOutput) ToMfaPingidOutputWithContext(ctx context.Context) MfaPingidOutput
- func (o MfaPingidOutput) Type() pulumi.StringOutput
- func (o MfaPingidOutput) UseSignature() pulumi.BoolOutput
- func (o MfaPingidOutput) UsernameFormat() pulumi.StringPtrOutput
- type MfaPingidState
- type MfaTotp
- type MfaTotpArgs
- type MfaTotpArray
- type MfaTotpArrayInput
- type MfaTotpArrayOutput
- type MfaTotpInput
- type MfaTotpMap
- type MfaTotpMapInput
- type MfaTotpMapOutput
- type MfaTotpOutput
- func (o MfaTotpOutput) Algorithm() pulumi.StringPtrOutput
- func (o MfaTotpOutput) Digits() pulumi.IntPtrOutput
- func (MfaTotpOutput) ElementType() reflect.Type
- func (o MfaTotpOutput) Issuer() pulumi.StringOutput
- func (o MfaTotpOutput) KeySize() pulumi.IntPtrOutput
- func (o MfaTotpOutput) Name() pulumi.StringOutput
- func (o MfaTotpOutput) Namespace() pulumi.StringPtrOutput
- func (o MfaTotpOutput) Period() pulumi.IntPtrOutput
- func (o MfaTotpOutput) QrSize() pulumi.IntPtrOutput
- func (o MfaTotpOutput) Skew() pulumi.IntPtrOutput
- func (o MfaTotpOutput) ToMfaTotpOutput() MfaTotpOutput
- func (o MfaTotpOutput) ToMfaTotpOutputWithContext(ctx context.Context) MfaTotpOutput
- type MfaTotpState
- type Mount
- type MountArgs
- type MountArray
- type MountArrayInput
- type MountArrayOutput
- type MountInput
- type MountMap
- type MountMapInput
- type MountMapOutput
- type MountOutput
- func (o MountOutput) Accessor() pulumi.StringOutput
- func (o MountOutput) AllowedManagedKeys() pulumi.StringArrayOutput
- func (o MountOutput) AllowedResponseHeaders() pulumi.StringArrayOutput
- func (o MountOutput) AuditNonHmacRequestKeys() pulumi.StringArrayOutput
- func (o MountOutput) AuditNonHmacResponseKeys() pulumi.StringArrayOutput
- func (o MountOutput) DefaultLeaseTtlSeconds() pulumi.IntOutput
- func (o MountOutput) DelegatedAuthAccessors() pulumi.StringArrayOutput
- func (o MountOutput) Description() pulumi.StringPtrOutput
- func (MountOutput) ElementType() reflect.Type
- func (o MountOutput) ExternalEntropyAccess() pulumi.BoolPtrOutput
- func (o MountOutput) IdentityTokenKey() pulumi.StringPtrOutput
- func (o MountOutput) ListingVisibility() pulumi.StringPtrOutput
- func (o MountOutput) Local() pulumi.BoolPtrOutput
- func (o MountOutput) MaxLeaseTtlSeconds() pulumi.IntOutput
- func (o MountOutput) Namespace() pulumi.StringPtrOutput
- func (o MountOutput) Options() pulumi.StringMapOutput
- func (o MountOutput) PassthroughRequestHeaders() pulumi.StringArrayOutput
- func (o MountOutput) Path() pulumi.StringOutput
- func (o MountOutput) PluginVersion() pulumi.StringPtrOutput
- func (o MountOutput) SealWrap() pulumi.BoolOutput
- func (o MountOutput) ToMountOutput() MountOutput
- func (o MountOutput) ToMountOutputWithContext(ctx context.Context) MountOutput
- func (o MountOutput) Type() pulumi.StringOutput
- type MountState
- type Namespace
- type NamespaceArgs
- type NamespaceArray
- type NamespaceArrayInput
- type NamespaceArrayOutput
- func (NamespaceArrayOutput) ElementType() reflect.Type
- func (o NamespaceArrayOutput) Index(i pulumi.IntInput) NamespaceOutput
- func (o NamespaceArrayOutput) ToNamespaceArrayOutput() NamespaceArrayOutput
- func (o NamespaceArrayOutput) ToNamespaceArrayOutputWithContext(ctx context.Context) NamespaceArrayOutput
- type NamespaceInput
- type NamespaceMap
- type NamespaceMapInput
- type NamespaceMapOutput
- type NamespaceOutput
- func (o NamespaceOutput) CustomMetadata() pulumi.StringMapOutput
- func (NamespaceOutput) ElementType() reflect.Type
- func (o NamespaceOutput) Namespace() pulumi.StringPtrOutput
- func (o NamespaceOutput) NamespaceId() pulumi.StringOutput
- func (o NamespaceOutput) Path() pulumi.StringOutput
- func (o NamespaceOutput) PathFq() pulumi.StringOutput
- func (o NamespaceOutput) ToNamespaceOutput() NamespaceOutput
- func (o NamespaceOutput) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput
- type NamespaceState
- type NomadSecretBackend
- type NomadSecretBackendArgs
- type NomadSecretBackendArray
- type NomadSecretBackendArrayInput
- type NomadSecretBackendArrayOutput
- func (NomadSecretBackendArrayOutput) ElementType() reflect.Type
- func (o NomadSecretBackendArrayOutput) Index(i pulumi.IntInput) NomadSecretBackendOutput
- func (o NomadSecretBackendArrayOutput) ToNomadSecretBackendArrayOutput() NomadSecretBackendArrayOutput
- func (o NomadSecretBackendArrayOutput) ToNomadSecretBackendArrayOutputWithContext(ctx context.Context) NomadSecretBackendArrayOutput
- type NomadSecretBackendInput
- type NomadSecretBackendMap
- type NomadSecretBackendMapInput
- type NomadSecretBackendMapOutput
- func (NomadSecretBackendMapOutput) ElementType() reflect.Type
- func (o NomadSecretBackendMapOutput) MapIndex(k pulumi.StringInput) NomadSecretBackendOutput
- func (o NomadSecretBackendMapOutput) ToNomadSecretBackendMapOutput() NomadSecretBackendMapOutput
- func (o NomadSecretBackendMapOutput) ToNomadSecretBackendMapOutputWithContext(ctx context.Context) NomadSecretBackendMapOutput
- type NomadSecretBackendOutput
- func (o NomadSecretBackendOutput) Address() pulumi.StringPtrOutput
- func (o NomadSecretBackendOutput) Backend() pulumi.StringPtrOutput
- func (o NomadSecretBackendOutput) CaCert() pulumi.StringPtrOutput
- func (o NomadSecretBackendOutput) ClientCert() pulumi.StringPtrOutput
- func (o NomadSecretBackendOutput) ClientKey() pulumi.StringPtrOutput
- func (o NomadSecretBackendOutput) DefaultLeaseTtlSeconds() pulumi.IntOutput
- func (o NomadSecretBackendOutput) Description() pulumi.StringPtrOutput
- func (o NomadSecretBackendOutput) DisableRemount() pulumi.BoolPtrOutput
- func (NomadSecretBackendOutput) ElementType() reflect.Type
- func (o NomadSecretBackendOutput) Local() pulumi.BoolPtrOutput
- func (o NomadSecretBackendOutput) MaxLeaseTtlSeconds() pulumi.IntOutput
- func (o NomadSecretBackendOutput) MaxTokenNameLength() pulumi.IntOutput
- func (o NomadSecretBackendOutput) MaxTtl() pulumi.IntOutput
- func (o NomadSecretBackendOutput) Namespace() pulumi.StringPtrOutput
- func (o NomadSecretBackendOutput) ToNomadSecretBackendOutput() NomadSecretBackendOutput
- func (o NomadSecretBackendOutput) ToNomadSecretBackendOutputWithContext(ctx context.Context) NomadSecretBackendOutput
- func (o NomadSecretBackendOutput) Token() pulumi.StringPtrOutput
- func (o NomadSecretBackendOutput) Ttl() pulumi.IntOutput
- type NomadSecretBackendState
- type NomadSecretRole
- type NomadSecretRoleArgs
- type NomadSecretRoleArray
- type NomadSecretRoleArrayInput
- type NomadSecretRoleArrayOutput
- func (NomadSecretRoleArrayOutput) ElementType() reflect.Type
- func (o NomadSecretRoleArrayOutput) Index(i pulumi.IntInput) NomadSecretRoleOutput
- func (o NomadSecretRoleArrayOutput) ToNomadSecretRoleArrayOutput() NomadSecretRoleArrayOutput
- func (o NomadSecretRoleArrayOutput) ToNomadSecretRoleArrayOutputWithContext(ctx context.Context) NomadSecretRoleArrayOutput
- type NomadSecretRoleInput
- type NomadSecretRoleMap
- type NomadSecretRoleMapInput
- type NomadSecretRoleMapOutput
- func (NomadSecretRoleMapOutput) ElementType() reflect.Type
- func (o NomadSecretRoleMapOutput) MapIndex(k pulumi.StringInput) NomadSecretRoleOutput
- func (o NomadSecretRoleMapOutput) ToNomadSecretRoleMapOutput() NomadSecretRoleMapOutput
- func (o NomadSecretRoleMapOutput) ToNomadSecretRoleMapOutputWithContext(ctx context.Context) NomadSecretRoleMapOutput
- type NomadSecretRoleOutput
- func (o NomadSecretRoleOutput) Backend() pulumi.StringOutput
- func (NomadSecretRoleOutput) ElementType() reflect.Type
- func (o NomadSecretRoleOutput) Global() pulumi.BoolOutput
- func (o NomadSecretRoleOutput) Namespace() pulumi.StringPtrOutput
- func (o NomadSecretRoleOutput) Policies() pulumi.StringArrayOutput
- func (o NomadSecretRoleOutput) Role() pulumi.StringOutput
- func (o NomadSecretRoleOutput) ToNomadSecretRoleOutput() NomadSecretRoleOutput
- func (o NomadSecretRoleOutput) ToNomadSecretRoleOutputWithContext(ctx context.Context) NomadSecretRoleOutput
- func (o NomadSecretRoleOutput) Type() pulumi.StringOutput
- type NomadSecretRoleState
- type PasswordPolicy
- type PasswordPolicyArgs
- type PasswordPolicyArray
- type PasswordPolicyArrayInput
- type PasswordPolicyArrayOutput
- func (PasswordPolicyArrayOutput) ElementType() reflect.Type
- func (o PasswordPolicyArrayOutput) Index(i pulumi.IntInput) PasswordPolicyOutput
- func (o PasswordPolicyArrayOutput) ToPasswordPolicyArrayOutput() PasswordPolicyArrayOutput
- func (o PasswordPolicyArrayOutput) ToPasswordPolicyArrayOutputWithContext(ctx context.Context) PasswordPolicyArrayOutput
- type PasswordPolicyInput
- type PasswordPolicyMap
- type PasswordPolicyMapInput
- type PasswordPolicyMapOutput
- func (PasswordPolicyMapOutput) ElementType() reflect.Type
- func (o PasswordPolicyMapOutput) MapIndex(k pulumi.StringInput) PasswordPolicyOutput
- func (o PasswordPolicyMapOutput) ToPasswordPolicyMapOutput() PasswordPolicyMapOutput
- func (o PasswordPolicyMapOutput) ToPasswordPolicyMapOutputWithContext(ctx context.Context) PasswordPolicyMapOutput
- type PasswordPolicyOutput
- func (PasswordPolicyOutput) ElementType() reflect.Type
- func (o PasswordPolicyOutput) Name() pulumi.StringOutput
- func (o PasswordPolicyOutput) Namespace() pulumi.StringPtrOutput
- func (o PasswordPolicyOutput) Policy() pulumi.StringOutput
- func (o PasswordPolicyOutput) ToPasswordPolicyOutput() PasswordPolicyOutput
- func (o PasswordPolicyOutput) ToPasswordPolicyOutputWithContext(ctx context.Context) PasswordPolicyOutput
- type PasswordPolicyState
- type Plugin
- type PluginArgs
- type PluginArray
- type PluginArrayInput
- type PluginArrayOutput
- type PluginInput
- type PluginMap
- type PluginMapInput
- type PluginMapOutput
- type PluginOutput
- func (o PluginOutput) Args() pulumi.StringArrayOutput
- func (o PluginOutput) Command() pulumi.StringOutput
- func (PluginOutput) ElementType() reflect.Type
- func (o PluginOutput) Envs() pulumi.StringArrayOutput
- func (o PluginOutput) Name() pulumi.StringOutput
- func (o PluginOutput) OciImage() pulumi.StringPtrOutput
- func (o PluginOutput) Runtime() pulumi.StringPtrOutput
- func (o PluginOutput) Sha256() pulumi.StringOutput
- func (o PluginOutput) ToPluginOutput() PluginOutput
- func (o PluginOutput) ToPluginOutputWithContext(ctx context.Context) PluginOutput
- func (o PluginOutput) Type() pulumi.StringOutput
- func (o PluginOutput) Version() pulumi.StringPtrOutput
- type PluginPinnedVersion
- type PluginPinnedVersionArgs
- type PluginPinnedVersionArray
- type PluginPinnedVersionArrayInput
- type PluginPinnedVersionArrayOutput
- func (PluginPinnedVersionArrayOutput) ElementType() reflect.Type
- func (o PluginPinnedVersionArrayOutput) Index(i pulumi.IntInput) PluginPinnedVersionOutput
- func (o PluginPinnedVersionArrayOutput) ToPluginPinnedVersionArrayOutput() PluginPinnedVersionArrayOutput
- func (o PluginPinnedVersionArrayOutput) ToPluginPinnedVersionArrayOutputWithContext(ctx context.Context) PluginPinnedVersionArrayOutput
- type PluginPinnedVersionInput
- type PluginPinnedVersionMap
- type PluginPinnedVersionMapInput
- type PluginPinnedVersionMapOutput
- func (PluginPinnedVersionMapOutput) ElementType() reflect.Type
- func (o PluginPinnedVersionMapOutput) MapIndex(k pulumi.StringInput) PluginPinnedVersionOutput
- func (o PluginPinnedVersionMapOutput) ToPluginPinnedVersionMapOutput() PluginPinnedVersionMapOutput
- func (o PluginPinnedVersionMapOutput) ToPluginPinnedVersionMapOutputWithContext(ctx context.Context) PluginPinnedVersionMapOutput
- type PluginPinnedVersionOutput
- func (PluginPinnedVersionOutput) ElementType() reflect.Type
- func (o PluginPinnedVersionOutput) Name() pulumi.StringOutput
- func (o PluginPinnedVersionOutput) ToPluginPinnedVersionOutput() PluginPinnedVersionOutput
- func (o PluginPinnedVersionOutput) ToPluginPinnedVersionOutputWithContext(ctx context.Context) PluginPinnedVersionOutput
- func (o PluginPinnedVersionOutput) Type() pulumi.StringOutput
- func (o PluginPinnedVersionOutput) Version() pulumi.StringOutput
- type PluginPinnedVersionState
- type PluginState
- type Policy
- type PolicyArgs
- type PolicyArray
- type PolicyArrayInput
- type PolicyArrayOutput
- type PolicyInput
- type PolicyMap
- type PolicyMapInput
- type PolicyMapOutput
- type PolicyOutput
- func (PolicyOutput) ElementType() reflect.Type
- func (o PolicyOutput) Name() pulumi.StringOutput
- func (o PolicyOutput) Namespace() pulumi.StringPtrOutput
- func (o PolicyOutput) Policy() pulumi.StringOutput
- func (o PolicyOutput) ToPolicyOutput() PolicyOutput
- func (o PolicyOutput) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
- type PolicyState
- type Provider
- type ProviderArgs
- type ProviderAuthLogin
- type ProviderAuthLoginArgs
- func (ProviderAuthLoginArgs) ElementType() reflect.Type
- func (i ProviderAuthLoginArgs) ToProviderAuthLoginOutput() ProviderAuthLoginOutput
- func (i ProviderAuthLoginArgs) ToProviderAuthLoginOutputWithContext(ctx context.Context) ProviderAuthLoginOutput
- func (i ProviderAuthLoginArgs) ToProviderAuthLoginPtrOutput() ProviderAuthLoginPtrOutput
- func (i ProviderAuthLoginArgs) ToProviderAuthLoginPtrOutputWithContext(ctx context.Context) ProviderAuthLoginPtrOutput
- type ProviderAuthLoginAws
- type ProviderAuthLoginAwsArgs
- func (ProviderAuthLoginAwsArgs) ElementType() reflect.Type
- func (i ProviderAuthLoginAwsArgs) ToProviderAuthLoginAwsOutput() ProviderAuthLoginAwsOutput
- func (i ProviderAuthLoginAwsArgs) ToProviderAuthLoginAwsOutputWithContext(ctx context.Context) ProviderAuthLoginAwsOutput
- func (i ProviderAuthLoginAwsArgs) ToProviderAuthLoginAwsPtrOutput() ProviderAuthLoginAwsPtrOutput
- func (i ProviderAuthLoginAwsArgs) ToProviderAuthLoginAwsPtrOutputWithContext(ctx context.Context) ProviderAuthLoginAwsPtrOutput
- type ProviderAuthLoginAwsInput
- type ProviderAuthLoginAwsOutput
- func (o ProviderAuthLoginAwsOutput) AwsAccessKeyId() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsOutput) AwsIamEndpoint() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsOutput) AwsProfile() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsOutput) AwsRegion() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsOutput) AwsRoleArn() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsOutput) AwsRoleSessionName() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsOutput) AwsSecretAccessKey() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsOutput) AwsSessionToken() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsOutput) AwsSharedCredentialsFile() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsOutput) AwsStsEndpoint() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsOutput) AwsWebIdentityTokenFile() pulumi.StringPtrOutput
- func (ProviderAuthLoginAwsOutput) ElementType() reflect.Type
- func (o ProviderAuthLoginAwsOutput) HeaderValue() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsOutput) Mount() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsOutput) Namespace() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsOutput) Role() pulumi.StringOutput
- func (o ProviderAuthLoginAwsOutput) ToProviderAuthLoginAwsOutput() ProviderAuthLoginAwsOutput
- func (o ProviderAuthLoginAwsOutput) ToProviderAuthLoginAwsOutputWithContext(ctx context.Context) ProviderAuthLoginAwsOutput
- func (o ProviderAuthLoginAwsOutput) ToProviderAuthLoginAwsPtrOutput() ProviderAuthLoginAwsPtrOutput
- func (o ProviderAuthLoginAwsOutput) ToProviderAuthLoginAwsPtrOutputWithContext(ctx context.Context) ProviderAuthLoginAwsPtrOutput
- func (o ProviderAuthLoginAwsOutput) UseRootNamespace() pulumi.BoolPtrOutput
- type ProviderAuthLoginAwsPtrInput
- type ProviderAuthLoginAwsPtrOutput
- func (o ProviderAuthLoginAwsPtrOutput) AwsAccessKeyId() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsPtrOutput) AwsIamEndpoint() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsPtrOutput) AwsProfile() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsPtrOutput) AwsRegion() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsPtrOutput) AwsRoleArn() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsPtrOutput) AwsRoleSessionName() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsPtrOutput) AwsSecretAccessKey() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsPtrOutput) AwsSessionToken() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsPtrOutput) AwsSharedCredentialsFile() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsPtrOutput) AwsStsEndpoint() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsPtrOutput) AwsWebIdentityTokenFile() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsPtrOutput) Elem() ProviderAuthLoginAwsOutput
- func (ProviderAuthLoginAwsPtrOutput) ElementType() reflect.Type
- func (o ProviderAuthLoginAwsPtrOutput) HeaderValue() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsPtrOutput) Mount() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsPtrOutput) Namespace() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsPtrOutput) Role() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAwsPtrOutput) ToProviderAuthLoginAwsPtrOutput() ProviderAuthLoginAwsPtrOutput
- func (o ProviderAuthLoginAwsPtrOutput) ToProviderAuthLoginAwsPtrOutputWithContext(ctx context.Context) ProviderAuthLoginAwsPtrOutput
- func (o ProviderAuthLoginAwsPtrOutput) UseRootNamespace() pulumi.BoolPtrOutput
- type ProviderAuthLoginAzure
- type ProviderAuthLoginAzureArgs
- func (ProviderAuthLoginAzureArgs) ElementType() reflect.Type
- func (i ProviderAuthLoginAzureArgs) ToProviderAuthLoginAzureOutput() ProviderAuthLoginAzureOutput
- func (i ProviderAuthLoginAzureArgs) ToProviderAuthLoginAzureOutputWithContext(ctx context.Context) ProviderAuthLoginAzureOutput
- func (i ProviderAuthLoginAzureArgs) ToProviderAuthLoginAzurePtrOutput() ProviderAuthLoginAzurePtrOutput
- func (i ProviderAuthLoginAzureArgs) ToProviderAuthLoginAzurePtrOutputWithContext(ctx context.Context) ProviderAuthLoginAzurePtrOutput
- type ProviderAuthLoginAzureInput
- type ProviderAuthLoginAzureOutput
- func (o ProviderAuthLoginAzureOutput) ClientId() pulumi.StringPtrOutput
- func (ProviderAuthLoginAzureOutput) ElementType() reflect.Type
- func (o ProviderAuthLoginAzureOutput) Jwt() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAzureOutput) Mount() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAzureOutput) Namespace() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAzureOutput) ResourceGroupName() pulumi.StringOutput
- func (o ProviderAuthLoginAzureOutput) Role() pulumi.StringOutput
- func (o ProviderAuthLoginAzureOutput) Scope() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAzureOutput) SubscriptionId() pulumi.StringOutput
- func (o ProviderAuthLoginAzureOutput) TenantId() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAzureOutput) ToProviderAuthLoginAzureOutput() ProviderAuthLoginAzureOutput
- func (o ProviderAuthLoginAzureOutput) ToProviderAuthLoginAzureOutputWithContext(ctx context.Context) ProviderAuthLoginAzureOutput
- func (o ProviderAuthLoginAzureOutput) ToProviderAuthLoginAzurePtrOutput() ProviderAuthLoginAzurePtrOutput
- func (o ProviderAuthLoginAzureOutput) ToProviderAuthLoginAzurePtrOutputWithContext(ctx context.Context) ProviderAuthLoginAzurePtrOutput
- func (o ProviderAuthLoginAzureOutput) UseRootNamespace() pulumi.BoolPtrOutput
- func (o ProviderAuthLoginAzureOutput) VmName() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAzureOutput) VmssName() pulumi.StringPtrOutput
- type ProviderAuthLoginAzurePtrInput
- type ProviderAuthLoginAzurePtrOutput
- func (o ProviderAuthLoginAzurePtrOutput) ClientId() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAzurePtrOutput) Elem() ProviderAuthLoginAzureOutput
- func (ProviderAuthLoginAzurePtrOutput) ElementType() reflect.Type
- func (o ProviderAuthLoginAzurePtrOutput) Jwt() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAzurePtrOutput) Mount() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAzurePtrOutput) Namespace() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAzurePtrOutput) ResourceGroupName() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAzurePtrOutput) Role() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAzurePtrOutput) Scope() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAzurePtrOutput) SubscriptionId() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAzurePtrOutput) TenantId() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAzurePtrOutput) ToProviderAuthLoginAzurePtrOutput() ProviderAuthLoginAzurePtrOutput
- func (o ProviderAuthLoginAzurePtrOutput) ToProviderAuthLoginAzurePtrOutputWithContext(ctx context.Context) ProviderAuthLoginAzurePtrOutput
- func (o ProviderAuthLoginAzurePtrOutput) UseRootNamespace() pulumi.BoolPtrOutput
- func (o ProviderAuthLoginAzurePtrOutput) VmName() pulumi.StringPtrOutput
- func (o ProviderAuthLoginAzurePtrOutput) VmssName() pulumi.StringPtrOutput
- type ProviderAuthLoginCert
- type ProviderAuthLoginCertArgs
- func (ProviderAuthLoginCertArgs) ElementType() reflect.Type
- func (i ProviderAuthLoginCertArgs) ToProviderAuthLoginCertOutput() ProviderAuthLoginCertOutput
- func (i ProviderAuthLoginCertArgs) ToProviderAuthLoginCertOutputWithContext(ctx context.Context) ProviderAuthLoginCertOutput
- func (i ProviderAuthLoginCertArgs) ToProviderAuthLoginCertPtrOutput() ProviderAuthLoginCertPtrOutput
- func (i ProviderAuthLoginCertArgs) ToProviderAuthLoginCertPtrOutputWithContext(ctx context.Context) ProviderAuthLoginCertPtrOutput
- type ProviderAuthLoginCertInput
- type ProviderAuthLoginCertOutput
- func (o ProviderAuthLoginCertOutput) CertFile() pulumi.StringOutput
- func (ProviderAuthLoginCertOutput) ElementType() reflect.Type
- func (o ProviderAuthLoginCertOutput) KeyFile() pulumi.StringOutput
- func (o ProviderAuthLoginCertOutput) Mount() pulumi.StringPtrOutput
- func (o ProviderAuthLoginCertOutput) Name() pulumi.StringPtrOutput
- func (o ProviderAuthLoginCertOutput) Namespace() pulumi.StringPtrOutput
- func (o ProviderAuthLoginCertOutput) ToProviderAuthLoginCertOutput() ProviderAuthLoginCertOutput
- func (o ProviderAuthLoginCertOutput) ToProviderAuthLoginCertOutputWithContext(ctx context.Context) ProviderAuthLoginCertOutput
- func (o ProviderAuthLoginCertOutput) ToProviderAuthLoginCertPtrOutput() ProviderAuthLoginCertPtrOutput
- func (o ProviderAuthLoginCertOutput) ToProviderAuthLoginCertPtrOutputWithContext(ctx context.Context) ProviderAuthLoginCertPtrOutput
- func (o ProviderAuthLoginCertOutput) UseRootNamespace() pulumi.BoolPtrOutput
- type ProviderAuthLoginCertPtrInput
- type ProviderAuthLoginCertPtrOutput
- func (o ProviderAuthLoginCertPtrOutput) CertFile() pulumi.StringPtrOutput
- func (o ProviderAuthLoginCertPtrOutput) Elem() ProviderAuthLoginCertOutput
- func (ProviderAuthLoginCertPtrOutput) ElementType() reflect.Type
- func (o ProviderAuthLoginCertPtrOutput) KeyFile() pulumi.StringPtrOutput
- func (o ProviderAuthLoginCertPtrOutput) Mount() pulumi.StringPtrOutput
- func (o ProviderAuthLoginCertPtrOutput) Name() pulumi.StringPtrOutput
- func (o ProviderAuthLoginCertPtrOutput) Namespace() pulumi.StringPtrOutput
- func (o ProviderAuthLoginCertPtrOutput) ToProviderAuthLoginCertPtrOutput() ProviderAuthLoginCertPtrOutput
- func (o ProviderAuthLoginCertPtrOutput) ToProviderAuthLoginCertPtrOutputWithContext(ctx context.Context) ProviderAuthLoginCertPtrOutput
- func (o ProviderAuthLoginCertPtrOutput) UseRootNamespace() pulumi.BoolPtrOutput
- type ProviderAuthLoginGcp
- type ProviderAuthLoginGcpArgs
- func (ProviderAuthLoginGcpArgs) ElementType() reflect.Type
- func (i ProviderAuthLoginGcpArgs) ToProviderAuthLoginGcpOutput() ProviderAuthLoginGcpOutput
- func (i ProviderAuthLoginGcpArgs) ToProviderAuthLoginGcpOutputWithContext(ctx context.Context) ProviderAuthLoginGcpOutput
- func (i ProviderAuthLoginGcpArgs) ToProviderAuthLoginGcpPtrOutput() ProviderAuthLoginGcpPtrOutput
- func (i ProviderAuthLoginGcpArgs) ToProviderAuthLoginGcpPtrOutputWithContext(ctx context.Context) ProviderAuthLoginGcpPtrOutput
- type ProviderAuthLoginGcpInput
- type ProviderAuthLoginGcpOutput
- func (o ProviderAuthLoginGcpOutput) Credentials() pulumi.StringPtrOutput
- func (ProviderAuthLoginGcpOutput) ElementType() reflect.Type
- func (o ProviderAuthLoginGcpOutput) Jwt() pulumi.StringPtrOutput
- func (o ProviderAuthLoginGcpOutput) Mount() pulumi.StringPtrOutput
- func (o ProviderAuthLoginGcpOutput) Namespace() pulumi.StringPtrOutput
- func (o ProviderAuthLoginGcpOutput) Role() pulumi.StringOutput
- func (o ProviderAuthLoginGcpOutput) ServiceAccount() pulumi.StringPtrOutput
- func (o ProviderAuthLoginGcpOutput) ToProviderAuthLoginGcpOutput() ProviderAuthLoginGcpOutput
- func (o ProviderAuthLoginGcpOutput) ToProviderAuthLoginGcpOutputWithContext(ctx context.Context) ProviderAuthLoginGcpOutput
- func (o ProviderAuthLoginGcpOutput) ToProviderAuthLoginGcpPtrOutput() ProviderAuthLoginGcpPtrOutput
- func (o ProviderAuthLoginGcpOutput) ToProviderAuthLoginGcpPtrOutputWithContext(ctx context.Context) ProviderAuthLoginGcpPtrOutput
- func (o ProviderAuthLoginGcpOutput) UseRootNamespace() pulumi.BoolPtrOutput
- type ProviderAuthLoginGcpPtrInput
- type ProviderAuthLoginGcpPtrOutput
- func (o ProviderAuthLoginGcpPtrOutput) Credentials() pulumi.StringPtrOutput
- func (o ProviderAuthLoginGcpPtrOutput) Elem() ProviderAuthLoginGcpOutput
- func (ProviderAuthLoginGcpPtrOutput) ElementType() reflect.Type
- func (o ProviderAuthLoginGcpPtrOutput) Jwt() pulumi.StringPtrOutput
- func (o ProviderAuthLoginGcpPtrOutput) Mount() pulumi.StringPtrOutput
- func (o ProviderAuthLoginGcpPtrOutput) Namespace() pulumi.StringPtrOutput
- func (o ProviderAuthLoginGcpPtrOutput) Role() pulumi.StringPtrOutput
- func (o ProviderAuthLoginGcpPtrOutput) ServiceAccount() pulumi.StringPtrOutput
- func (o ProviderAuthLoginGcpPtrOutput) ToProviderAuthLoginGcpPtrOutput() ProviderAuthLoginGcpPtrOutput
- func (o ProviderAuthLoginGcpPtrOutput) ToProviderAuthLoginGcpPtrOutputWithContext(ctx context.Context) ProviderAuthLoginGcpPtrOutput
- func (o ProviderAuthLoginGcpPtrOutput) UseRootNamespace() pulumi.BoolPtrOutput
- type ProviderAuthLoginInput
- type ProviderAuthLoginJwt
- type ProviderAuthLoginJwtArgs
- func (ProviderAuthLoginJwtArgs) ElementType() reflect.Type
- func (i ProviderAuthLoginJwtArgs) ToProviderAuthLoginJwtOutput() ProviderAuthLoginJwtOutput
- func (i ProviderAuthLoginJwtArgs) ToProviderAuthLoginJwtOutputWithContext(ctx context.Context) ProviderAuthLoginJwtOutput
- func (i ProviderAuthLoginJwtArgs) ToProviderAuthLoginJwtPtrOutput() ProviderAuthLoginJwtPtrOutput
- func (i ProviderAuthLoginJwtArgs) ToProviderAuthLoginJwtPtrOutputWithContext(ctx context.Context) ProviderAuthLoginJwtPtrOutput
- type ProviderAuthLoginJwtInput
- type ProviderAuthLoginJwtOutput
- func (ProviderAuthLoginJwtOutput) ElementType() reflect.Type
- func (o ProviderAuthLoginJwtOutput) Jwt() pulumi.StringOutput
- func (o ProviderAuthLoginJwtOutput) Mount() pulumi.StringPtrOutput
- func (o ProviderAuthLoginJwtOutput) Namespace() pulumi.StringPtrOutput
- func (o ProviderAuthLoginJwtOutput) Role() pulumi.StringOutput
- func (o ProviderAuthLoginJwtOutput) ToProviderAuthLoginJwtOutput() ProviderAuthLoginJwtOutput
- func (o ProviderAuthLoginJwtOutput) ToProviderAuthLoginJwtOutputWithContext(ctx context.Context) ProviderAuthLoginJwtOutput
- func (o ProviderAuthLoginJwtOutput) ToProviderAuthLoginJwtPtrOutput() ProviderAuthLoginJwtPtrOutput
- func (o ProviderAuthLoginJwtOutput) ToProviderAuthLoginJwtPtrOutputWithContext(ctx context.Context) ProviderAuthLoginJwtPtrOutput
- func (o ProviderAuthLoginJwtOutput) UseRootNamespace() pulumi.BoolPtrOutput
- type ProviderAuthLoginJwtPtrInput
- type ProviderAuthLoginJwtPtrOutput
- func (o ProviderAuthLoginJwtPtrOutput) Elem() ProviderAuthLoginJwtOutput
- func (ProviderAuthLoginJwtPtrOutput) ElementType() reflect.Type
- func (o ProviderAuthLoginJwtPtrOutput) Jwt() pulumi.StringPtrOutput
- func (o ProviderAuthLoginJwtPtrOutput) Mount() pulumi.StringPtrOutput
- func (o ProviderAuthLoginJwtPtrOutput) Namespace() pulumi.StringPtrOutput
- func (o ProviderAuthLoginJwtPtrOutput) Role() pulumi.StringPtrOutput
- func (o ProviderAuthLoginJwtPtrOutput) ToProviderAuthLoginJwtPtrOutput() ProviderAuthLoginJwtPtrOutput
- func (o ProviderAuthLoginJwtPtrOutput) ToProviderAuthLoginJwtPtrOutputWithContext(ctx context.Context) ProviderAuthLoginJwtPtrOutput
- func (o ProviderAuthLoginJwtPtrOutput) UseRootNamespace() pulumi.BoolPtrOutput
- type ProviderAuthLoginKerberos
- type ProviderAuthLoginKerberosArgs
- func (ProviderAuthLoginKerberosArgs) ElementType() reflect.Type
- func (i ProviderAuthLoginKerberosArgs) ToProviderAuthLoginKerberosOutput() ProviderAuthLoginKerberosOutput
- func (i ProviderAuthLoginKerberosArgs) ToProviderAuthLoginKerberosOutputWithContext(ctx context.Context) ProviderAuthLoginKerberosOutput
- func (i ProviderAuthLoginKerberosArgs) ToProviderAuthLoginKerberosPtrOutput() ProviderAuthLoginKerberosPtrOutput
- func (i ProviderAuthLoginKerberosArgs) ToProviderAuthLoginKerberosPtrOutputWithContext(ctx context.Context) ProviderAuthLoginKerberosPtrOutput
- type ProviderAuthLoginKerberosInput
- type ProviderAuthLoginKerberosOutput
- func (o ProviderAuthLoginKerberosOutput) DisableFastNegotiation() pulumi.BoolPtrOutput
- func (ProviderAuthLoginKerberosOutput) ElementType() reflect.Type
- func (o ProviderAuthLoginKerberosOutput) KeytabPath() pulumi.StringPtrOutput
- func (o ProviderAuthLoginKerberosOutput) Krb5confPath() pulumi.StringPtrOutput
- func (o ProviderAuthLoginKerberosOutput) Mount() pulumi.StringPtrOutput
- func (o ProviderAuthLoginKerberosOutput) Namespace() pulumi.StringPtrOutput
- func (o ProviderAuthLoginKerberosOutput) Realm() pulumi.StringPtrOutput
- func (o ProviderAuthLoginKerberosOutput) RemoveInstanceName() pulumi.BoolPtrOutput
- func (o ProviderAuthLoginKerberosOutput) Service() pulumi.StringPtrOutput
- func (o ProviderAuthLoginKerberosOutput) ToProviderAuthLoginKerberosOutput() ProviderAuthLoginKerberosOutput
- func (o ProviderAuthLoginKerberosOutput) ToProviderAuthLoginKerberosOutputWithContext(ctx context.Context) ProviderAuthLoginKerberosOutput
- func (o ProviderAuthLoginKerberosOutput) ToProviderAuthLoginKerberosPtrOutput() ProviderAuthLoginKerberosPtrOutput
- func (o ProviderAuthLoginKerberosOutput) ToProviderAuthLoginKerberosPtrOutputWithContext(ctx context.Context) ProviderAuthLoginKerberosPtrOutput
- func (o ProviderAuthLoginKerberosOutput) Token() pulumi.StringPtrOutput
- func (o ProviderAuthLoginKerberosOutput) UseRootNamespace() pulumi.BoolPtrOutput
- func (o ProviderAuthLoginKerberosOutput) Username() pulumi.StringPtrOutput
- type ProviderAuthLoginKerberosPtrInput
- type ProviderAuthLoginKerberosPtrOutput
- func (o ProviderAuthLoginKerberosPtrOutput) DisableFastNegotiation() pulumi.BoolPtrOutput
- func (o ProviderAuthLoginKerberosPtrOutput) Elem() ProviderAuthLoginKerberosOutput
- func (ProviderAuthLoginKerberosPtrOutput) ElementType() reflect.Type
- func (o ProviderAuthLoginKerberosPtrOutput) KeytabPath() pulumi.StringPtrOutput
- func (o ProviderAuthLoginKerberosPtrOutput) Krb5confPath() pulumi.StringPtrOutput
- func (o ProviderAuthLoginKerberosPtrOutput) Mount() pulumi.StringPtrOutput
- func (o ProviderAuthLoginKerberosPtrOutput) Namespace() pulumi.StringPtrOutput
- func (o ProviderAuthLoginKerberosPtrOutput) Realm() pulumi.StringPtrOutput
- func (o ProviderAuthLoginKerberosPtrOutput) RemoveInstanceName() pulumi.BoolPtrOutput
- func (o ProviderAuthLoginKerberosPtrOutput) Service() pulumi.StringPtrOutput
- func (o ProviderAuthLoginKerberosPtrOutput) ToProviderAuthLoginKerberosPtrOutput() ProviderAuthLoginKerberosPtrOutput
- func (o ProviderAuthLoginKerberosPtrOutput) ToProviderAuthLoginKerberosPtrOutputWithContext(ctx context.Context) ProviderAuthLoginKerberosPtrOutput
- func (o ProviderAuthLoginKerberosPtrOutput) Token() pulumi.StringPtrOutput
- func (o ProviderAuthLoginKerberosPtrOutput) UseRootNamespace() pulumi.BoolPtrOutput
- func (o ProviderAuthLoginKerberosPtrOutput) Username() pulumi.StringPtrOutput
- type ProviderAuthLoginOci
- type ProviderAuthLoginOciArgs
- func (ProviderAuthLoginOciArgs) ElementType() reflect.Type
- func (i ProviderAuthLoginOciArgs) ToProviderAuthLoginOciOutput() ProviderAuthLoginOciOutput
- func (i ProviderAuthLoginOciArgs) ToProviderAuthLoginOciOutputWithContext(ctx context.Context) ProviderAuthLoginOciOutput
- func (i ProviderAuthLoginOciArgs) ToProviderAuthLoginOciPtrOutput() ProviderAuthLoginOciPtrOutput
- func (i ProviderAuthLoginOciArgs) ToProviderAuthLoginOciPtrOutputWithContext(ctx context.Context) ProviderAuthLoginOciPtrOutput
- type ProviderAuthLoginOciInput
- type ProviderAuthLoginOciOutput
- func (o ProviderAuthLoginOciOutput) AuthType() pulumi.StringOutput
- func (ProviderAuthLoginOciOutput) ElementType() reflect.Type
- func (o ProviderAuthLoginOciOutput) Mount() pulumi.StringPtrOutput
- func (o ProviderAuthLoginOciOutput) Namespace() pulumi.StringPtrOutput
- func (o ProviderAuthLoginOciOutput) Role() pulumi.StringOutput
- func (o ProviderAuthLoginOciOutput) ToProviderAuthLoginOciOutput() ProviderAuthLoginOciOutput
- func (o ProviderAuthLoginOciOutput) ToProviderAuthLoginOciOutputWithContext(ctx context.Context) ProviderAuthLoginOciOutput
- func (o ProviderAuthLoginOciOutput) ToProviderAuthLoginOciPtrOutput() ProviderAuthLoginOciPtrOutput
- func (o ProviderAuthLoginOciOutput) ToProviderAuthLoginOciPtrOutputWithContext(ctx context.Context) ProviderAuthLoginOciPtrOutput
- func (o ProviderAuthLoginOciOutput) UseRootNamespace() pulumi.BoolPtrOutput
- type ProviderAuthLoginOciPtrInput
- type ProviderAuthLoginOciPtrOutput
- func (o ProviderAuthLoginOciPtrOutput) AuthType() pulumi.StringPtrOutput
- func (o ProviderAuthLoginOciPtrOutput) Elem() ProviderAuthLoginOciOutput
- func (ProviderAuthLoginOciPtrOutput) ElementType() reflect.Type
- func (o ProviderAuthLoginOciPtrOutput) Mount() pulumi.StringPtrOutput
- func (o ProviderAuthLoginOciPtrOutput) Namespace() pulumi.StringPtrOutput
- func (o ProviderAuthLoginOciPtrOutput) Role() pulumi.StringPtrOutput
- func (o ProviderAuthLoginOciPtrOutput) ToProviderAuthLoginOciPtrOutput() ProviderAuthLoginOciPtrOutput
- func (o ProviderAuthLoginOciPtrOutput) ToProviderAuthLoginOciPtrOutputWithContext(ctx context.Context) ProviderAuthLoginOciPtrOutput
- func (o ProviderAuthLoginOciPtrOutput) UseRootNamespace() pulumi.BoolPtrOutput
- type ProviderAuthLoginOidc
- type ProviderAuthLoginOidcArgs
- func (ProviderAuthLoginOidcArgs) ElementType() reflect.Type
- func (i ProviderAuthLoginOidcArgs) ToProviderAuthLoginOidcOutput() ProviderAuthLoginOidcOutput
- func (i ProviderAuthLoginOidcArgs) ToProviderAuthLoginOidcOutputWithContext(ctx context.Context) ProviderAuthLoginOidcOutput
- func (i ProviderAuthLoginOidcArgs) ToProviderAuthLoginOidcPtrOutput() ProviderAuthLoginOidcPtrOutput
- func (i ProviderAuthLoginOidcArgs) ToProviderAuthLoginOidcPtrOutputWithContext(ctx context.Context) ProviderAuthLoginOidcPtrOutput
- type ProviderAuthLoginOidcInput
- type ProviderAuthLoginOidcOutput
- func (o ProviderAuthLoginOidcOutput) CallbackAddress() pulumi.StringPtrOutput
- func (o ProviderAuthLoginOidcOutput) CallbackListenerAddress() pulumi.StringPtrOutput
- func (ProviderAuthLoginOidcOutput) ElementType() reflect.Type
- func (o ProviderAuthLoginOidcOutput) Mount() pulumi.StringPtrOutput
- func (o ProviderAuthLoginOidcOutput) Namespace() pulumi.StringPtrOutput
- func (o ProviderAuthLoginOidcOutput) Role() pulumi.StringOutput
- func (o ProviderAuthLoginOidcOutput) ToProviderAuthLoginOidcOutput() ProviderAuthLoginOidcOutput
- func (o ProviderAuthLoginOidcOutput) ToProviderAuthLoginOidcOutputWithContext(ctx context.Context) ProviderAuthLoginOidcOutput
- func (o ProviderAuthLoginOidcOutput) ToProviderAuthLoginOidcPtrOutput() ProviderAuthLoginOidcPtrOutput
- func (o ProviderAuthLoginOidcOutput) ToProviderAuthLoginOidcPtrOutputWithContext(ctx context.Context) ProviderAuthLoginOidcPtrOutput
- func (o ProviderAuthLoginOidcOutput) UseRootNamespace() pulumi.BoolPtrOutput
- type ProviderAuthLoginOidcPtrInput
- type ProviderAuthLoginOidcPtrOutput
- func (o ProviderAuthLoginOidcPtrOutput) CallbackAddress() pulumi.StringPtrOutput
- func (o ProviderAuthLoginOidcPtrOutput) CallbackListenerAddress() pulumi.StringPtrOutput
- func (o ProviderAuthLoginOidcPtrOutput) Elem() ProviderAuthLoginOidcOutput
- func (ProviderAuthLoginOidcPtrOutput) ElementType() reflect.Type
- func (o ProviderAuthLoginOidcPtrOutput) Mount() pulumi.StringPtrOutput
- func (o ProviderAuthLoginOidcPtrOutput) Namespace() pulumi.StringPtrOutput
- func (o ProviderAuthLoginOidcPtrOutput) Role() pulumi.StringPtrOutput
- func (o ProviderAuthLoginOidcPtrOutput) ToProviderAuthLoginOidcPtrOutput() ProviderAuthLoginOidcPtrOutput
- func (o ProviderAuthLoginOidcPtrOutput) ToProviderAuthLoginOidcPtrOutputWithContext(ctx context.Context) ProviderAuthLoginOidcPtrOutput
- func (o ProviderAuthLoginOidcPtrOutput) UseRootNamespace() pulumi.BoolPtrOutput
- type ProviderAuthLoginOutput
- func (ProviderAuthLoginOutput) ElementType() reflect.Type
- func (o ProviderAuthLoginOutput) Method() pulumi.StringPtrOutput
- func (o ProviderAuthLoginOutput) Namespace() pulumi.StringPtrOutput
- func (o ProviderAuthLoginOutput) Parameters() pulumi.StringMapOutput
- func (o ProviderAuthLoginOutput) Path() pulumi.StringOutput
- func (o ProviderAuthLoginOutput) ToProviderAuthLoginOutput() ProviderAuthLoginOutput
- func (o ProviderAuthLoginOutput) ToProviderAuthLoginOutputWithContext(ctx context.Context) ProviderAuthLoginOutput
- func (o ProviderAuthLoginOutput) ToProviderAuthLoginPtrOutput() ProviderAuthLoginPtrOutput
- func (o ProviderAuthLoginOutput) ToProviderAuthLoginPtrOutputWithContext(ctx context.Context) ProviderAuthLoginPtrOutput
- func (o ProviderAuthLoginOutput) UseRootNamespace() pulumi.BoolPtrOutput
- type ProviderAuthLoginPtrInput
- type ProviderAuthLoginPtrOutput
- func (o ProviderAuthLoginPtrOutput) Elem() ProviderAuthLoginOutput
- func (ProviderAuthLoginPtrOutput) ElementType() reflect.Type
- func (o ProviderAuthLoginPtrOutput) Method() pulumi.StringPtrOutput
- func (o ProviderAuthLoginPtrOutput) Namespace() pulumi.StringPtrOutput
- func (o ProviderAuthLoginPtrOutput) Parameters() pulumi.StringMapOutput
- func (o ProviderAuthLoginPtrOutput) Path() pulumi.StringPtrOutput
- func (o ProviderAuthLoginPtrOutput) ToProviderAuthLoginPtrOutput() ProviderAuthLoginPtrOutput
- func (o ProviderAuthLoginPtrOutput) ToProviderAuthLoginPtrOutputWithContext(ctx context.Context) ProviderAuthLoginPtrOutput
- func (o ProviderAuthLoginPtrOutput) UseRootNamespace() pulumi.BoolPtrOutput
- type ProviderAuthLoginRadius
- type ProviderAuthLoginRadiusArgs
- func (ProviderAuthLoginRadiusArgs) ElementType() reflect.Type
- func (i ProviderAuthLoginRadiusArgs) ToProviderAuthLoginRadiusOutput() ProviderAuthLoginRadiusOutput
- func (i ProviderAuthLoginRadiusArgs) ToProviderAuthLoginRadiusOutputWithContext(ctx context.Context) ProviderAuthLoginRadiusOutput
- func (i ProviderAuthLoginRadiusArgs) ToProviderAuthLoginRadiusPtrOutput() ProviderAuthLoginRadiusPtrOutput
- func (i ProviderAuthLoginRadiusArgs) ToProviderAuthLoginRadiusPtrOutputWithContext(ctx context.Context) ProviderAuthLoginRadiusPtrOutput
- type ProviderAuthLoginRadiusInput
- type ProviderAuthLoginRadiusOutput
- func (ProviderAuthLoginRadiusOutput) ElementType() reflect.Type
- func (o ProviderAuthLoginRadiusOutput) Mount() pulumi.StringPtrOutput
- func (o ProviderAuthLoginRadiusOutput) Namespace() pulumi.StringPtrOutput
- func (o ProviderAuthLoginRadiusOutput) Password() pulumi.StringOutput
- func (o ProviderAuthLoginRadiusOutput) ToProviderAuthLoginRadiusOutput() ProviderAuthLoginRadiusOutput
- func (o ProviderAuthLoginRadiusOutput) ToProviderAuthLoginRadiusOutputWithContext(ctx context.Context) ProviderAuthLoginRadiusOutput
- func (o ProviderAuthLoginRadiusOutput) ToProviderAuthLoginRadiusPtrOutput() ProviderAuthLoginRadiusPtrOutput
- func (o ProviderAuthLoginRadiusOutput) ToProviderAuthLoginRadiusPtrOutputWithContext(ctx context.Context) ProviderAuthLoginRadiusPtrOutput
- func (o ProviderAuthLoginRadiusOutput) UseRootNamespace() pulumi.BoolPtrOutput
- func (o ProviderAuthLoginRadiusOutput) Username() pulumi.StringOutput
- type ProviderAuthLoginRadiusPtrInput
- type ProviderAuthLoginRadiusPtrOutput
- func (o ProviderAuthLoginRadiusPtrOutput) Elem() ProviderAuthLoginRadiusOutput
- func (ProviderAuthLoginRadiusPtrOutput) ElementType() reflect.Type
- func (o ProviderAuthLoginRadiusPtrOutput) Mount() pulumi.StringPtrOutput
- func (o ProviderAuthLoginRadiusPtrOutput) Namespace() pulumi.StringPtrOutput
- func (o ProviderAuthLoginRadiusPtrOutput) Password() pulumi.StringPtrOutput
- func (o ProviderAuthLoginRadiusPtrOutput) ToProviderAuthLoginRadiusPtrOutput() ProviderAuthLoginRadiusPtrOutput
- func (o ProviderAuthLoginRadiusPtrOutput) ToProviderAuthLoginRadiusPtrOutputWithContext(ctx context.Context) ProviderAuthLoginRadiusPtrOutput
- func (o ProviderAuthLoginRadiusPtrOutput) UseRootNamespace() pulumi.BoolPtrOutput
- func (o ProviderAuthLoginRadiusPtrOutput) Username() pulumi.StringPtrOutput
- type ProviderAuthLoginTokenFile
- type ProviderAuthLoginTokenFileArgs
- func (ProviderAuthLoginTokenFileArgs) ElementType() reflect.Type
- func (i ProviderAuthLoginTokenFileArgs) ToProviderAuthLoginTokenFileOutput() ProviderAuthLoginTokenFileOutput
- func (i ProviderAuthLoginTokenFileArgs) ToProviderAuthLoginTokenFileOutputWithContext(ctx context.Context) ProviderAuthLoginTokenFileOutput
- func (i ProviderAuthLoginTokenFileArgs) ToProviderAuthLoginTokenFilePtrOutput() ProviderAuthLoginTokenFilePtrOutput
- func (i ProviderAuthLoginTokenFileArgs) ToProviderAuthLoginTokenFilePtrOutputWithContext(ctx context.Context) ProviderAuthLoginTokenFilePtrOutput
- type ProviderAuthLoginTokenFileInput
- type ProviderAuthLoginTokenFileOutput
- func (ProviderAuthLoginTokenFileOutput) ElementType() reflect.Type
- func (o ProviderAuthLoginTokenFileOutput) Filename() pulumi.StringOutput
- func (o ProviderAuthLoginTokenFileOutput) Namespace() pulumi.StringPtrOutput
- func (o ProviderAuthLoginTokenFileOutput) ToProviderAuthLoginTokenFileOutput() ProviderAuthLoginTokenFileOutput
- func (o ProviderAuthLoginTokenFileOutput) ToProviderAuthLoginTokenFileOutputWithContext(ctx context.Context) ProviderAuthLoginTokenFileOutput
- func (o ProviderAuthLoginTokenFileOutput) ToProviderAuthLoginTokenFilePtrOutput() ProviderAuthLoginTokenFilePtrOutput
- func (o ProviderAuthLoginTokenFileOutput) ToProviderAuthLoginTokenFilePtrOutputWithContext(ctx context.Context) ProviderAuthLoginTokenFilePtrOutput
- func (o ProviderAuthLoginTokenFileOutput) UseRootNamespace() pulumi.BoolPtrOutput
- type ProviderAuthLoginTokenFilePtrInput
- type ProviderAuthLoginTokenFilePtrOutput
- func (o ProviderAuthLoginTokenFilePtrOutput) Elem() ProviderAuthLoginTokenFileOutput
- func (ProviderAuthLoginTokenFilePtrOutput) ElementType() reflect.Type
- func (o ProviderAuthLoginTokenFilePtrOutput) Filename() pulumi.StringPtrOutput
- func (o ProviderAuthLoginTokenFilePtrOutput) Namespace() pulumi.StringPtrOutput
- func (o ProviderAuthLoginTokenFilePtrOutput) ToProviderAuthLoginTokenFilePtrOutput() ProviderAuthLoginTokenFilePtrOutput
- func (o ProviderAuthLoginTokenFilePtrOutput) ToProviderAuthLoginTokenFilePtrOutputWithContext(ctx context.Context) ProviderAuthLoginTokenFilePtrOutput
- func (o ProviderAuthLoginTokenFilePtrOutput) UseRootNamespace() pulumi.BoolPtrOutput
- type ProviderAuthLoginUserpass
- type ProviderAuthLoginUserpassArgs
- func (ProviderAuthLoginUserpassArgs) ElementType() reflect.Type
- func (i ProviderAuthLoginUserpassArgs) ToProviderAuthLoginUserpassOutput() ProviderAuthLoginUserpassOutput
- func (i ProviderAuthLoginUserpassArgs) ToProviderAuthLoginUserpassOutputWithContext(ctx context.Context) ProviderAuthLoginUserpassOutput
- func (i ProviderAuthLoginUserpassArgs) ToProviderAuthLoginUserpassPtrOutput() ProviderAuthLoginUserpassPtrOutput
- func (i ProviderAuthLoginUserpassArgs) ToProviderAuthLoginUserpassPtrOutputWithContext(ctx context.Context) ProviderAuthLoginUserpassPtrOutput
- type ProviderAuthLoginUserpassInput
- type ProviderAuthLoginUserpassOutput
- func (ProviderAuthLoginUserpassOutput) ElementType() reflect.Type
- func (o ProviderAuthLoginUserpassOutput) Mount() pulumi.StringPtrOutput
- func (o ProviderAuthLoginUserpassOutput) Namespace() pulumi.StringPtrOutput
- func (o ProviderAuthLoginUserpassOutput) Password() pulumi.StringPtrOutput
- func (o ProviderAuthLoginUserpassOutput) PasswordFile() pulumi.StringPtrOutput
- func (o ProviderAuthLoginUserpassOutput) ToProviderAuthLoginUserpassOutput() ProviderAuthLoginUserpassOutput
- func (o ProviderAuthLoginUserpassOutput) ToProviderAuthLoginUserpassOutputWithContext(ctx context.Context) ProviderAuthLoginUserpassOutput
- func (o ProviderAuthLoginUserpassOutput) ToProviderAuthLoginUserpassPtrOutput() ProviderAuthLoginUserpassPtrOutput
- func (o ProviderAuthLoginUserpassOutput) ToProviderAuthLoginUserpassPtrOutputWithContext(ctx context.Context) ProviderAuthLoginUserpassPtrOutput
- func (o ProviderAuthLoginUserpassOutput) UseRootNamespace() pulumi.BoolPtrOutput
- func (o ProviderAuthLoginUserpassOutput) Username() pulumi.StringOutput
- type ProviderAuthLoginUserpassPtrInput
- type ProviderAuthLoginUserpassPtrOutput
- func (o ProviderAuthLoginUserpassPtrOutput) Elem() ProviderAuthLoginUserpassOutput
- func (ProviderAuthLoginUserpassPtrOutput) ElementType() reflect.Type
- func (o ProviderAuthLoginUserpassPtrOutput) Mount() pulumi.StringPtrOutput
- func (o ProviderAuthLoginUserpassPtrOutput) Namespace() pulumi.StringPtrOutput
- func (o ProviderAuthLoginUserpassPtrOutput) Password() pulumi.StringPtrOutput
- func (o ProviderAuthLoginUserpassPtrOutput) PasswordFile() pulumi.StringPtrOutput
- func (o ProviderAuthLoginUserpassPtrOutput) ToProviderAuthLoginUserpassPtrOutput() ProviderAuthLoginUserpassPtrOutput
- func (o ProviderAuthLoginUserpassPtrOutput) ToProviderAuthLoginUserpassPtrOutputWithContext(ctx context.Context) ProviderAuthLoginUserpassPtrOutput
- func (o ProviderAuthLoginUserpassPtrOutput) UseRootNamespace() pulumi.BoolPtrOutput
- func (o ProviderAuthLoginUserpassPtrOutput) Username() pulumi.StringPtrOutput
- type ProviderClientAuth
- type ProviderClientAuthArgs
- func (ProviderClientAuthArgs) ElementType() reflect.Type
- func (i ProviderClientAuthArgs) ToProviderClientAuthOutput() ProviderClientAuthOutput
- func (i ProviderClientAuthArgs) ToProviderClientAuthOutputWithContext(ctx context.Context) ProviderClientAuthOutput
- func (i ProviderClientAuthArgs) ToProviderClientAuthPtrOutput() ProviderClientAuthPtrOutput
- func (i ProviderClientAuthArgs) ToProviderClientAuthPtrOutputWithContext(ctx context.Context) ProviderClientAuthPtrOutput
- type ProviderClientAuthInput
- type ProviderClientAuthOutput
- func (o ProviderClientAuthOutput) CertFile() pulumi.StringOutput
- func (ProviderClientAuthOutput) ElementType() reflect.Type
- func (o ProviderClientAuthOutput) KeyFile() pulumi.StringOutput
- func (o ProviderClientAuthOutput) ToProviderClientAuthOutput() ProviderClientAuthOutput
- func (o ProviderClientAuthOutput) ToProviderClientAuthOutputWithContext(ctx context.Context) ProviderClientAuthOutput
- func (o ProviderClientAuthOutput) ToProviderClientAuthPtrOutput() ProviderClientAuthPtrOutput
- func (o ProviderClientAuthOutput) ToProviderClientAuthPtrOutputWithContext(ctx context.Context) ProviderClientAuthPtrOutput
- type ProviderClientAuthPtrInput
- type ProviderClientAuthPtrOutput
- func (o ProviderClientAuthPtrOutput) CertFile() pulumi.StringPtrOutput
- func (o ProviderClientAuthPtrOutput) Elem() ProviderClientAuthOutput
- func (ProviderClientAuthPtrOutput) ElementType() reflect.Type
- func (o ProviderClientAuthPtrOutput) KeyFile() pulumi.StringPtrOutput
- func (o ProviderClientAuthPtrOutput) ToProviderClientAuthPtrOutput() ProviderClientAuthPtrOutput
- func (o ProviderClientAuthPtrOutput) ToProviderClientAuthPtrOutputWithContext(ctx context.Context) ProviderClientAuthPtrOutput
- type ProviderHeader
- type ProviderHeaderArgs
- type ProviderHeaderArray
- type ProviderHeaderArrayInput
- type ProviderHeaderArrayOutput
- func (ProviderHeaderArrayOutput) ElementType() reflect.Type
- func (o ProviderHeaderArrayOutput) Index(i pulumi.IntInput) ProviderHeaderOutput
- func (o ProviderHeaderArrayOutput) ToProviderHeaderArrayOutput() ProviderHeaderArrayOutput
- func (o ProviderHeaderArrayOutput) ToProviderHeaderArrayOutputWithContext(ctx context.Context) ProviderHeaderArrayOutput
- type ProviderHeaderInput
- type ProviderHeaderOutput
- func (ProviderHeaderOutput) ElementType() reflect.Type
- func (o ProviderHeaderOutput) Name() pulumi.StringOutput
- func (o ProviderHeaderOutput) ToProviderHeaderOutput() ProviderHeaderOutput
- func (o ProviderHeaderOutput) ToProviderHeaderOutputWithContext(ctx context.Context) ProviderHeaderOutput
- func (o ProviderHeaderOutput) Value() pulumi.StringOutput
- type ProviderInput
- type ProviderOutput
- func (o ProviderOutput) AddAddressToEnv() pulumi.StringPtrOutput
- func (o ProviderOutput) Address() pulumi.StringOutput
- func (o ProviderOutput) CaCertDir() pulumi.StringPtrOutput
- func (o ProviderOutput) CaCertFile() pulumi.StringPtrOutput
- func (ProviderOutput) ElementType() reflect.Type
- func (o ProviderOutput) Namespace() pulumi.StringPtrOutput
- func (o ProviderOutput) TlsServerName() pulumi.StringPtrOutput
- func (o ProviderOutput) ToProviderOutput() ProviderOutput
- func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
- func (o ProviderOutput) Token() pulumi.StringOutput
- func (o ProviderOutput) TokenName() pulumi.StringPtrOutput
- func (o ProviderOutput) VaultVersionOverride() pulumi.StringPtrOutput
- type QuotaLeaseCount
- type QuotaLeaseCountArgs
- type QuotaLeaseCountArray
- type QuotaLeaseCountArrayInput
- type QuotaLeaseCountArrayOutput
- func (QuotaLeaseCountArrayOutput) ElementType() reflect.Type
- func (o QuotaLeaseCountArrayOutput) Index(i pulumi.IntInput) QuotaLeaseCountOutput
- func (o QuotaLeaseCountArrayOutput) ToQuotaLeaseCountArrayOutput() QuotaLeaseCountArrayOutput
- func (o QuotaLeaseCountArrayOutput) ToQuotaLeaseCountArrayOutputWithContext(ctx context.Context) QuotaLeaseCountArrayOutput
- type QuotaLeaseCountInput
- type QuotaLeaseCountMap
- type QuotaLeaseCountMapInput
- type QuotaLeaseCountMapOutput
- func (QuotaLeaseCountMapOutput) ElementType() reflect.Type
- func (o QuotaLeaseCountMapOutput) MapIndex(k pulumi.StringInput) QuotaLeaseCountOutput
- func (o QuotaLeaseCountMapOutput) ToQuotaLeaseCountMapOutput() QuotaLeaseCountMapOutput
- func (o QuotaLeaseCountMapOutput) ToQuotaLeaseCountMapOutputWithContext(ctx context.Context) QuotaLeaseCountMapOutput
- type QuotaLeaseCountOutput
- func (QuotaLeaseCountOutput) ElementType() reflect.Type
- func (o QuotaLeaseCountOutput) Inheritable() pulumi.BoolPtrOutput
- func (o QuotaLeaseCountOutput) MaxLeases() pulumi.IntOutput
- func (o QuotaLeaseCountOutput) Name() pulumi.StringOutput
- func (o QuotaLeaseCountOutput) Namespace() pulumi.StringPtrOutput
- func (o QuotaLeaseCountOutput) Path() pulumi.StringPtrOutput
- func (o QuotaLeaseCountOutput) Role() pulumi.StringPtrOutput
- func (o QuotaLeaseCountOutput) ToQuotaLeaseCountOutput() QuotaLeaseCountOutput
- func (o QuotaLeaseCountOutput) ToQuotaLeaseCountOutputWithContext(ctx context.Context) QuotaLeaseCountOutput
- type QuotaLeaseCountState
- type QuotaRateLimit
- type QuotaRateLimitArgs
- type QuotaRateLimitArray
- type QuotaRateLimitArrayInput
- type QuotaRateLimitArrayOutput
- func (QuotaRateLimitArrayOutput) ElementType() reflect.Type
- func (o QuotaRateLimitArrayOutput) Index(i pulumi.IntInput) QuotaRateLimitOutput
- func (o QuotaRateLimitArrayOutput) ToQuotaRateLimitArrayOutput() QuotaRateLimitArrayOutput
- func (o QuotaRateLimitArrayOutput) ToQuotaRateLimitArrayOutputWithContext(ctx context.Context) QuotaRateLimitArrayOutput
- type QuotaRateLimitInput
- type QuotaRateLimitMap
- type QuotaRateLimitMapInput
- type QuotaRateLimitMapOutput
- func (QuotaRateLimitMapOutput) ElementType() reflect.Type
- func (o QuotaRateLimitMapOutput) MapIndex(k pulumi.StringInput) QuotaRateLimitOutput
- func (o QuotaRateLimitMapOutput) ToQuotaRateLimitMapOutput() QuotaRateLimitMapOutput
- func (o QuotaRateLimitMapOutput) ToQuotaRateLimitMapOutputWithContext(ctx context.Context) QuotaRateLimitMapOutput
- type QuotaRateLimitOutput
- func (o QuotaRateLimitOutput) BlockInterval() pulumi.IntPtrOutput
- func (QuotaRateLimitOutput) ElementType() reflect.Type
- func (o QuotaRateLimitOutput) Inheritable() pulumi.BoolPtrOutput
- func (o QuotaRateLimitOutput) Interval() pulumi.IntOutput
- func (o QuotaRateLimitOutput) Name() pulumi.StringOutput
- func (o QuotaRateLimitOutput) Namespace() pulumi.StringPtrOutput
- func (o QuotaRateLimitOutput) Path() pulumi.StringPtrOutput
- func (o QuotaRateLimitOutput) Rate() pulumi.Float64Output
- func (o QuotaRateLimitOutput) Role() pulumi.StringPtrOutput
- func (o QuotaRateLimitOutput) ToQuotaRateLimitOutput() QuotaRateLimitOutput
- func (o QuotaRateLimitOutput) ToQuotaRateLimitOutputWithContext(ctx context.Context) QuotaRateLimitOutput
- type QuotaRateLimitState
- type RaftAutopilot
- type RaftAutopilotArgs
- type RaftAutopilotArray
- type RaftAutopilotArrayInput
- type RaftAutopilotArrayOutput
- func (RaftAutopilotArrayOutput) ElementType() reflect.Type
- func (o RaftAutopilotArrayOutput) Index(i pulumi.IntInput) RaftAutopilotOutput
- func (o RaftAutopilotArrayOutput) ToRaftAutopilotArrayOutput() RaftAutopilotArrayOutput
- func (o RaftAutopilotArrayOutput) ToRaftAutopilotArrayOutputWithContext(ctx context.Context) RaftAutopilotArrayOutput
- type RaftAutopilotInput
- type RaftAutopilotMap
- type RaftAutopilotMapInput
- type RaftAutopilotMapOutput
- func (RaftAutopilotMapOutput) ElementType() reflect.Type
- func (o RaftAutopilotMapOutput) MapIndex(k pulumi.StringInput) RaftAutopilotOutput
- func (o RaftAutopilotMapOutput) ToRaftAutopilotMapOutput() RaftAutopilotMapOutput
- func (o RaftAutopilotMapOutput) ToRaftAutopilotMapOutputWithContext(ctx context.Context) RaftAutopilotMapOutput
- type RaftAutopilotOutput
- func (o RaftAutopilotOutput) CleanupDeadServers() pulumi.BoolPtrOutput
- func (o RaftAutopilotOutput) DeadServerLastContactThreshold() pulumi.StringPtrOutput
- func (o RaftAutopilotOutput) DisableUpgradeMigration() pulumi.BoolPtrOutput
- func (RaftAutopilotOutput) ElementType() reflect.Type
- func (o RaftAutopilotOutput) LastContactThreshold() pulumi.StringPtrOutput
- func (o RaftAutopilotOutput) MaxTrailingLogs() pulumi.IntPtrOutput
- func (o RaftAutopilotOutput) MinQuorum() pulumi.IntPtrOutput
- func (o RaftAutopilotOutput) Namespace() pulumi.StringPtrOutput
- func (o RaftAutopilotOutput) ServerStabilizationTime() pulumi.StringPtrOutput
- func (o RaftAutopilotOutput) ToRaftAutopilotOutput() RaftAutopilotOutput
- func (o RaftAutopilotOutput) ToRaftAutopilotOutputWithContext(ctx context.Context) RaftAutopilotOutput
- type RaftAutopilotState
- type RaftSnapshotAgentConfig
- type RaftSnapshotAgentConfigArgs
- type RaftSnapshotAgentConfigArray
- func (RaftSnapshotAgentConfigArray) ElementType() reflect.Type
- func (i RaftSnapshotAgentConfigArray) ToRaftSnapshotAgentConfigArrayOutput() RaftSnapshotAgentConfigArrayOutput
- func (i RaftSnapshotAgentConfigArray) ToRaftSnapshotAgentConfigArrayOutputWithContext(ctx context.Context) RaftSnapshotAgentConfigArrayOutput
- type RaftSnapshotAgentConfigArrayInput
- type RaftSnapshotAgentConfigArrayOutput
- func (RaftSnapshotAgentConfigArrayOutput) ElementType() reflect.Type
- func (o RaftSnapshotAgentConfigArrayOutput) Index(i pulumi.IntInput) RaftSnapshotAgentConfigOutput
- func (o RaftSnapshotAgentConfigArrayOutput) ToRaftSnapshotAgentConfigArrayOutput() RaftSnapshotAgentConfigArrayOutput
- func (o RaftSnapshotAgentConfigArrayOutput) ToRaftSnapshotAgentConfigArrayOutputWithContext(ctx context.Context) RaftSnapshotAgentConfigArrayOutput
- type RaftSnapshotAgentConfigInput
- type RaftSnapshotAgentConfigMap
- func (RaftSnapshotAgentConfigMap) ElementType() reflect.Type
- func (i RaftSnapshotAgentConfigMap) ToRaftSnapshotAgentConfigMapOutput() RaftSnapshotAgentConfigMapOutput
- func (i RaftSnapshotAgentConfigMap) ToRaftSnapshotAgentConfigMapOutputWithContext(ctx context.Context) RaftSnapshotAgentConfigMapOutput
- type RaftSnapshotAgentConfigMapInput
- type RaftSnapshotAgentConfigMapOutput
- func (RaftSnapshotAgentConfigMapOutput) ElementType() reflect.Type
- func (o RaftSnapshotAgentConfigMapOutput) MapIndex(k pulumi.StringInput) RaftSnapshotAgentConfigOutput
- func (o RaftSnapshotAgentConfigMapOutput) ToRaftSnapshotAgentConfigMapOutput() RaftSnapshotAgentConfigMapOutput
- func (o RaftSnapshotAgentConfigMapOutput) ToRaftSnapshotAgentConfigMapOutputWithContext(ctx context.Context) RaftSnapshotAgentConfigMapOutput
- type RaftSnapshotAgentConfigOutput
- func (o RaftSnapshotAgentConfigOutput) AwsAccessKeyId() pulumi.StringPtrOutput
- func (o RaftSnapshotAgentConfigOutput) AwsS3Bucket() pulumi.StringPtrOutput
- func (o RaftSnapshotAgentConfigOutput) AwsS3DisableTls() pulumi.BoolPtrOutput
- func (o RaftSnapshotAgentConfigOutput) AwsS3EnableKms() pulumi.BoolPtrOutput
- func (o RaftSnapshotAgentConfigOutput) AwsS3Endpoint() pulumi.StringPtrOutput
- func (o RaftSnapshotAgentConfigOutput) AwsS3ForcePathStyle() pulumi.BoolPtrOutput
- func (o RaftSnapshotAgentConfigOutput) AwsS3KmsKey() pulumi.StringPtrOutput
- func (o RaftSnapshotAgentConfigOutput) AwsS3Region() pulumi.StringPtrOutput
- func (o RaftSnapshotAgentConfigOutput) AwsS3ServerSideEncryption() pulumi.BoolPtrOutput
- func (o RaftSnapshotAgentConfigOutput) AwsSecretAccessKey() pulumi.StringPtrOutput
- func (o RaftSnapshotAgentConfigOutput) AwsSessionToken() pulumi.StringPtrOutput
- func (o RaftSnapshotAgentConfigOutput) AzureAccountKey() pulumi.StringPtrOutput
- func (o RaftSnapshotAgentConfigOutput) AzureAccountName() pulumi.StringPtrOutput
- func (o RaftSnapshotAgentConfigOutput) AzureBlobEnvironment() pulumi.StringPtrOutput
- func (o RaftSnapshotAgentConfigOutput) AzureContainerName() pulumi.StringPtrOutput
- func (o RaftSnapshotAgentConfigOutput) AzureEndpoint() pulumi.StringPtrOutput
- func (RaftSnapshotAgentConfigOutput) ElementType() reflect.Type
- func (o RaftSnapshotAgentConfigOutput) FilePrefix() pulumi.StringPtrOutput
- func (o RaftSnapshotAgentConfigOutput) GoogleDisableTls() pulumi.BoolPtrOutput
- func (o RaftSnapshotAgentConfigOutput) GoogleEndpoint() pulumi.StringPtrOutput
- func (o RaftSnapshotAgentConfigOutput) GoogleGcsBucket() pulumi.StringPtrOutput
- func (o RaftSnapshotAgentConfigOutput) GoogleServiceAccountKey() pulumi.StringPtrOutput
- func (o RaftSnapshotAgentConfigOutput) IntervalSeconds() pulumi.IntOutput
- func (o RaftSnapshotAgentConfigOutput) LocalMaxSpace() pulumi.IntPtrOutput
- func (o RaftSnapshotAgentConfigOutput) Name() pulumi.StringOutput
- func (o RaftSnapshotAgentConfigOutput) Namespace() pulumi.StringPtrOutput
- func (o RaftSnapshotAgentConfigOutput) PathPrefix() pulumi.StringOutput
- func (o RaftSnapshotAgentConfigOutput) Retain() pulumi.IntPtrOutput
- func (o RaftSnapshotAgentConfigOutput) StorageType() pulumi.StringOutput
- func (o RaftSnapshotAgentConfigOutput) ToRaftSnapshotAgentConfigOutput() RaftSnapshotAgentConfigOutput
- func (o RaftSnapshotAgentConfigOutput) ToRaftSnapshotAgentConfigOutputWithContext(ctx context.Context) RaftSnapshotAgentConfigOutput
- type RaftSnapshotAgentConfigState
- type RgpPolicy
- type RgpPolicyArgs
- type RgpPolicyArray
- type RgpPolicyArrayInput
- type RgpPolicyArrayOutput
- func (RgpPolicyArrayOutput) ElementType() reflect.Type
- func (o RgpPolicyArrayOutput) Index(i pulumi.IntInput) RgpPolicyOutput
- func (o RgpPolicyArrayOutput) ToRgpPolicyArrayOutput() RgpPolicyArrayOutput
- func (o RgpPolicyArrayOutput) ToRgpPolicyArrayOutputWithContext(ctx context.Context) RgpPolicyArrayOutput
- type RgpPolicyInput
- type RgpPolicyMap
- type RgpPolicyMapInput
- type RgpPolicyMapOutput
- type RgpPolicyOutput
- func (RgpPolicyOutput) ElementType() reflect.Type
- func (o RgpPolicyOutput) EnforcementLevel() pulumi.StringOutput
- func (o RgpPolicyOutput) Name() pulumi.StringOutput
- func (o RgpPolicyOutput) Namespace() pulumi.StringPtrOutput
- func (o RgpPolicyOutput) Policy() pulumi.StringOutput
- func (o RgpPolicyOutput) ToRgpPolicyOutput() RgpPolicyOutput
- func (o RgpPolicyOutput) ToRgpPolicyOutputWithContext(ctx context.Context) RgpPolicyOutput
- type RgpPolicyState
- type Token
- type TokenArgs
- type TokenArray
- type TokenArrayInput
- type TokenArrayOutput
- type TokenInput
- type TokenMap
- type TokenMapInput
- type TokenMapOutput
- type TokenOutput
- func (o TokenOutput) ClientToken() pulumi.StringOutput
- func (o TokenOutput) DisplayName() pulumi.StringPtrOutput
- func (TokenOutput) ElementType() reflect.Type
- func (o TokenOutput) ExplicitMaxTtl() pulumi.StringPtrOutput
- func (o TokenOutput) LeaseDuration() pulumi.IntOutput
- func (o TokenOutput) LeaseStarted() pulumi.StringOutput
- func (o TokenOutput) Metadata() pulumi.StringMapOutput
- func (o TokenOutput) Namespace() pulumi.StringPtrOutput
- func (o TokenOutput) NoDefaultPolicy() pulumi.BoolPtrOutput
- func (o TokenOutput) NoParent() pulumi.BoolOutput
- func (o TokenOutput) NumUses() pulumi.IntOutput
- func (o TokenOutput) Period() pulumi.StringPtrOutput
- func (o TokenOutput) Policies() pulumi.StringArrayOutput
- func (o TokenOutput) RenewIncrement() pulumi.IntPtrOutput
- func (o TokenOutput) RenewMinLease() pulumi.IntPtrOutput
- func (o TokenOutput) Renewable() pulumi.BoolOutput
- func (o TokenOutput) RoleName() pulumi.StringPtrOutput
- func (o TokenOutput) ToTokenOutput() TokenOutput
- func (o TokenOutput) ToTokenOutputWithContext(ctx context.Context) TokenOutput
- func (o TokenOutput) Ttl() pulumi.StringPtrOutput
- func (o TokenOutput) WrappedToken() pulumi.StringOutput
- func (o TokenOutput) WrappingAccessor() pulumi.StringOutput
- func (o TokenOutput) WrappingTtl() pulumi.StringPtrOutput
- type TokenState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Audit ¶
type Audit struct { pulumi.CustomResourceState // Human-friendly description of the audit device. Description pulumi.StringPtrOutput `pulumi:"description"` // Specifies if the audit device is a local only. Local audit devices are not replicated nor (if a secondary) removed by replication. Local pulumi.BoolPtrOutput `pulumi:"local"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // Configuration options to pass to the audit device itself. // // For a reference of the device types and their options, consult the [Vault documentation.](https://www.vaultproject.io/docs/audit/index.html) Options pulumi.StringMapOutput `pulumi:"options"` // The path to mount the audit device. This defaults to the type. Path pulumi.StringOutput `pulumi:"path"` // Type of the audit device, such as 'file'. Type pulumi.StringOutput `pulumi:"type"` }
## Example Usage
### File Audit Device)
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.NewAudit(ctx, "test", &vault.AuditArgs{ Type: pulumi.String("file"), Options: pulumi.StringMap{ "file_path": pulumi.String("C:/temp/audit.txt"), }, }) if err != nil { return err } return nil }) }
```
### Socket Audit Device)
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.NewAudit(ctx, "test", &vault.AuditArgs{ Type: pulumi.String("socket"), Path: pulumi.String("app_socket"), Local: pulumi.Bool(false), Options: pulumi.StringMap{ "address": pulumi.String("127.0.0.1:8000"), "socket_type": pulumi.String("tcp"), "description": pulumi.String("application x socket"), }, }) if err != nil { return err } return nil }) }
```
## Import
Audit devices can be imported using the `path`, e.g.
```sh $ pulumi import vault:index/audit:Audit test syslog ```
func GetAudit ¶
func GetAudit(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AuditState, opts ...pulumi.ResourceOption) (*Audit, error)
GetAudit gets an existing Audit 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 NewAudit ¶
func NewAudit(ctx *pulumi.Context, name string, args *AuditArgs, opts ...pulumi.ResourceOption) (*Audit, error)
NewAudit registers a new resource with the given unique name, arguments, and options.
func (*Audit) ElementType ¶
func (*Audit) ToAuditOutput ¶
func (i *Audit) ToAuditOutput() AuditOutput
func (*Audit) ToAuditOutputWithContext ¶
func (i *Audit) ToAuditOutputWithContext(ctx context.Context) AuditOutput
type AuditArgs ¶
type AuditArgs struct { // Human-friendly description of the audit device. Description pulumi.StringPtrInput // Specifies if the audit device is a local only. Local audit devices are not replicated nor (if a secondary) removed by replication. Local pulumi.BoolPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // Configuration options to pass to the audit device itself. // // For a reference of the device types and their options, consult the [Vault documentation.](https://www.vaultproject.io/docs/audit/index.html) Options pulumi.StringMapInput // The path to mount the audit device. This defaults to the type. Path pulumi.StringPtrInput // Type of the audit device, such as 'file'. Type pulumi.StringInput }
The set of arguments for constructing a Audit resource.
func (AuditArgs) ElementType ¶
type AuditArray ¶
type AuditArray []AuditInput
func (AuditArray) ElementType ¶
func (AuditArray) ElementType() reflect.Type
func (AuditArray) ToAuditArrayOutput ¶
func (i AuditArray) ToAuditArrayOutput() AuditArrayOutput
func (AuditArray) ToAuditArrayOutputWithContext ¶
func (i AuditArray) ToAuditArrayOutputWithContext(ctx context.Context) AuditArrayOutput
type AuditArrayInput ¶
type AuditArrayInput interface { pulumi.Input ToAuditArrayOutput() AuditArrayOutput ToAuditArrayOutputWithContext(context.Context) AuditArrayOutput }
AuditArrayInput is an input type that accepts AuditArray and AuditArrayOutput values. You can construct a concrete instance of `AuditArrayInput` via:
AuditArray{ AuditArgs{...} }
type AuditArrayOutput ¶
type AuditArrayOutput struct{ *pulumi.OutputState }
func (AuditArrayOutput) ElementType ¶
func (AuditArrayOutput) ElementType() reflect.Type
func (AuditArrayOutput) Index ¶
func (o AuditArrayOutput) Index(i pulumi.IntInput) AuditOutput
func (AuditArrayOutput) ToAuditArrayOutput ¶
func (o AuditArrayOutput) ToAuditArrayOutput() AuditArrayOutput
func (AuditArrayOutput) ToAuditArrayOutputWithContext ¶
func (o AuditArrayOutput) ToAuditArrayOutputWithContext(ctx context.Context) AuditArrayOutput
type AuditInput ¶
type AuditInput interface { pulumi.Input ToAuditOutput() AuditOutput ToAuditOutputWithContext(ctx context.Context) AuditOutput }
type AuditMap ¶
type AuditMap map[string]AuditInput
func (AuditMap) ElementType ¶
func (AuditMap) ToAuditMapOutput ¶
func (i AuditMap) ToAuditMapOutput() AuditMapOutput
func (AuditMap) ToAuditMapOutputWithContext ¶
func (i AuditMap) ToAuditMapOutputWithContext(ctx context.Context) AuditMapOutput
type AuditMapInput ¶
type AuditMapInput interface { pulumi.Input ToAuditMapOutput() AuditMapOutput ToAuditMapOutputWithContext(context.Context) AuditMapOutput }
AuditMapInput is an input type that accepts AuditMap and AuditMapOutput values. You can construct a concrete instance of `AuditMapInput` via:
AuditMap{ "key": AuditArgs{...} }
type AuditMapOutput ¶
type AuditMapOutput struct{ *pulumi.OutputState }
func (AuditMapOutput) ElementType ¶
func (AuditMapOutput) ElementType() reflect.Type
func (AuditMapOutput) MapIndex ¶
func (o AuditMapOutput) MapIndex(k pulumi.StringInput) AuditOutput
func (AuditMapOutput) ToAuditMapOutput ¶
func (o AuditMapOutput) ToAuditMapOutput() AuditMapOutput
func (AuditMapOutput) ToAuditMapOutputWithContext ¶
func (o AuditMapOutput) ToAuditMapOutputWithContext(ctx context.Context) AuditMapOutput
type AuditOutput ¶
type AuditOutput struct{ *pulumi.OutputState }
func (AuditOutput) Description ¶
func (o AuditOutput) Description() pulumi.StringPtrOutput
Human-friendly description of the audit device.
func (AuditOutput) ElementType ¶
func (AuditOutput) ElementType() reflect.Type
func (AuditOutput) Local ¶
func (o AuditOutput) Local() pulumi.BoolPtrOutput
Specifies if the audit device is a local only. Local audit devices are not replicated nor (if a secondary) removed by replication.
func (AuditOutput) Namespace ¶
func (o AuditOutput) Namespace() pulumi.StringPtrOutput
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). *Available only for Vault Enterprise*.
func (AuditOutput) Options ¶
func (o AuditOutput) Options() pulumi.StringMapOutput
Configuration options to pass to the audit device itself.
For a reference of the device types and their options, consult the [Vault documentation.](https://www.vaultproject.io/docs/audit/index.html)
func (AuditOutput) Path ¶
func (o AuditOutput) Path() pulumi.StringOutput
The path to mount the audit device. This defaults to the type.
func (AuditOutput) ToAuditOutput ¶
func (o AuditOutput) ToAuditOutput() AuditOutput
func (AuditOutput) ToAuditOutputWithContext ¶
func (o AuditOutput) ToAuditOutputWithContext(ctx context.Context) AuditOutput
func (AuditOutput) Type ¶
func (o AuditOutput) Type() pulumi.StringOutput
Type of the audit device, such as 'file'.
type AuditRequestHeader ¶
type AuditRequestHeader struct { pulumi.CustomResourceState // Whether this header's value should be HMAC'd in the audit logs. Hmac pulumi.BoolPtrOutput `pulumi:"hmac"` // The name of the request header to audit. Name pulumi.StringOutput `pulumi:"name"` // Target namespace. (requires Enterprise) Namespace pulumi.StringPtrOutput `pulumi:"namespace"` }
Manages additional request headers that appear in audited requests.
> **Note** Because of the way the [sys/config/auditing/request-headers API](https://www.vaultproject.io/api-docs/system/config-auditing) is implemented in Vault, this resource will manage existing audited headers with matching names without requiring import.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.NewAuditRequestHeader(ctx, "x_forwarded_for", &vault.AuditRequestHeaderArgs{ Name: pulumi.String("X-Forwarded-For"), Hmac: pulumi.Bool(false), }) if err != nil { return err } return nil }) }
```
func GetAuditRequestHeader ¶
func GetAuditRequestHeader(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AuditRequestHeaderState, opts ...pulumi.ResourceOption) (*AuditRequestHeader, error)
GetAuditRequestHeader gets an existing AuditRequestHeader 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 NewAuditRequestHeader ¶
func NewAuditRequestHeader(ctx *pulumi.Context, name string, args *AuditRequestHeaderArgs, opts ...pulumi.ResourceOption) (*AuditRequestHeader, error)
NewAuditRequestHeader registers a new resource with the given unique name, arguments, and options.
func (*AuditRequestHeader) ElementType ¶
func (*AuditRequestHeader) ElementType() reflect.Type
func (*AuditRequestHeader) ToAuditRequestHeaderOutput ¶
func (i *AuditRequestHeader) ToAuditRequestHeaderOutput() AuditRequestHeaderOutput
func (*AuditRequestHeader) ToAuditRequestHeaderOutputWithContext ¶
func (i *AuditRequestHeader) ToAuditRequestHeaderOutputWithContext(ctx context.Context) AuditRequestHeaderOutput
type AuditRequestHeaderArgs ¶
type AuditRequestHeaderArgs struct { // Whether this header's value should be HMAC'd in the audit logs. Hmac pulumi.BoolPtrInput // The name of the request header to audit. Name pulumi.StringPtrInput // Target namespace. (requires Enterprise) Namespace pulumi.StringPtrInput }
The set of arguments for constructing a AuditRequestHeader resource.
func (AuditRequestHeaderArgs) ElementType ¶
func (AuditRequestHeaderArgs) ElementType() reflect.Type
type AuditRequestHeaderArray ¶
type AuditRequestHeaderArray []AuditRequestHeaderInput
func (AuditRequestHeaderArray) ElementType ¶
func (AuditRequestHeaderArray) ElementType() reflect.Type
func (AuditRequestHeaderArray) ToAuditRequestHeaderArrayOutput ¶
func (i AuditRequestHeaderArray) ToAuditRequestHeaderArrayOutput() AuditRequestHeaderArrayOutput
func (AuditRequestHeaderArray) ToAuditRequestHeaderArrayOutputWithContext ¶
func (i AuditRequestHeaderArray) ToAuditRequestHeaderArrayOutputWithContext(ctx context.Context) AuditRequestHeaderArrayOutput
type AuditRequestHeaderArrayInput ¶
type AuditRequestHeaderArrayInput interface { pulumi.Input ToAuditRequestHeaderArrayOutput() AuditRequestHeaderArrayOutput ToAuditRequestHeaderArrayOutputWithContext(context.Context) AuditRequestHeaderArrayOutput }
AuditRequestHeaderArrayInput is an input type that accepts AuditRequestHeaderArray and AuditRequestHeaderArrayOutput values. You can construct a concrete instance of `AuditRequestHeaderArrayInput` via:
AuditRequestHeaderArray{ AuditRequestHeaderArgs{...} }
type AuditRequestHeaderArrayOutput ¶
type AuditRequestHeaderArrayOutput struct{ *pulumi.OutputState }
func (AuditRequestHeaderArrayOutput) ElementType ¶
func (AuditRequestHeaderArrayOutput) ElementType() reflect.Type
func (AuditRequestHeaderArrayOutput) Index ¶
func (o AuditRequestHeaderArrayOutput) Index(i pulumi.IntInput) AuditRequestHeaderOutput
func (AuditRequestHeaderArrayOutput) ToAuditRequestHeaderArrayOutput ¶
func (o AuditRequestHeaderArrayOutput) ToAuditRequestHeaderArrayOutput() AuditRequestHeaderArrayOutput
func (AuditRequestHeaderArrayOutput) ToAuditRequestHeaderArrayOutputWithContext ¶
func (o AuditRequestHeaderArrayOutput) ToAuditRequestHeaderArrayOutputWithContext(ctx context.Context) AuditRequestHeaderArrayOutput
type AuditRequestHeaderInput ¶
type AuditRequestHeaderInput interface { pulumi.Input ToAuditRequestHeaderOutput() AuditRequestHeaderOutput ToAuditRequestHeaderOutputWithContext(ctx context.Context) AuditRequestHeaderOutput }
type AuditRequestHeaderMap ¶
type AuditRequestHeaderMap map[string]AuditRequestHeaderInput
func (AuditRequestHeaderMap) ElementType ¶
func (AuditRequestHeaderMap) ElementType() reflect.Type
func (AuditRequestHeaderMap) ToAuditRequestHeaderMapOutput ¶
func (i AuditRequestHeaderMap) ToAuditRequestHeaderMapOutput() AuditRequestHeaderMapOutput
func (AuditRequestHeaderMap) ToAuditRequestHeaderMapOutputWithContext ¶
func (i AuditRequestHeaderMap) ToAuditRequestHeaderMapOutputWithContext(ctx context.Context) AuditRequestHeaderMapOutput
type AuditRequestHeaderMapInput ¶
type AuditRequestHeaderMapInput interface { pulumi.Input ToAuditRequestHeaderMapOutput() AuditRequestHeaderMapOutput ToAuditRequestHeaderMapOutputWithContext(context.Context) AuditRequestHeaderMapOutput }
AuditRequestHeaderMapInput is an input type that accepts AuditRequestHeaderMap and AuditRequestHeaderMapOutput values. You can construct a concrete instance of `AuditRequestHeaderMapInput` via:
AuditRequestHeaderMap{ "key": AuditRequestHeaderArgs{...} }
type AuditRequestHeaderMapOutput ¶
type AuditRequestHeaderMapOutput struct{ *pulumi.OutputState }
func (AuditRequestHeaderMapOutput) ElementType ¶
func (AuditRequestHeaderMapOutput) ElementType() reflect.Type
func (AuditRequestHeaderMapOutput) MapIndex ¶
func (o AuditRequestHeaderMapOutput) MapIndex(k pulumi.StringInput) AuditRequestHeaderOutput
func (AuditRequestHeaderMapOutput) ToAuditRequestHeaderMapOutput ¶
func (o AuditRequestHeaderMapOutput) ToAuditRequestHeaderMapOutput() AuditRequestHeaderMapOutput
func (AuditRequestHeaderMapOutput) ToAuditRequestHeaderMapOutputWithContext ¶
func (o AuditRequestHeaderMapOutput) ToAuditRequestHeaderMapOutputWithContext(ctx context.Context) AuditRequestHeaderMapOutput
type AuditRequestHeaderOutput ¶
type AuditRequestHeaderOutput struct{ *pulumi.OutputState }
func (AuditRequestHeaderOutput) ElementType ¶
func (AuditRequestHeaderOutput) ElementType() reflect.Type
func (AuditRequestHeaderOutput) Hmac ¶
func (o AuditRequestHeaderOutput) Hmac() pulumi.BoolPtrOutput
Whether this header's value should be HMAC'd in the audit logs.
func (AuditRequestHeaderOutput) Name ¶
func (o AuditRequestHeaderOutput) Name() pulumi.StringOutput
The name of the request header to audit.
func (AuditRequestHeaderOutput) Namespace ¶
func (o AuditRequestHeaderOutput) Namespace() pulumi.StringPtrOutput
Target namespace. (requires Enterprise)
func (AuditRequestHeaderOutput) ToAuditRequestHeaderOutput ¶
func (o AuditRequestHeaderOutput) ToAuditRequestHeaderOutput() AuditRequestHeaderOutput
func (AuditRequestHeaderOutput) ToAuditRequestHeaderOutputWithContext ¶
func (o AuditRequestHeaderOutput) ToAuditRequestHeaderOutputWithContext(ctx context.Context) AuditRequestHeaderOutput
type AuditRequestHeaderState ¶
type AuditRequestHeaderState struct { // Whether this header's value should be HMAC'd in the audit logs. Hmac pulumi.BoolPtrInput // The name of the request header to audit. Name pulumi.StringPtrInput // Target namespace. (requires Enterprise) Namespace pulumi.StringPtrInput }
func (AuditRequestHeaderState) ElementType ¶
func (AuditRequestHeaderState) ElementType() reflect.Type
type AuditState ¶
type AuditState struct { // Human-friendly description of the audit device. Description pulumi.StringPtrInput // Specifies if the audit device is a local only. Local audit devices are not replicated nor (if a secondary) removed by replication. Local pulumi.BoolPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // Configuration options to pass to the audit device itself. // // For a reference of the device types and their options, consult the [Vault documentation.](https://www.vaultproject.io/docs/audit/index.html) Options pulumi.StringMapInput // The path to mount the audit device. This defaults to the type. Path pulumi.StringPtrInput // Type of the audit device, such as 'file'. Type pulumi.StringPtrInput }
func (AuditState) ElementType ¶
func (AuditState) ElementType() reflect.Type
type AuthBackend ¶
type AuthBackend struct { pulumi.CustomResourceState // The accessor for this auth method Accessor pulumi.StringOutput `pulumi:"accessor"` // A description of the auth method. Description pulumi.StringPtrOutput `pulumi:"description"` // If set, opts out of mount migration on path updates. // See here for more info on [Mount Migration](https://www.vaultproject.io/docs/concepts/mount-migration) DisableRemount pulumi.BoolPtrOutput `pulumi:"disableRemount"` // The key to use for signing identity tokens. IdentityTokenKey pulumi.StringPtrOutput `pulumi:"identityTokenKey"` // Specifies if the auth method is local only. Local pulumi.BoolPtrOutput `pulumi:"local"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // The path to mount the auth method — this defaults to the name of the type. Path pulumi.StringOutput `pulumi:"path"` // Extra configuration block. Structure is documented below. // // The `tune` block is used to tune the auth backend: Tune AuthBackendTuneOutput `pulumi:"tune"` // The name of the auth method type. Type pulumi.StringOutput `pulumi:"type"` }
## Import
Auth methods can be imported using the `path`, e.g.
```sh $ pulumi import vault:index/authBackend:AuthBackend example github ```
func GetAuthBackend ¶
func GetAuthBackend(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AuthBackendState, opts ...pulumi.ResourceOption) (*AuthBackend, error)
GetAuthBackend gets an existing AuthBackend 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 NewAuthBackend ¶
func NewAuthBackend(ctx *pulumi.Context, name string, args *AuthBackendArgs, opts ...pulumi.ResourceOption) (*AuthBackend, error)
NewAuthBackend registers a new resource with the given unique name, arguments, and options.
func (*AuthBackend) ElementType ¶
func (*AuthBackend) ElementType() reflect.Type
func (*AuthBackend) ToAuthBackendOutput ¶
func (i *AuthBackend) ToAuthBackendOutput() AuthBackendOutput
func (*AuthBackend) ToAuthBackendOutputWithContext ¶
func (i *AuthBackend) ToAuthBackendOutputWithContext(ctx context.Context) AuthBackendOutput
type AuthBackendArgs ¶
type AuthBackendArgs struct { // A description of the auth method. Description pulumi.StringPtrInput // If set, opts out of mount migration on path updates. // See here for more info on [Mount Migration](https://www.vaultproject.io/docs/concepts/mount-migration) DisableRemount pulumi.BoolPtrInput // The key to use for signing identity tokens. IdentityTokenKey pulumi.StringPtrInput // Specifies if the auth method is local only. Local pulumi.BoolPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // The path to mount the auth method — this defaults to the name of the type. Path pulumi.StringPtrInput // Extra configuration block. Structure is documented below. // // The `tune` block is used to tune the auth backend: Tune AuthBackendTunePtrInput // The name of the auth method type. Type pulumi.StringInput }
The set of arguments for constructing a AuthBackend resource.
func (AuthBackendArgs) ElementType ¶
func (AuthBackendArgs) ElementType() reflect.Type
type AuthBackendArray ¶
type AuthBackendArray []AuthBackendInput
func (AuthBackendArray) ElementType ¶
func (AuthBackendArray) ElementType() reflect.Type
func (AuthBackendArray) ToAuthBackendArrayOutput ¶
func (i AuthBackendArray) ToAuthBackendArrayOutput() AuthBackendArrayOutput
func (AuthBackendArray) ToAuthBackendArrayOutputWithContext ¶
func (i AuthBackendArray) ToAuthBackendArrayOutputWithContext(ctx context.Context) AuthBackendArrayOutput
type AuthBackendArrayInput ¶
type AuthBackendArrayInput interface { pulumi.Input ToAuthBackendArrayOutput() AuthBackendArrayOutput ToAuthBackendArrayOutputWithContext(context.Context) AuthBackendArrayOutput }
AuthBackendArrayInput is an input type that accepts AuthBackendArray and AuthBackendArrayOutput values. You can construct a concrete instance of `AuthBackendArrayInput` via:
AuthBackendArray{ AuthBackendArgs{...} }
type AuthBackendArrayOutput ¶
type AuthBackendArrayOutput struct{ *pulumi.OutputState }
func (AuthBackendArrayOutput) ElementType ¶
func (AuthBackendArrayOutput) ElementType() reflect.Type
func (AuthBackendArrayOutput) Index ¶
func (o AuthBackendArrayOutput) Index(i pulumi.IntInput) AuthBackendOutput
func (AuthBackendArrayOutput) ToAuthBackendArrayOutput ¶
func (o AuthBackendArrayOutput) ToAuthBackendArrayOutput() AuthBackendArrayOutput
func (AuthBackendArrayOutput) ToAuthBackendArrayOutputWithContext ¶
func (o AuthBackendArrayOutput) ToAuthBackendArrayOutputWithContext(ctx context.Context) AuthBackendArrayOutput
type AuthBackendInput ¶
type AuthBackendInput interface { pulumi.Input ToAuthBackendOutput() AuthBackendOutput ToAuthBackendOutputWithContext(ctx context.Context) AuthBackendOutput }
type AuthBackendMap ¶
type AuthBackendMap map[string]AuthBackendInput
func (AuthBackendMap) ElementType ¶
func (AuthBackendMap) ElementType() reflect.Type
func (AuthBackendMap) ToAuthBackendMapOutput ¶
func (i AuthBackendMap) ToAuthBackendMapOutput() AuthBackendMapOutput
func (AuthBackendMap) ToAuthBackendMapOutputWithContext ¶
func (i AuthBackendMap) ToAuthBackendMapOutputWithContext(ctx context.Context) AuthBackendMapOutput
type AuthBackendMapInput ¶
type AuthBackendMapInput interface { pulumi.Input ToAuthBackendMapOutput() AuthBackendMapOutput ToAuthBackendMapOutputWithContext(context.Context) AuthBackendMapOutput }
AuthBackendMapInput is an input type that accepts AuthBackendMap and AuthBackendMapOutput values. You can construct a concrete instance of `AuthBackendMapInput` via:
AuthBackendMap{ "key": AuthBackendArgs{...} }
type AuthBackendMapOutput ¶
type AuthBackendMapOutput struct{ *pulumi.OutputState }
func (AuthBackendMapOutput) ElementType ¶
func (AuthBackendMapOutput) ElementType() reflect.Type
func (AuthBackendMapOutput) MapIndex ¶
func (o AuthBackendMapOutput) MapIndex(k pulumi.StringInput) AuthBackendOutput
func (AuthBackendMapOutput) ToAuthBackendMapOutput ¶
func (o AuthBackendMapOutput) ToAuthBackendMapOutput() AuthBackendMapOutput
func (AuthBackendMapOutput) ToAuthBackendMapOutputWithContext ¶
func (o AuthBackendMapOutput) ToAuthBackendMapOutputWithContext(ctx context.Context) AuthBackendMapOutput
type AuthBackendOutput ¶
type AuthBackendOutput struct{ *pulumi.OutputState }
func (AuthBackendOutput) Accessor ¶
func (o AuthBackendOutput) Accessor() pulumi.StringOutput
The accessor for this auth method
func (AuthBackendOutput) Description ¶
func (o AuthBackendOutput) Description() pulumi.StringPtrOutput
A description of the auth method.
func (AuthBackendOutput) DisableRemount ¶
func (o AuthBackendOutput) DisableRemount() pulumi.BoolPtrOutput
If set, opts out of mount migration on path updates. See here for more info on [Mount Migration](https://www.vaultproject.io/docs/concepts/mount-migration)
func (AuthBackendOutput) ElementType ¶
func (AuthBackendOutput) ElementType() reflect.Type
func (AuthBackendOutput) IdentityTokenKey ¶ added in v6.2.0
func (o AuthBackendOutput) IdentityTokenKey() pulumi.StringPtrOutput
The key to use for signing identity tokens.
func (AuthBackendOutput) Local ¶
func (o AuthBackendOutput) Local() pulumi.BoolPtrOutput
Specifies if the auth method is local only.
func (AuthBackendOutput) Namespace ¶
func (o AuthBackendOutput) Namespace() pulumi.StringPtrOutput
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). *Available only for Vault Enterprise*.
func (AuthBackendOutput) Path ¶
func (o AuthBackendOutput) Path() pulumi.StringOutput
The path to mount the auth method — this defaults to the name of the type.
func (AuthBackendOutput) ToAuthBackendOutput ¶
func (o AuthBackendOutput) ToAuthBackendOutput() AuthBackendOutput
func (AuthBackendOutput) ToAuthBackendOutputWithContext ¶
func (o AuthBackendOutput) ToAuthBackendOutputWithContext(ctx context.Context) AuthBackendOutput
func (AuthBackendOutput) Tune ¶
func (o AuthBackendOutput) Tune() AuthBackendTuneOutput
Extra configuration block. Structure is documented below.
The `tune` block is used to tune the auth backend:
func (AuthBackendOutput) Type ¶
func (o AuthBackendOutput) Type() pulumi.StringOutput
The name of the auth method type.
type AuthBackendState ¶
type AuthBackendState struct { // The accessor for this auth method Accessor pulumi.StringPtrInput // A description of the auth method. Description pulumi.StringPtrInput // If set, opts out of mount migration on path updates. // See here for more info on [Mount Migration](https://www.vaultproject.io/docs/concepts/mount-migration) DisableRemount pulumi.BoolPtrInput // The key to use for signing identity tokens. IdentityTokenKey pulumi.StringPtrInput // Specifies if the auth method is local only. Local pulumi.BoolPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // The path to mount the auth method — this defaults to the name of the type. Path pulumi.StringPtrInput // Extra configuration block. Structure is documented below. // // The `tune` block is used to tune the auth backend: Tune AuthBackendTunePtrInput // The name of the auth method type. Type pulumi.StringPtrInput }
func (AuthBackendState) ElementType ¶
func (AuthBackendState) ElementType() reflect.Type
type AuthBackendTune ¶
type AuthBackendTune struct { // List of headers to whitelist and allowing // a plugin to include them in the response. AllowedResponseHeaders []string `pulumi:"allowedResponseHeaders"` // Specifies the list of keys that will // not be HMAC'd by audit devices in the request data object. AuditNonHmacRequestKeys []string `pulumi:"auditNonHmacRequestKeys"` // Specifies the list of keys that will // not be HMAC'd by audit devices in the response data object. AuditNonHmacResponseKeys []string `pulumi:"auditNonHmacResponseKeys"` // Specifies the default time-to-live. // If set, this overrides the global default. // Must be a valid [duration string](https://golang.org/pkg/time/#ParseDuration) DefaultLeaseTtl *string `pulumi:"defaultLeaseTtl"` // Specifies whether to show this mount in // the UI-specific listing endpoint. Valid values are "unauth" or "hidden". ListingVisibility *string `pulumi:"listingVisibility"` // Specifies the maximum time-to-live. // If set, this overrides the global default. // Must be a valid [duration string](https://golang.org/pkg/time/#ParseDuration) MaxLeaseTtl *string `pulumi:"maxLeaseTtl"` // List of headers to whitelist and // pass from the request to the backend. PassthroughRequestHeaders []string `pulumi:"passthroughRequestHeaders"` // Specifies the type of tokens that should be returned by // the mount. Valid values are "default-service", "default-batch", "service", "batch". TokenType *string `pulumi:"tokenType"` }
type AuthBackendTuneArgs ¶
type AuthBackendTuneArgs struct { // List of headers to whitelist and allowing // a plugin to include them in the response. AllowedResponseHeaders pulumi.StringArrayInput `pulumi:"allowedResponseHeaders"` // Specifies the list of keys that will // not be HMAC'd by audit devices in the request data object. AuditNonHmacRequestKeys pulumi.StringArrayInput `pulumi:"auditNonHmacRequestKeys"` // Specifies the list of keys that will // not be HMAC'd by audit devices in the response data object. AuditNonHmacResponseKeys pulumi.StringArrayInput `pulumi:"auditNonHmacResponseKeys"` // Specifies the default time-to-live. // If set, this overrides the global default. // Must be a valid [duration string](https://golang.org/pkg/time/#ParseDuration) DefaultLeaseTtl pulumi.StringPtrInput `pulumi:"defaultLeaseTtl"` // Specifies whether to show this mount in // the UI-specific listing endpoint. Valid values are "unauth" or "hidden". ListingVisibility pulumi.StringPtrInput `pulumi:"listingVisibility"` // Specifies the maximum time-to-live. // If set, this overrides the global default. // Must be a valid [duration string](https://golang.org/pkg/time/#ParseDuration) MaxLeaseTtl pulumi.StringPtrInput `pulumi:"maxLeaseTtl"` // List of headers to whitelist and // pass from the request to the backend. PassthroughRequestHeaders pulumi.StringArrayInput `pulumi:"passthroughRequestHeaders"` // Specifies the type of tokens that should be returned by // the mount. Valid values are "default-service", "default-batch", "service", "batch". TokenType pulumi.StringPtrInput `pulumi:"tokenType"` }
func (AuthBackendTuneArgs) ElementType ¶
func (AuthBackendTuneArgs) ElementType() reflect.Type
func (AuthBackendTuneArgs) ToAuthBackendTuneOutput ¶
func (i AuthBackendTuneArgs) ToAuthBackendTuneOutput() AuthBackendTuneOutput
func (AuthBackendTuneArgs) ToAuthBackendTuneOutputWithContext ¶
func (i AuthBackendTuneArgs) ToAuthBackendTuneOutputWithContext(ctx context.Context) AuthBackendTuneOutput
func (AuthBackendTuneArgs) ToAuthBackendTunePtrOutput ¶
func (i AuthBackendTuneArgs) ToAuthBackendTunePtrOutput() AuthBackendTunePtrOutput
func (AuthBackendTuneArgs) ToAuthBackendTunePtrOutputWithContext ¶
func (i AuthBackendTuneArgs) ToAuthBackendTunePtrOutputWithContext(ctx context.Context) AuthBackendTunePtrOutput
type AuthBackendTuneInput ¶
type AuthBackendTuneInput interface { pulumi.Input ToAuthBackendTuneOutput() AuthBackendTuneOutput ToAuthBackendTuneOutputWithContext(context.Context) AuthBackendTuneOutput }
AuthBackendTuneInput is an input type that accepts AuthBackendTuneArgs and AuthBackendTuneOutput values. You can construct a concrete instance of `AuthBackendTuneInput` via:
AuthBackendTuneArgs{...}
type AuthBackendTuneOutput ¶
type AuthBackendTuneOutput struct{ *pulumi.OutputState }
func (AuthBackendTuneOutput) AllowedResponseHeaders ¶
func (o AuthBackendTuneOutput) AllowedResponseHeaders() pulumi.StringArrayOutput
List of headers to whitelist and allowing a plugin to include them in the response.
func (AuthBackendTuneOutput) AuditNonHmacRequestKeys ¶
func (o AuthBackendTuneOutput) AuditNonHmacRequestKeys() pulumi.StringArrayOutput
Specifies the list of keys that will not be HMAC'd by audit devices in the request data object.
func (AuthBackendTuneOutput) AuditNonHmacResponseKeys ¶
func (o AuthBackendTuneOutput) AuditNonHmacResponseKeys() pulumi.StringArrayOutput
Specifies the list of keys that will not be HMAC'd by audit devices in the response data object.
func (AuthBackendTuneOutput) DefaultLeaseTtl ¶
func (o AuthBackendTuneOutput) DefaultLeaseTtl() pulumi.StringPtrOutput
Specifies the default time-to-live. If set, this overrides the global default. Must be a valid [duration string](https://golang.org/pkg/time/#ParseDuration)
func (AuthBackendTuneOutput) ElementType ¶
func (AuthBackendTuneOutput) ElementType() reflect.Type
func (AuthBackendTuneOutput) ListingVisibility ¶
func (o AuthBackendTuneOutput) ListingVisibility() pulumi.StringPtrOutput
Specifies whether to show this mount in the UI-specific listing endpoint. Valid values are "unauth" or "hidden".
func (AuthBackendTuneOutput) MaxLeaseTtl ¶
func (o AuthBackendTuneOutput) MaxLeaseTtl() pulumi.StringPtrOutput
Specifies the maximum time-to-live. If set, this overrides the global default. Must be a valid [duration string](https://golang.org/pkg/time/#ParseDuration)
func (AuthBackendTuneOutput) PassthroughRequestHeaders ¶
func (o AuthBackendTuneOutput) PassthroughRequestHeaders() pulumi.StringArrayOutput
List of headers to whitelist and pass from the request to the backend.
func (AuthBackendTuneOutput) ToAuthBackendTuneOutput ¶
func (o AuthBackendTuneOutput) ToAuthBackendTuneOutput() AuthBackendTuneOutput
func (AuthBackendTuneOutput) ToAuthBackendTuneOutputWithContext ¶
func (o AuthBackendTuneOutput) ToAuthBackendTuneOutputWithContext(ctx context.Context) AuthBackendTuneOutput
func (AuthBackendTuneOutput) ToAuthBackendTunePtrOutput ¶
func (o AuthBackendTuneOutput) ToAuthBackendTunePtrOutput() AuthBackendTunePtrOutput
func (AuthBackendTuneOutput) ToAuthBackendTunePtrOutputWithContext ¶
func (o AuthBackendTuneOutput) ToAuthBackendTunePtrOutputWithContext(ctx context.Context) AuthBackendTunePtrOutput
func (AuthBackendTuneOutput) TokenType ¶
func (o AuthBackendTuneOutput) TokenType() pulumi.StringPtrOutput
Specifies the type of tokens that should be returned by the mount. Valid values are "default-service", "default-batch", "service", "batch".
type AuthBackendTunePtrInput ¶
type AuthBackendTunePtrInput interface { pulumi.Input ToAuthBackendTunePtrOutput() AuthBackendTunePtrOutput ToAuthBackendTunePtrOutputWithContext(context.Context) AuthBackendTunePtrOutput }
AuthBackendTunePtrInput is an input type that accepts AuthBackendTuneArgs, AuthBackendTunePtr and AuthBackendTunePtrOutput values. You can construct a concrete instance of `AuthBackendTunePtrInput` via:
AuthBackendTuneArgs{...} or: nil
func AuthBackendTunePtr ¶
func AuthBackendTunePtr(v *AuthBackendTuneArgs) AuthBackendTunePtrInput
type AuthBackendTunePtrOutput ¶
type AuthBackendTunePtrOutput struct{ *pulumi.OutputState }
func (AuthBackendTunePtrOutput) AllowedResponseHeaders ¶
func (o AuthBackendTunePtrOutput) AllowedResponseHeaders() pulumi.StringArrayOutput
List of headers to whitelist and allowing a plugin to include them in the response.
func (AuthBackendTunePtrOutput) AuditNonHmacRequestKeys ¶
func (o AuthBackendTunePtrOutput) AuditNonHmacRequestKeys() pulumi.StringArrayOutput
Specifies the list of keys that will not be HMAC'd by audit devices in the request data object.
func (AuthBackendTunePtrOutput) AuditNonHmacResponseKeys ¶
func (o AuthBackendTunePtrOutput) AuditNonHmacResponseKeys() pulumi.StringArrayOutput
Specifies the list of keys that will not be HMAC'd by audit devices in the response data object.
func (AuthBackendTunePtrOutput) DefaultLeaseTtl ¶
func (o AuthBackendTunePtrOutput) DefaultLeaseTtl() pulumi.StringPtrOutput
Specifies the default time-to-live. If set, this overrides the global default. Must be a valid [duration string](https://golang.org/pkg/time/#ParseDuration)
func (AuthBackendTunePtrOutput) Elem ¶
func (o AuthBackendTunePtrOutput) Elem() AuthBackendTuneOutput
func (AuthBackendTunePtrOutput) ElementType ¶
func (AuthBackendTunePtrOutput) ElementType() reflect.Type
func (AuthBackendTunePtrOutput) ListingVisibility ¶
func (o AuthBackendTunePtrOutput) ListingVisibility() pulumi.StringPtrOutput
Specifies whether to show this mount in the UI-specific listing endpoint. Valid values are "unauth" or "hidden".
func (AuthBackendTunePtrOutput) MaxLeaseTtl ¶
func (o AuthBackendTunePtrOutput) MaxLeaseTtl() pulumi.StringPtrOutput
Specifies the maximum time-to-live. If set, this overrides the global default. Must be a valid [duration string](https://golang.org/pkg/time/#ParseDuration)
func (AuthBackendTunePtrOutput) PassthroughRequestHeaders ¶
func (o AuthBackendTunePtrOutput) PassthroughRequestHeaders() pulumi.StringArrayOutput
List of headers to whitelist and pass from the request to the backend.
func (AuthBackendTunePtrOutput) ToAuthBackendTunePtrOutput ¶
func (o AuthBackendTunePtrOutput) ToAuthBackendTunePtrOutput() AuthBackendTunePtrOutput
func (AuthBackendTunePtrOutput) ToAuthBackendTunePtrOutputWithContext ¶
func (o AuthBackendTunePtrOutput) ToAuthBackendTunePtrOutputWithContext(ctx context.Context) AuthBackendTunePtrOutput
func (AuthBackendTunePtrOutput) TokenType ¶
func (o AuthBackendTunePtrOutput) TokenType() pulumi.StringPtrOutput
Specifies the type of tokens that should be returned by the mount. Valid values are "default-service", "default-batch", "service", "batch".
type CertAuthBackendRole ¶
type CertAuthBackendRole struct { pulumi.CustomResourceState // Allowed the common names for authenticated client certificates AllowedCommonNames pulumi.StringArrayOutput `pulumi:"allowedCommonNames"` // Allowed alternative dns names for authenticated client certificates AllowedDnsSans pulumi.StringArrayOutput `pulumi:"allowedDnsSans"` // Allowed emails for authenticated client certificates AllowedEmailSans pulumi.StringArrayOutput `pulumi:"allowedEmailSans"` // DEPRECATED: Please use the individual `allowed_X_sans` parameters instead. Allowed subject names for authenticated client certificates AllowedNames pulumi.StringArrayOutput `pulumi:"allowedNames"` // Allowed organization units for authenticated client certificates. AllowedOrganizationalUnits pulumi.StringArrayOutput `pulumi:"allowedOrganizationalUnits"` // Allowed URIs for authenticated client certificates AllowedUriSans pulumi.StringArrayOutput `pulumi:"allowedUriSans"` // Path to the mounted Cert auth backend Backend pulumi.StringPtrOutput `pulumi:"backend"` // CA certificate used to validate client certificates Certificate pulumi.StringOutput `pulumi:"certificate"` // The name to display on tokens issued under this role. DisplayName pulumi.StringOutput `pulumi:"displayName"` // Name of the role Name pulumi.StringOutput `pulumi:"name"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // Any additional CA certificates // needed to verify OCSP responses. Provided as base64 encoded PEM data. // Requires Vault version 1.13+. OcspCaCertificates pulumi.StringPtrOutput `pulumi:"ocspCaCertificates"` // If enabled, validate certificates' // revocation status using OCSP. Requires Vault version 1.13+. OcspEnabled pulumi.BoolOutput `pulumi:"ocspEnabled"` // If true and an OCSP response cannot // be fetched or is of an unknown status, the login will proceed as if the // certificate has not been revoked. // Requires Vault version 1.13+. OcspFailOpen pulumi.BoolOutput `pulumi:"ocspFailOpen"` // If set to true, rather than // accepting the first successful OCSP response, query all servers and consider // the certificate valid only if all servers agree. // Requires Vault version 1.13+. OcspQueryAllServers pulumi.BoolOutput `pulumi:"ocspQueryAllServers"` // : A comma-separated list of OCSP // server addresses. If unset, the OCSP server is determined from the // AuthorityInformationAccess extension on the certificate being inspected. // Requires Vault version 1.13+. OcspServersOverrides pulumi.StringArrayOutput `pulumi:"ocspServersOverrides"` // TLS extensions required on // client certificates RequiredExtensions pulumi.StringArrayOutput `pulumi:"requiredExtensions"` // Specifies the blocks of IP addresses which are allowed to use the generated token TokenBoundCidrs pulumi.StringArrayOutput `pulumi:"tokenBoundCidrs"` // Generated Token's Explicit Maximum TTL in seconds TokenExplicitMaxTtl pulumi.IntPtrOutput `pulumi:"tokenExplicitMaxTtl"` // The maximum lifetime of the generated token TokenMaxTtl pulumi.IntPtrOutput `pulumi:"tokenMaxTtl"` // If true, the 'default' policy will not automatically be added to generated tokens TokenNoDefaultPolicy pulumi.BoolPtrOutput `pulumi:"tokenNoDefaultPolicy"` // The maximum number of times a token may be used, a value of zero means unlimited TokenNumUses pulumi.IntPtrOutput `pulumi:"tokenNumUses"` // Generated Token's Period TokenPeriod pulumi.IntPtrOutput `pulumi:"tokenPeriod"` // Generated Token's Policies TokenPolicies pulumi.StringArrayOutput `pulumi:"tokenPolicies"` // The initial ttl of the token to generate in seconds TokenTtl pulumi.IntPtrOutput `pulumi:"tokenTtl"` // The type of token to generate, service or batch TokenType pulumi.StringPtrOutput `pulumi:"tokenType"` }
Provides a resource to create a role in an [Cert auth backend within Vault](https://www.vaultproject.io/docs/auth/cert.html).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-std/sdk/go/std" "github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cert, err := vault.NewAuthBackend(ctx, "cert", &vault.AuthBackendArgs{ Path: pulumi.String("cert"), Type: pulumi.String("cert"), }) if err != nil { return err } invokeFile, err := std.File(ctx, &std.FileArgs{ Input: "/path/to/certs/ca-cert.pem", }, nil) if err != nil { return err } _, err = vault.NewCertAuthBackendRole(ctx, "cert", &vault.CertAuthBackendRoleArgs{ Name: pulumi.String("foo"), Certificate: pulumi.String(invokeFile.Result), Backend: cert.Path, AllowedNames: pulumi.StringArray{ pulumi.String("foo.example.org"), pulumi.String("baz.example.org"), }, TokenTtl: pulumi.Int(300), TokenMaxTtl: pulumi.Int(600), TokenPolicies: pulumi.StringArray{ pulumi.String("foo"), }, }) if err != nil { return err } return nil }) }
```
func GetCertAuthBackendRole ¶
func GetCertAuthBackendRole(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CertAuthBackendRoleState, opts ...pulumi.ResourceOption) (*CertAuthBackendRole, error)
GetCertAuthBackendRole gets an existing CertAuthBackendRole 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 NewCertAuthBackendRole ¶
func NewCertAuthBackendRole(ctx *pulumi.Context, name string, args *CertAuthBackendRoleArgs, opts ...pulumi.ResourceOption) (*CertAuthBackendRole, error)
NewCertAuthBackendRole registers a new resource with the given unique name, arguments, and options.
func (*CertAuthBackendRole) ElementType ¶
func (*CertAuthBackendRole) ElementType() reflect.Type
func (*CertAuthBackendRole) ToCertAuthBackendRoleOutput ¶
func (i *CertAuthBackendRole) ToCertAuthBackendRoleOutput() CertAuthBackendRoleOutput
func (*CertAuthBackendRole) ToCertAuthBackendRoleOutputWithContext ¶
func (i *CertAuthBackendRole) ToCertAuthBackendRoleOutputWithContext(ctx context.Context) CertAuthBackendRoleOutput
type CertAuthBackendRoleArgs ¶
type CertAuthBackendRoleArgs struct { // Allowed the common names for authenticated client certificates AllowedCommonNames pulumi.StringArrayInput // Allowed alternative dns names for authenticated client certificates AllowedDnsSans pulumi.StringArrayInput // Allowed emails for authenticated client certificates AllowedEmailSans pulumi.StringArrayInput // DEPRECATED: Please use the individual `allowed_X_sans` parameters instead. Allowed subject names for authenticated client certificates AllowedNames pulumi.StringArrayInput // Allowed organization units for authenticated client certificates. AllowedOrganizationalUnits pulumi.StringArrayInput // Allowed URIs for authenticated client certificates AllowedUriSans pulumi.StringArrayInput // Path to the mounted Cert auth backend Backend pulumi.StringPtrInput // CA certificate used to validate client certificates Certificate pulumi.StringInput // The name to display on tokens issued under this role. DisplayName pulumi.StringPtrInput // Name of the role Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // Any additional CA certificates // needed to verify OCSP responses. Provided as base64 encoded PEM data. // Requires Vault version 1.13+. OcspCaCertificates pulumi.StringPtrInput // If enabled, validate certificates' // revocation status using OCSP. Requires Vault version 1.13+. OcspEnabled pulumi.BoolPtrInput // If true and an OCSP response cannot // be fetched or is of an unknown status, the login will proceed as if the // certificate has not been revoked. // Requires Vault version 1.13+. OcspFailOpen pulumi.BoolPtrInput // If set to true, rather than // accepting the first successful OCSP response, query all servers and consider // the certificate valid only if all servers agree. // Requires Vault version 1.13+. OcspQueryAllServers pulumi.BoolPtrInput // : A comma-separated list of OCSP // server addresses. If unset, the OCSP server is determined from the // AuthorityInformationAccess extension on the certificate being inspected. // Requires Vault version 1.13+. OcspServersOverrides pulumi.StringArrayInput // TLS extensions required on // client certificates RequiredExtensions pulumi.StringArrayInput // Specifies the blocks of IP addresses which are allowed to use the generated token TokenBoundCidrs pulumi.StringArrayInput // Generated Token's Explicit Maximum TTL in seconds TokenExplicitMaxTtl pulumi.IntPtrInput // The maximum lifetime of the generated token TokenMaxTtl pulumi.IntPtrInput // If true, the 'default' policy will not automatically be added to generated tokens TokenNoDefaultPolicy pulumi.BoolPtrInput // The maximum number of times a token may be used, a value of zero means unlimited TokenNumUses pulumi.IntPtrInput // Generated Token's Period TokenPeriod pulumi.IntPtrInput // Generated Token's Policies TokenPolicies pulumi.StringArrayInput // The initial ttl of the token to generate in seconds TokenTtl pulumi.IntPtrInput // The type of token to generate, service or batch TokenType pulumi.StringPtrInput }
The set of arguments for constructing a CertAuthBackendRole resource.
func (CertAuthBackendRoleArgs) ElementType ¶
func (CertAuthBackendRoleArgs) ElementType() reflect.Type
type CertAuthBackendRoleArray ¶
type CertAuthBackendRoleArray []CertAuthBackendRoleInput
func (CertAuthBackendRoleArray) ElementType ¶
func (CertAuthBackendRoleArray) ElementType() reflect.Type
func (CertAuthBackendRoleArray) ToCertAuthBackendRoleArrayOutput ¶
func (i CertAuthBackendRoleArray) ToCertAuthBackendRoleArrayOutput() CertAuthBackendRoleArrayOutput
func (CertAuthBackendRoleArray) ToCertAuthBackendRoleArrayOutputWithContext ¶
func (i CertAuthBackendRoleArray) ToCertAuthBackendRoleArrayOutputWithContext(ctx context.Context) CertAuthBackendRoleArrayOutput
type CertAuthBackendRoleArrayInput ¶
type CertAuthBackendRoleArrayInput interface { pulumi.Input ToCertAuthBackendRoleArrayOutput() CertAuthBackendRoleArrayOutput ToCertAuthBackendRoleArrayOutputWithContext(context.Context) CertAuthBackendRoleArrayOutput }
CertAuthBackendRoleArrayInput is an input type that accepts CertAuthBackendRoleArray and CertAuthBackendRoleArrayOutput values. You can construct a concrete instance of `CertAuthBackendRoleArrayInput` via:
CertAuthBackendRoleArray{ CertAuthBackendRoleArgs{...} }
type CertAuthBackendRoleArrayOutput ¶
type CertAuthBackendRoleArrayOutput struct{ *pulumi.OutputState }
func (CertAuthBackendRoleArrayOutput) ElementType ¶
func (CertAuthBackendRoleArrayOutput) ElementType() reflect.Type
func (CertAuthBackendRoleArrayOutput) Index ¶
func (o CertAuthBackendRoleArrayOutput) Index(i pulumi.IntInput) CertAuthBackendRoleOutput
func (CertAuthBackendRoleArrayOutput) ToCertAuthBackendRoleArrayOutput ¶
func (o CertAuthBackendRoleArrayOutput) ToCertAuthBackendRoleArrayOutput() CertAuthBackendRoleArrayOutput
func (CertAuthBackendRoleArrayOutput) ToCertAuthBackendRoleArrayOutputWithContext ¶
func (o CertAuthBackendRoleArrayOutput) ToCertAuthBackendRoleArrayOutputWithContext(ctx context.Context) CertAuthBackendRoleArrayOutput
type CertAuthBackendRoleInput ¶
type CertAuthBackendRoleInput interface { pulumi.Input ToCertAuthBackendRoleOutput() CertAuthBackendRoleOutput ToCertAuthBackendRoleOutputWithContext(ctx context.Context) CertAuthBackendRoleOutput }
type CertAuthBackendRoleMap ¶
type CertAuthBackendRoleMap map[string]CertAuthBackendRoleInput
func (CertAuthBackendRoleMap) ElementType ¶
func (CertAuthBackendRoleMap) ElementType() reflect.Type
func (CertAuthBackendRoleMap) ToCertAuthBackendRoleMapOutput ¶
func (i CertAuthBackendRoleMap) ToCertAuthBackendRoleMapOutput() CertAuthBackendRoleMapOutput
func (CertAuthBackendRoleMap) ToCertAuthBackendRoleMapOutputWithContext ¶
func (i CertAuthBackendRoleMap) ToCertAuthBackendRoleMapOutputWithContext(ctx context.Context) CertAuthBackendRoleMapOutput
type CertAuthBackendRoleMapInput ¶
type CertAuthBackendRoleMapInput interface { pulumi.Input ToCertAuthBackendRoleMapOutput() CertAuthBackendRoleMapOutput ToCertAuthBackendRoleMapOutputWithContext(context.Context) CertAuthBackendRoleMapOutput }
CertAuthBackendRoleMapInput is an input type that accepts CertAuthBackendRoleMap and CertAuthBackendRoleMapOutput values. You can construct a concrete instance of `CertAuthBackendRoleMapInput` via:
CertAuthBackendRoleMap{ "key": CertAuthBackendRoleArgs{...} }
type CertAuthBackendRoleMapOutput ¶
type CertAuthBackendRoleMapOutput struct{ *pulumi.OutputState }
func (CertAuthBackendRoleMapOutput) ElementType ¶
func (CertAuthBackendRoleMapOutput) ElementType() reflect.Type
func (CertAuthBackendRoleMapOutput) MapIndex ¶
func (o CertAuthBackendRoleMapOutput) MapIndex(k pulumi.StringInput) CertAuthBackendRoleOutput
func (CertAuthBackendRoleMapOutput) ToCertAuthBackendRoleMapOutput ¶
func (o CertAuthBackendRoleMapOutput) ToCertAuthBackendRoleMapOutput() CertAuthBackendRoleMapOutput
func (CertAuthBackendRoleMapOutput) ToCertAuthBackendRoleMapOutputWithContext ¶
func (o CertAuthBackendRoleMapOutput) ToCertAuthBackendRoleMapOutputWithContext(ctx context.Context) CertAuthBackendRoleMapOutput
type CertAuthBackendRoleOutput ¶
type CertAuthBackendRoleOutput struct{ *pulumi.OutputState }
func (CertAuthBackendRoleOutput) AllowedCommonNames ¶
func (o CertAuthBackendRoleOutput) AllowedCommonNames() pulumi.StringArrayOutput
Allowed the common names for authenticated client certificates
func (CertAuthBackendRoleOutput) AllowedDnsSans ¶
func (o CertAuthBackendRoleOutput) AllowedDnsSans() pulumi.StringArrayOutput
Allowed alternative dns names for authenticated client certificates
func (CertAuthBackendRoleOutput) AllowedEmailSans ¶
func (o CertAuthBackendRoleOutput) AllowedEmailSans() pulumi.StringArrayOutput
Allowed emails for authenticated client certificates
func (CertAuthBackendRoleOutput) AllowedNames ¶
func (o CertAuthBackendRoleOutput) AllowedNames() pulumi.StringArrayOutput
DEPRECATED: Please use the individual `allowed_X_sans` parameters instead. Allowed subject names for authenticated client certificates
func (CertAuthBackendRoleOutput) AllowedOrganizationalUnits ¶
func (o CertAuthBackendRoleOutput) AllowedOrganizationalUnits() pulumi.StringArrayOutput
Allowed organization units for authenticated client certificates.
func (CertAuthBackendRoleOutput) AllowedUriSans ¶
func (o CertAuthBackendRoleOutput) AllowedUriSans() pulumi.StringArrayOutput
Allowed URIs for authenticated client certificates
func (CertAuthBackendRoleOutput) Backend ¶
func (o CertAuthBackendRoleOutput) Backend() pulumi.StringPtrOutput
Path to the mounted Cert auth backend
func (CertAuthBackendRoleOutput) Certificate ¶
func (o CertAuthBackendRoleOutput) Certificate() pulumi.StringOutput
CA certificate used to validate client certificates
func (CertAuthBackendRoleOutput) DisplayName ¶
func (o CertAuthBackendRoleOutput) DisplayName() pulumi.StringOutput
The name to display on tokens issued under this role.
func (CertAuthBackendRoleOutput) ElementType ¶
func (CertAuthBackendRoleOutput) ElementType() reflect.Type
func (CertAuthBackendRoleOutput) Name ¶
func (o CertAuthBackendRoleOutput) Name() pulumi.StringOutput
Name of the role
func (CertAuthBackendRoleOutput) Namespace ¶
func (o CertAuthBackendRoleOutput) Namespace() pulumi.StringPtrOutput
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). *Available only for Vault Enterprise*.
func (CertAuthBackendRoleOutput) OcspCaCertificates ¶
func (o CertAuthBackendRoleOutput) OcspCaCertificates() pulumi.StringPtrOutput
Any additional CA certificates needed to verify OCSP responses. Provided as base64 encoded PEM data. Requires Vault version 1.13+.
func (CertAuthBackendRoleOutput) OcspEnabled ¶
func (o CertAuthBackendRoleOutput) OcspEnabled() pulumi.BoolOutput
If enabled, validate certificates' revocation status using OCSP. Requires Vault version 1.13+.
func (CertAuthBackendRoleOutput) OcspFailOpen ¶
func (o CertAuthBackendRoleOutput) OcspFailOpen() pulumi.BoolOutput
If true and an OCSP response cannot be fetched or is of an unknown status, the login will proceed as if the certificate has not been revoked. Requires Vault version 1.13+.
func (CertAuthBackendRoleOutput) OcspQueryAllServers ¶
func (o CertAuthBackendRoleOutput) OcspQueryAllServers() pulumi.BoolOutput
If set to true, rather than accepting the first successful OCSP response, query all servers and consider the certificate valid only if all servers agree. Requires Vault version 1.13+.
func (CertAuthBackendRoleOutput) OcspServersOverrides ¶
func (o CertAuthBackendRoleOutput) OcspServersOverrides() pulumi.StringArrayOutput
: A comma-separated list of OCSP server addresses. If unset, the OCSP server is determined from the AuthorityInformationAccess extension on the certificate being inspected. Requires Vault version 1.13+.
func (CertAuthBackendRoleOutput) RequiredExtensions ¶
func (o CertAuthBackendRoleOutput) RequiredExtensions() pulumi.StringArrayOutput
TLS extensions required on client certificates
func (CertAuthBackendRoleOutput) ToCertAuthBackendRoleOutput ¶
func (o CertAuthBackendRoleOutput) ToCertAuthBackendRoleOutput() CertAuthBackendRoleOutput
func (CertAuthBackendRoleOutput) ToCertAuthBackendRoleOutputWithContext ¶
func (o CertAuthBackendRoleOutput) ToCertAuthBackendRoleOutputWithContext(ctx context.Context) CertAuthBackendRoleOutput
func (CertAuthBackendRoleOutput) TokenBoundCidrs ¶
func (o CertAuthBackendRoleOutput) TokenBoundCidrs() pulumi.StringArrayOutput
Specifies the blocks of IP addresses which are allowed to use the generated token
func (CertAuthBackendRoleOutput) TokenExplicitMaxTtl ¶
func (o CertAuthBackendRoleOutput) TokenExplicitMaxTtl() pulumi.IntPtrOutput
Generated Token's Explicit Maximum TTL in seconds
func (CertAuthBackendRoleOutput) TokenMaxTtl ¶
func (o CertAuthBackendRoleOutput) TokenMaxTtl() pulumi.IntPtrOutput
The maximum lifetime of the generated token
func (CertAuthBackendRoleOutput) TokenNoDefaultPolicy ¶
func (o CertAuthBackendRoleOutput) TokenNoDefaultPolicy() pulumi.BoolPtrOutput
If true, the 'default' policy will not automatically be added to generated tokens
func (CertAuthBackendRoleOutput) TokenNumUses ¶
func (o CertAuthBackendRoleOutput) TokenNumUses() pulumi.IntPtrOutput
The maximum number of times a token may be used, a value of zero means unlimited
func (CertAuthBackendRoleOutput) TokenPeriod ¶
func (o CertAuthBackendRoleOutput) TokenPeriod() pulumi.IntPtrOutput
Generated Token's Period
func (CertAuthBackendRoleOutput) TokenPolicies ¶
func (o CertAuthBackendRoleOutput) TokenPolicies() pulumi.StringArrayOutput
Generated Token's Policies
func (CertAuthBackendRoleOutput) TokenTtl ¶
func (o CertAuthBackendRoleOutput) TokenTtl() pulumi.IntPtrOutput
The initial ttl of the token to generate in seconds
func (CertAuthBackendRoleOutput) TokenType ¶
func (o CertAuthBackendRoleOutput) TokenType() pulumi.StringPtrOutput
The type of token to generate, service or batch
type CertAuthBackendRoleState ¶
type CertAuthBackendRoleState struct { // Allowed the common names for authenticated client certificates AllowedCommonNames pulumi.StringArrayInput // Allowed alternative dns names for authenticated client certificates AllowedDnsSans pulumi.StringArrayInput // Allowed emails for authenticated client certificates AllowedEmailSans pulumi.StringArrayInput // DEPRECATED: Please use the individual `allowed_X_sans` parameters instead. Allowed subject names for authenticated client certificates AllowedNames pulumi.StringArrayInput // Allowed organization units for authenticated client certificates. AllowedOrganizationalUnits pulumi.StringArrayInput // Allowed URIs for authenticated client certificates AllowedUriSans pulumi.StringArrayInput // Path to the mounted Cert auth backend Backend pulumi.StringPtrInput // CA certificate used to validate client certificates Certificate pulumi.StringPtrInput // The name to display on tokens issued under this role. DisplayName pulumi.StringPtrInput // Name of the role Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // Any additional CA certificates // needed to verify OCSP responses. Provided as base64 encoded PEM data. // Requires Vault version 1.13+. OcspCaCertificates pulumi.StringPtrInput // If enabled, validate certificates' // revocation status using OCSP. Requires Vault version 1.13+. OcspEnabled pulumi.BoolPtrInput // If true and an OCSP response cannot // be fetched or is of an unknown status, the login will proceed as if the // certificate has not been revoked. // Requires Vault version 1.13+. OcspFailOpen pulumi.BoolPtrInput // If set to true, rather than // accepting the first successful OCSP response, query all servers and consider // the certificate valid only if all servers agree. // Requires Vault version 1.13+. OcspQueryAllServers pulumi.BoolPtrInput // : A comma-separated list of OCSP // server addresses. If unset, the OCSP server is determined from the // AuthorityInformationAccess extension on the certificate being inspected. // Requires Vault version 1.13+. OcspServersOverrides pulumi.StringArrayInput // TLS extensions required on // client certificates RequiredExtensions pulumi.StringArrayInput // Specifies the blocks of IP addresses which are allowed to use the generated token TokenBoundCidrs pulumi.StringArrayInput // Generated Token's Explicit Maximum TTL in seconds TokenExplicitMaxTtl pulumi.IntPtrInput // The maximum lifetime of the generated token TokenMaxTtl pulumi.IntPtrInput // If true, the 'default' policy will not automatically be added to generated tokens TokenNoDefaultPolicy pulumi.BoolPtrInput // The maximum number of times a token may be used, a value of zero means unlimited TokenNumUses pulumi.IntPtrInput // Generated Token's Period TokenPeriod pulumi.IntPtrInput // Generated Token's Policies TokenPolicies pulumi.StringArrayInput // The initial ttl of the token to generate in seconds TokenTtl pulumi.IntPtrInput // The type of token to generate, service or batch TokenType pulumi.StringPtrInput }
func (CertAuthBackendRoleState) ElementType ¶
func (CertAuthBackendRoleState) ElementType() reflect.Type
type EgpPolicy ¶
type EgpPolicy struct { pulumi.CustomResourceState // Enforcement level of Sentinel policy. Can be either `advisory` or `soft-mandatory` or `hard-mandatory` EnforcementLevel pulumi.StringOutput `pulumi:"enforcementLevel"` // The name of the policy Name pulumi.StringOutput `pulumi:"name"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // List of paths to which the policy will be applied to Paths pulumi.StringArrayOutput `pulumi:"paths"` // String containing a Sentinel policy Policy pulumi.StringOutput `pulumi:"policy"` }
Provides a resource to manage Endpoint Governing Policy (EGP) via [Sentinel](https://www.vaultproject.io/docs/enterprise/sentinel/index.html).
**Note** this feature is available only with Vault Enterprise.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.NewEgpPolicy(ctx, "allow-all", &vault.EgpPolicyArgs{ Name: pulumi.String("allow-all"), Paths: pulumi.StringArray{ pulumi.String("*"), }, EnforcementLevel: pulumi.String("soft-mandatory"), Policy: pulumi.String("main = rule {\n true\n}\n"), }) if err != nil { return err } return nil }) }
```
func GetEgpPolicy ¶
func GetEgpPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EgpPolicyState, opts ...pulumi.ResourceOption) (*EgpPolicy, error)
GetEgpPolicy gets an existing EgpPolicy 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 NewEgpPolicy ¶
func NewEgpPolicy(ctx *pulumi.Context, name string, args *EgpPolicyArgs, opts ...pulumi.ResourceOption) (*EgpPolicy, error)
NewEgpPolicy registers a new resource with the given unique name, arguments, and options.
func (*EgpPolicy) ElementType ¶
func (*EgpPolicy) ToEgpPolicyOutput ¶
func (i *EgpPolicy) ToEgpPolicyOutput() EgpPolicyOutput
func (*EgpPolicy) ToEgpPolicyOutputWithContext ¶
func (i *EgpPolicy) ToEgpPolicyOutputWithContext(ctx context.Context) EgpPolicyOutput
type EgpPolicyArgs ¶
type EgpPolicyArgs struct { // Enforcement level of Sentinel policy. Can be either `advisory` or `soft-mandatory` or `hard-mandatory` EnforcementLevel pulumi.StringInput // The name of the policy Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // List of paths to which the policy will be applied to Paths pulumi.StringArrayInput // String containing a Sentinel policy Policy pulumi.StringInput }
The set of arguments for constructing a EgpPolicy resource.
func (EgpPolicyArgs) ElementType ¶
func (EgpPolicyArgs) ElementType() reflect.Type
type EgpPolicyArray ¶
type EgpPolicyArray []EgpPolicyInput
func (EgpPolicyArray) ElementType ¶
func (EgpPolicyArray) ElementType() reflect.Type
func (EgpPolicyArray) ToEgpPolicyArrayOutput ¶
func (i EgpPolicyArray) ToEgpPolicyArrayOutput() EgpPolicyArrayOutput
func (EgpPolicyArray) ToEgpPolicyArrayOutputWithContext ¶
func (i EgpPolicyArray) ToEgpPolicyArrayOutputWithContext(ctx context.Context) EgpPolicyArrayOutput
type EgpPolicyArrayInput ¶
type EgpPolicyArrayInput interface { pulumi.Input ToEgpPolicyArrayOutput() EgpPolicyArrayOutput ToEgpPolicyArrayOutputWithContext(context.Context) EgpPolicyArrayOutput }
EgpPolicyArrayInput is an input type that accepts EgpPolicyArray and EgpPolicyArrayOutput values. You can construct a concrete instance of `EgpPolicyArrayInput` via:
EgpPolicyArray{ EgpPolicyArgs{...} }
type EgpPolicyArrayOutput ¶
type EgpPolicyArrayOutput struct{ *pulumi.OutputState }
func (EgpPolicyArrayOutput) ElementType ¶
func (EgpPolicyArrayOutput) ElementType() reflect.Type
func (EgpPolicyArrayOutput) Index ¶
func (o EgpPolicyArrayOutput) Index(i pulumi.IntInput) EgpPolicyOutput
func (EgpPolicyArrayOutput) ToEgpPolicyArrayOutput ¶
func (o EgpPolicyArrayOutput) ToEgpPolicyArrayOutput() EgpPolicyArrayOutput
func (EgpPolicyArrayOutput) ToEgpPolicyArrayOutputWithContext ¶
func (o EgpPolicyArrayOutput) ToEgpPolicyArrayOutputWithContext(ctx context.Context) EgpPolicyArrayOutput
type EgpPolicyInput ¶
type EgpPolicyInput interface { pulumi.Input ToEgpPolicyOutput() EgpPolicyOutput ToEgpPolicyOutputWithContext(ctx context.Context) EgpPolicyOutput }
type EgpPolicyMap ¶
type EgpPolicyMap map[string]EgpPolicyInput
func (EgpPolicyMap) ElementType ¶
func (EgpPolicyMap) ElementType() reflect.Type
func (EgpPolicyMap) ToEgpPolicyMapOutput ¶
func (i EgpPolicyMap) ToEgpPolicyMapOutput() EgpPolicyMapOutput
func (EgpPolicyMap) ToEgpPolicyMapOutputWithContext ¶
func (i EgpPolicyMap) ToEgpPolicyMapOutputWithContext(ctx context.Context) EgpPolicyMapOutput
type EgpPolicyMapInput ¶
type EgpPolicyMapInput interface { pulumi.Input ToEgpPolicyMapOutput() EgpPolicyMapOutput ToEgpPolicyMapOutputWithContext(context.Context) EgpPolicyMapOutput }
EgpPolicyMapInput is an input type that accepts EgpPolicyMap and EgpPolicyMapOutput values. You can construct a concrete instance of `EgpPolicyMapInput` via:
EgpPolicyMap{ "key": EgpPolicyArgs{...} }
type EgpPolicyMapOutput ¶
type EgpPolicyMapOutput struct{ *pulumi.OutputState }
func (EgpPolicyMapOutput) ElementType ¶
func (EgpPolicyMapOutput) ElementType() reflect.Type
func (EgpPolicyMapOutput) MapIndex ¶
func (o EgpPolicyMapOutput) MapIndex(k pulumi.StringInput) EgpPolicyOutput
func (EgpPolicyMapOutput) ToEgpPolicyMapOutput ¶
func (o EgpPolicyMapOutput) ToEgpPolicyMapOutput() EgpPolicyMapOutput
func (EgpPolicyMapOutput) ToEgpPolicyMapOutputWithContext ¶
func (o EgpPolicyMapOutput) ToEgpPolicyMapOutputWithContext(ctx context.Context) EgpPolicyMapOutput
type EgpPolicyOutput ¶
type EgpPolicyOutput struct{ *pulumi.OutputState }
func (EgpPolicyOutput) ElementType ¶
func (EgpPolicyOutput) ElementType() reflect.Type
func (EgpPolicyOutput) EnforcementLevel ¶
func (o EgpPolicyOutput) EnforcementLevel() pulumi.StringOutput
Enforcement level of Sentinel policy. Can be either `advisory` or `soft-mandatory` or `hard-mandatory`
func (EgpPolicyOutput) Name ¶
func (o EgpPolicyOutput) Name() pulumi.StringOutput
The name of the policy
func (EgpPolicyOutput) Namespace ¶
func (o EgpPolicyOutput) Namespace() pulumi.StringPtrOutput
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). *Available only for Vault Enterprise*.
func (EgpPolicyOutput) Paths ¶
func (o EgpPolicyOutput) Paths() pulumi.StringArrayOutput
List of paths to which the policy will be applied to
func (EgpPolicyOutput) Policy ¶
func (o EgpPolicyOutput) Policy() pulumi.StringOutput
String containing a Sentinel policy
func (EgpPolicyOutput) ToEgpPolicyOutput ¶
func (o EgpPolicyOutput) ToEgpPolicyOutput() EgpPolicyOutput
func (EgpPolicyOutput) ToEgpPolicyOutputWithContext ¶
func (o EgpPolicyOutput) ToEgpPolicyOutputWithContext(ctx context.Context) EgpPolicyOutput
type EgpPolicyState ¶
type EgpPolicyState struct { // Enforcement level of Sentinel policy. Can be either `advisory` or `soft-mandatory` or `hard-mandatory` EnforcementLevel pulumi.StringPtrInput // The name of the policy Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // List of paths to which the policy will be applied to Paths pulumi.StringArrayInput // String containing a Sentinel policy Policy pulumi.StringPtrInput }
func (EgpPolicyState) ElementType ¶
func (EgpPolicyState) ElementType() reflect.Type
type GetAuthBackendsArgs ¶
type GetAuthBackendsArgs struct { // The namespace of the target resource. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace *string `pulumi:"namespace"` // The name of the auth method type. Allows filtering of backends returned by type. Type *string `pulumi:"type"` }
A collection of arguments for invoking getAuthBackends.
type GetAuthBackendsOutputArgs ¶
type GetAuthBackendsOutputArgs struct { // The namespace of the target resource. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput `pulumi:"namespace"` // The name of the auth method type. Allows filtering of backends returned by type. Type pulumi.StringPtrInput `pulumi:"type"` }
A collection of arguments for invoking getAuthBackends.
func (GetAuthBackendsOutputArgs) ElementType ¶
func (GetAuthBackendsOutputArgs) ElementType() reflect.Type
type GetAuthBackendsResult ¶
type GetAuthBackendsResult struct { // The accessor IDs for the auth methods. Accessors []string `pulumi:"accessors"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Namespace *string `pulumi:"namespace"` // List of auth backend mount points. Paths []string `pulumi:"paths"` Type *string `pulumi:"type"` }
A collection of values returned by getAuthBackends.
func GetAuthBackends ¶
func GetAuthBackends(ctx *pulumi.Context, args *GetAuthBackendsArgs, opts ...pulumi.InvokeOption) (*GetAuthBackendsResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.GetAuthBackends(ctx, &vault.GetAuthBackendsArgs{}, nil) if err != nil { return err } return nil }) }
```
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.GetAuthBackends(ctx, &vault.GetAuthBackendsArgs{ Type: pulumi.StringRef("kubernetes"), }, nil) if err != nil { return err } return nil }) }
```
type GetAuthBackendsResultOutput ¶
type GetAuthBackendsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAuthBackends.
func GetAuthBackendsOutput ¶
func GetAuthBackendsOutput(ctx *pulumi.Context, args GetAuthBackendsOutputArgs, opts ...pulumi.InvokeOption) GetAuthBackendsResultOutput
func (GetAuthBackendsResultOutput) Accessors ¶
func (o GetAuthBackendsResultOutput) Accessors() pulumi.StringArrayOutput
The accessor IDs for the auth methods.
func (GetAuthBackendsResultOutput) ElementType ¶
func (GetAuthBackendsResultOutput) ElementType() reflect.Type
func (GetAuthBackendsResultOutput) Id ¶
func (o GetAuthBackendsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetAuthBackendsResultOutput) Namespace ¶
func (o GetAuthBackendsResultOutput) Namespace() pulumi.StringPtrOutput
func (GetAuthBackendsResultOutput) Paths ¶
func (o GetAuthBackendsResultOutput) Paths() pulumi.StringArrayOutput
List of auth backend mount points.
func (GetAuthBackendsResultOutput) ToGetAuthBackendsResultOutput ¶
func (o GetAuthBackendsResultOutput) ToGetAuthBackendsResultOutput() GetAuthBackendsResultOutput
func (GetAuthBackendsResultOutput) ToGetAuthBackendsResultOutputWithContext ¶
func (o GetAuthBackendsResultOutput) ToGetAuthBackendsResultOutputWithContext(ctx context.Context) GetAuthBackendsResultOutput
func (GetAuthBackendsResultOutput) Type ¶
func (o GetAuthBackendsResultOutput) Type() pulumi.StringPtrOutput
type GetNamespacesArgs ¶ added in v6.1.0
type GetNamespacesArgs struct { // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace). Namespace *string `pulumi:"namespace"` }
A collection of arguments for invoking getNamespaces.
type GetNamespacesOutputArgs ¶ added in v6.1.0
type GetNamespacesOutputArgs struct { // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace). Namespace pulumi.StringPtrInput `pulumi:"namespace"` }
A collection of arguments for invoking getNamespaces.
func (GetNamespacesOutputArgs) ElementType ¶ added in v6.1.0
func (GetNamespacesOutputArgs) ElementType() reflect.Type
type GetNamespacesResult ¶ added in v6.1.0
type GetNamespacesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Namespace *string `pulumi:"namespace"` // Set of the paths of direct child namespaces. Paths []string `pulumi:"paths"` }
A collection of values returned by getNamespaces.
func GetNamespaces ¶ added in v6.1.0
func GetNamespaces(ctx *pulumi.Context, args *GetNamespacesArgs, opts ...pulumi.InvokeOption) (*GetNamespacesResult, error)
## Example Usage
### Child namespaces
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.GetNamespaces(ctx, &vault.GetNamespacesArgs{}, nil) if err != nil { return err } return nil }) }
```
type GetNamespacesResultOutput ¶ added in v6.1.0
type GetNamespacesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getNamespaces.
func GetNamespacesOutput ¶ added in v6.1.0
func GetNamespacesOutput(ctx *pulumi.Context, args GetNamespacesOutputArgs, opts ...pulumi.InvokeOption) GetNamespacesResultOutput
func (GetNamespacesResultOutput) ElementType ¶ added in v6.1.0
func (GetNamespacesResultOutput) ElementType() reflect.Type
func (GetNamespacesResultOutput) Id ¶ added in v6.1.0
func (o GetNamespacesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetNamespacesResultOutput) Namespace ¶ added in v6.1.0
func (o GetNamespacesResultOutput) Namespace() pulumi.StringPtrOutput
func (GetNamespacesResultOutput) Paths ¶ added in v6.1.0
func (o GetNamespacesResultOutput) Paths() pulumi.StringArrayOutput
Set of the paths of direct child namespaces.
func (GetNamespacesResultOutput) ToGetNamespacesResultOutput ¶ added in v6.1.0
func (o GetNamespacesResultOutput) ToGetNamespacesResultOutput() GetNamespacesResultOutput
func (GetNamespacesResultOutput) ToGetNamespacesResultOutputWithContext ¶ added in v6.1.0
func (o GetNamespacesResultOutput) ToGetNamespacesResultOutputWithContext(ctx context.Context) GetNamespacesResultOutput
type GetNomadAccessTokenArgs ¶
type GetNomadAccessTokenArgs struct { // The path to the Nomad secret backend to // read credentials from, with no leading or trailing `/`s. Backend string `pulumi:"backend"` // The namespace of the target resource. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace *string `pulumi:"namespace"` // The name of the Nomad secret backend role to generate // a token for, with no leading or trailing `/`s. Role string `pulumi:"role"` }
A collection of arguments for invoking getNomadAccessToken.
type GetNomadAccessTokenOutputArgs ¶
type GetNomadAccessTokenOutputArgs struct { // The path to the Nomad secret backend to // read credentials from, with no leading or trailing `/`s. Backend pulumi.StringInput `pulumi:"backend"` // The namespace of the target resource. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput `pulumi:"namespace"` // The name of the Nomad secret backend role to generate // a token for, with no leading or trailing `/`s. Role pulumi.StringInput `pulumi:"role"` }
A collection of arguments for invoking getNomadAccessToken.
func (GetNomadAccessTokenOutputArgs) ElementType ¶
func (GetNomadAccessTokenOutputArgs) ElementType() reflect.Type
type GetNomadAccessTokenResult ¶
type GetNomadAccessTokenResult struct { // The public identifier for a specific token. It can be used // to look up information about a token or to revoke a token. AccessorId string `pulumi:"accessorId"` Backend string `pulumi:"backend"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Namespace *string `pulumi:"namespace"` Role string `pulumi:"role"` // The token to be used when making requests to Nomad and should be kept private. SecretId string `pulumi:"secretId"` }
A collection of values returned by getNomadAccessToken.
func GetNomadAccessToken ¶
func GetNomadAccessToken(ctx *pulumi.Context, args *GetNomadAccessTokenArgs, opts ...pulumi.InvokeOption) (*GetNomadAccessTokenResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { config, err := vault.NewNomadSecretBackend(ctx, "config", &vault.NomadSecretBackendArgs{ Backend: pulumi.String("nomad"), Description: pulumi.String("test description"), DefaultLeaseTtlSeconds: pulumi.Int(3600), MaxLeaseTtlSeconds: pulumi.Int(7200), Address: pulumi.String("https://127.0.0.1:4646"), Token: pulumi.String("ae20ceaa-..."), }) if err != nil { return err } test, err := vault.NewNomadSecretRole(ctx, "test", &vault.NomadSecretRoleArgs{ Backend: config.Backend, Role: pulumi.String("test"), Type: pulumi.String("client"), Policies: pulumi.StringArray{ pulumi.String("readonly"), }, }) if err != nil { return err } _ = pulumi.All(config.Backend, test.Role).ApplyT(func(_args []interface{}) (vault.GetNomadAccessTokenResult, error) { backend := _args[0].(*string) role := _args[1].(string) return vault.GetNomadAccessTokenResult(interface{}(vault.GetNomadAccessTokenOutput(ctx, vault.GetNomadAccessTokenOutputArgs{ Backend: backend, Role: role, }, nil))), nil }).(vault.GetNomadAccessTokenResultOutput) return nil }) }
```
type GetNomadAccessTokenResultOutput ¶
type GetNomadAccessTokenResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getNomadAccessToken.
func GetNomadAccessTokenOutput ¶
func GetNomadAccessTokenOutput(ctx *pulumi.Context, args GetNomadAccessTokenOutputArgs, opts ...pulumi.InvokeOption) GetNomadAccessTokenResultOutput
func (GetNomadAccessTokenResultOutput) AccessorId ¶
func (o GetNomadAccessTokenResultOutput) AccessorId() pulumi.StringOutput
The public identifier for a specific token. It can be used to look up information about a token or to revoke a token.
func (GetNomadAccessTokenResultOutput) Backend ¶
func (o GetNomadAccessTokenResultOutput) Backend() pulumi.StringOutput
func (GetNomadAccessTokenResultOutput) ElementType ¶
func (GetNomadAccessTokenResultOutput) ElementType() reflect.Type
func (GetNomadAccessTokenResultOutput) Id ¶
func (o GetNomadAccessTokenResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetNomadAccessTokenResultOutput) Namespace ¶
func (o GetNomadAccessTokenResultOutput) Namespace() pulumi.StringPtrOutput
func (GetNomadAccessTokenResultOutput) Role ¶
func (o GetNomadAccessTokenResultOutput) Role() pulumi.StringOutput
func (GetNomadAccessTokenResultOutput) SecretId ¶
func (o GetNomadAccessTokenResultOutput) SecretId() pulumi.StringOutput
The token to be used when making requests to Nomad and should be kept private.
func (GetNomadAccessTokenResultOutput) ToGetNomadAccessTokenResultOutput ¶
func (o GetNomadAccessTokenResultOutput) ToGetNomadAccessTokenResultOutput() GetNomadAccessTokenResultOutput
func (GetNomadAccessTokenResultOutput) ToGetNomadAccessTokenResultOutputWithContext ¶
func (o GetNomadAccessTokenResultOutput) ToGetNomadAccessTokenResultOutputWithContext(ctx context.Context) GetNomadAccessTokenResultOutput
type GetPolicyDocumentArgs ¶
type GetPolicyDocumentArgs struct { Namespace *string `pulumi:"namespace"` Rules []GetPolicyDocumentRule `pulumi:"rules"` }
A collection of arguments for invoking getPolicyDocument.
type GetPolicyDocumentOutputArgs ¶
type GetPolicyDocumentOutputArgs struct { Namespace pulumi.StringPtrInput `pulumi:"namespace"` Rules GetPolicyDocumentRuleArrayInput `pulumi:"rules"` }
A collection of arguments for invoking getPolicyDocument.
func (GetPolicyDocumentOutputArgs) ElementType ¶
func (GetPolicyDocumentOutputArgs) ElementType() reflect.Type
type GetPolicyDocumentResult ¶
type GetPolicyDocumentResult struct { // The above arguments serialized as a standard Vault HCL policy document. Hcl string `pulumi:"hcl"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Namespace *string `pulumi:"namespace"` Rules []GetPolicyDocumentRule `pulumi:"rules"` }
A collection of values returned by getPolicyDocument.
func GetPolicyDocument ¶
func GetPolicyDocument(ctx *pulumi.Context, args *GetPolicyDocumentArgs, opts ...pulumi.InvokeOption) (*GetPolicyDocumentResult, error)
This is a data source which can be used to construct a HCL representation of an Vault policy document, for use with resources which expect policy documents, such as the `Policy` resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := vault.GetPolicyDocument(ctx, &vault.GetPolicyDocumentArgs{ Rules: []vault.GetPolicyDocumentRule{ { Path: "secret/*", Capabilities: []string{ "create", "read", "update", "delete", "list", }, Description: pulumi.StringRef("allow all on secrets"), }, }, }, nil) if err != nil { return err } _, err = vault.NewPolicy(ctx, "example", &vault.PolicyArgs{ Name: pulumi.String("example_policy"), Policy: pulumi.String(example.Hcl), }) if err != nil { return err } return nil }) }
```
type GetPolicyDocumentResultOutput ¶
type GetPolicyDocumentResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getPolicyDocument.
func GetPolicyDocumentOutput ¶
func GetPolicyDocumentOutput(ctx *pulumi.Context, args GetPolicyDocumentOutputArgs, opts ...pulumi.InvokeOption) GetPolicyDocumentResultOutput
func (GetPolicyDocumentResultOutput) ElementType ¶
func (GetPolicyDocumentResultOutput) ElementType() reflect.Type
func (GetPolicyDocumentResultOutput) Hcl ¶
func (o GetPolicyDocumentResultOutput) Hcl() pulumi.StringOutput
The above arguments serialized as a standard Vault HCL policy document.
func (GetPolicyDocumentResultOutput) Id ¶
func (o GetPolicyDocumentResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetPolicyDocumentResultOutput) Namespace ¶
func (o GetPolicyDocumentResultOutput) Namespace() pulumi.StringPtrOutput
func (GetPolicyDocumentResultOutput) Rules ¶
func (o GetPolicyDocumentResultOutput) Rules() GetPolicyDocumentRuleArrayOutput
func (GetPolicyDocumentResultOutput) ToGetPolicyDocumentResultOutput ¶
func (o GetPolicyDocumentResultOutput) ToGetPolicyDocumentResultOutput() GetPolicyDocumentResultOutput
func (GetPolicyDocumentResultOutput) ToGetPolicyDocumentResultOutputWithContext ¶
func (o GetPolicyDocumentResultOutput) ToGetPolicyDocumentResultOutputWithContext(ctx context.Context) GetPolicyDocumentResultOutput
type GetPolicyDocumentRule ¶
type GetPolicyDocumentRule struct { // Whitelists a list of keys and values that are permitted on the given path. See Parameters below. AllowedParameters []GetPolicyDocumentRuleAllowedParameter `pulumi:"allowedParameters"` // A list of capabilities that this rule apply to `path`. For example, ["read", "write"]. Capabilities []string `pulumi:"capabilities"` // Blacklists a list of parameter and values. Any values specified here take precedence over `allowedParameter`. See Parameters below. DeniedParameters []GetPolicyDocumentRuleDeniedParameter `pulumi:"deniedParameters"` // Description of the rule. Will be added as a comment to rendered rule. Description *string `pulumi:"description"` // The maximum allowed TTL that clients can specify for a wrapped response. MaxWrappingTtl *string `pulumi:"maxWrappingTtl"` // The minimum allowed TTL that clients can specify for a wrapped response. MinWrappingTtl *string `pulumi:"minWrappingTtl"` // A path in Vault that this rule applies to. Path string `pulumi:"path"` // A list of parameters that must be specified. RequiredParameters []string `pulumi:"requiredParameters"` }
type GetPolicyDocumentRuleAllowedParameterArgs ¶
type GetPolicyDocumentRuleAllowedParameterArgs struct { // name of permitted or denied parameter. Key pulumi.StringInput `pulumi:"key"` // list of values what are permitted or denied by policy rule. Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetPolicyDocumentRuleAllowedParameterArgs) ElementType ¶
func (GetPolicyDocumentRuleAllowedParameterArgs) ElementType() reflect.Type
func (GetPolicyDocumentRuleAllowedParameterArgs) ToGetPolicyDocumentRuleAllowedParameterOutput ¶
func (i GetPolicyDocumentRuleAllowedParameterArgs) ToGetPolicyDocumentRuleAllowedParameterOutput() GetPolicyDocumentRuleAllowedParameterOutput
func (GetPolicyDocumentRuleAllowedParameterArgs) ToGetPolicyDocumentRuleAllowedParameterOutputWithContext ¶
func (i GetPolicyDocumentRuleAllowedParameterArgs) ToGetPolicyDocumentRuleAllowedParameterOutputWithContext(ctx context.Context) GetPolicyDocumentRuleAllowedParameterOutput
type GetPolicyDocumentRuleAllowedParameterArray ¶
type GetPolicyDocumentRuleAllowedParameterArray []GetPolicyDocumentRuleAllowedParameterInput
func (GetPolicyDocumentRuleAllowedParameterArray) ElementType ¶
func (GetPolicyDocumentRuleAllowedParameterArray) ElementType() reflect.Type
func (GetPolicyDocumentRuleAllowedParameterArray) ToGetPolicyDocumentRuleAllowedParameterArrayOutput ¶
func (i GetPolicyDocumentRuleAllowedParameterArray) ToGetPolicyDocumentRuleAllowedParameterArrayOutput() GetPolicyDocumentRuleAllowedParameterArrayOutput
func (GetPolicyDocumentRuleAllowedParameterArray) ToGetPolicyDocumentRuleAllowedParameterArrayOutputWithContext ¶
func (i GetPolicyDocumentRuleAllowedParameterArray) ToGetPolicyDocumentRuleAllowedParameterArrayOutputWithContext(ctx context.Context) GetPolicyDocumentRuleAllowedParameterArrayOutput
type GetPolicyDocumentRuleAllowedParameterArrayInput ¶
type GetPolicyDocumentRuleAllowedParameterArrayInput interface { pulumi.Input ToGetPolicyDocumentRuleAllowedParameterArrayOutput() GetPolicyDocumentRuleAllowedParameterArrayOutput ToGetPolicyDocumentRuleAllowedParameterArrayOutputWithContext(context.Context) GetPolicyDocumentRuleAllowedParameterArrayOutput }
GetPolicyDocumentRuleAllowedParameterArrayInput is an input type that accepts GetPolicyDocumentRuleAllowedParameterArray and GetPolicyDocumentRuleAllowedParameterArrayOutput values. You can construct a concrete instance of `GetPolicyDocumentRuleAllowedParameterArrayInput` via:
GetPolicyDocumentRuleAllowedParameterArray{ GetPolicyDocumentRuleAllowedParameterArgs{...} }
type GetPolicyDocumentRuleAllowedParameterArrayOutput ¶
type GetPolicyDocumentRuleAllowedParameterArrayOutput struct{ *pulumi.OutputState }
func (GetPolicyDocumentRuleAllowedParameterArrayOutput) ElementType ¶
func (GetPolicyDocumentRuleAllowedParameterArrayOutput) ElementType() reflect.Type
func (GetPolicyDocumentRuleAllowedParameterArrayOutput) ToGetPolicyDocumentRuleAllowedParameterArrayOutput ¶
func (o GetPolicyDocumentRuleAllowedParameterArrayOutput) ToGetPolicyDocumentRuleAllowedParameterArrayOutput() GetPolicyDocumentRuleAllowedParameterArrayOutput
func (GetPolicyDocumentRuleAllowedParameterArrayOutput) ToGetPolicyDocumentRuleAllowedParameterArrayOutputWithContext ¶
func (o GetPolicyDocumentRuleAllowedParameterArrayOutput) ToGetPolicyDocumentRuleAllowedParameterArrayOutputWithContext(ctx context.Context) GetPolicyDocumentRuleAllowedParameterArrayOutput
type GetPolicyDocumentRuleAllowedParameterInput ¶
type GetPolicyDocumentRuleAllowedParameterInput interface { pulumi.Input ToGetPolicyDocumentRuleAllowedParameterOutput() GetPolicyDocumentRuleAllowedParameterOutput ToGetPolicyDocumentRuleAllowedParameterOutputWithContext(context.Context) GetPolicyDocumentRuleAllowedParameterOutput }
GetPolicyDocumentRuleAllowedParameterInput is an input type that accepts GetPolicyDocumentRuleAllowedParameterArgs and GetPolicyDocumentRuleAllowedParameterOutput values. You can construct a concrete instance of `GetPolicyDocumentRuleAllowedParameterInput` via:
GetPolicyDocumentRuleAllowedParameterArgs{...}
type GetPolicyDocumentRuleAllowedParameterOutput ¶
type GetPolicyDocumentRuleAllowedParameterOutput struct{ *pulumi.OutputState }
func (GetPolicyDocumentRuleAllowedParameterOutput) ElementType ¶
func (GetPolicyDocumentRuleAllowedParameterOutput) ElementType() reflect.Type
func (GetPolicyDocumentRuleAllowedParameterOutput) Key ¶
func (o GetPolicyDocumentRuleAllowedParameterOutput) Key() pulumi.StringOutput
name of permitted or denied parameter.
func (GetPolicyDocumentRuleAllowedParameterOutput) ToGetPolicyDocumentRuleAllowedParameterOutput ¶
func (o GetPolicyDocumentRuleAllowedParameterOutput) ToGetPolicyDocumentRuleAllowedParameterOutput() GetPolicyDocumentRuleAllowedParameterOutput
func (GetPolicyDocumentRuleAllowedParameterOutput) ToGetPolicyDocumentRuleAllowedParameterOutputWithContext ¶
func (o GetPolicyDocumentRuleAllowedParameterOutput) ToGetPolicyDocumentRuleAllowedParameterOutputWithContext(ctx context.Context) GetPolicyDocumentRuleAllowedParameterOutput
func (GetPolicyDocumentRuleAllowedParameterOutput) Values ¶
func (o GetPolicyDocumentRuleAllowedParameterOutput) Values() pulumi.StringArrayOutput
list of values what are permitted or denied by policy rule.
type GetPolicyDocumentRuleArgs ¶
type GetPolicyDocumentRuleArgs struct { // Whitelists a list of keys and values that are permitted on the given path. See Parameters below. AllowedParameters GetPolicyDocumentRuleAllowedParameterArrayInput `pulumi:"allowedParameters"` // A list of capabilities that this rule apply to `path`. For example, ["read", "write"]. Capabilities pulumi.StringArrayInput `pulumi:"capabilities"` // Blacklists a list of parameter and values. Any values specified here take precedence over `allowedParameter`. See Parameters below. DeniedParameters GetPolicyDocumentRuleDeniedParameterArrayInput `pulumi:"deniedParameters"` // Description of the rule. Will be added as a comment to rendered rule. Description pulumi.StringPtrInput `pulumi:"description"` // The maximum allowed TTL that clients can specify for a wrapped response. MaxWrappingTtl pulumi.StringPtrInput `pulumi:"maxWrappingTtl"` // The minimum allowed TTL that clients can specify for a wrapped response. MinWrappingTtl pulumi.StringPtrInput `pulumi:"minWrappingTtl"` // A path in Vault that this rule applies to. Path pulumi.StringInput `pulumi:"path"` // A list of parameters that must be specified. RequiredParameters pulumi.StringArrayInput `pulumi:"requiredParameters"` }
func (GetPolicyDocumentRuleArgs) ElementType ¶
func (GetPolicyDocumentRuleArgs) ElementType() reflect.Type
func (GetPolicyDocumentRuleArgs) ToGetPolicyDocumentRuleOutput ¶
func (i GetPolicyDocumentRuleArgs) ToGetPolicyDocumentRuleOutput() GetPolicyDocumentRuleOutput
func (GetPolicyDocumentRuleArgs) ToGetPolicyDocumentRuleOutputWithContext ¶
func (i GetPolicyDocumentRuleArgs) ToGetPolicyDocumentRuleOutputWithContext(ctx context.Context) GetPolicyDocumentRuleOutput
type GetPolicyDocumentRuleArray ¶
type GetPolicyDocumentRuleArray []GetPolicyDocumentRuleInput
func (GetPolicyDocumentRuleArray) ElementType ¶
func (GetPolicyDocumentRuleArray) ElementType() reflect.Type
func (GetPolicyDocumentRuleArray) ToGetPolicyDocumentRuleArrayOutput ¶
func (i GetPolicyDocumentRuleArray) ToGetPolicyDocumentRuleArrayOutput() GetPolicyDocumentRuleArrayOutput
func (GetPolicyDocumentRuleArray) ToGetPolicyDocumentRuleArrayOutputWithContext ¶
func (i GetPolicyDocumentRuleArray) ToGetPolicyDocumentRuleArrayOutputWithContext(ctx context.Context) GetPolicyDocumentRuleArrayOutput
type GetPolicyDocumentRuleArrayInput ¶
type GetPolicyDocumentRuleArrayInput interface { pulumi.Input ToGetPolicyDocumentRuleArrayOutput() GetPolicyDocumentRuleArrayOutput ToGetPolicyDocumentRuleArrayOutputWithContext(context.Context) GetPolicyDocumentRuleArrayOutput }
GetPolicyDocumentRuleArrayInput is an input type that accepts GetPolicyDocumentRuleArray and GetPolicyDocumentRuleArrayOutput values. You can construct a concrete instance of `GetPolicyDocumentRuleArrayInput` via:
GetPolicyDocumentRuleArray{ GetPolicyDocumentRuleArgs{...} }
type GetPolicyDocumentRuleArrayOutput ¶
type GetPolicyDocumentRuleArrayOutput struct{ *pulumi.OutputState }
func (GetPolicyDocumentRuleArrayOutput) ElementType ¶
func (GetPolicyDocumentRuleArrayOutput) ElementType() reflect.Type
func (GetPolicyDocumentRuleArrayOutput) Index ¶
func (o GetPolicyDocumentRuleArrayOutput) Index(i pulumi.IntInput) GetPolicyDocumentRuleOutput
func (GetPolicyDocumentRuleArrayOutput) ToGetPolicyDocumentRuleArrayOutput ¶
func (o GetPolicyDocumentRuleArrayOutput) ToGetPolicyDocumentRuleArrayOutput() GetPolicyDocumentRuleArrayOutput
func (GetPolicyDocumentRuleArrayOutput) ToGetPolicyDocumentRuleArrayOutputWithContext ¶
func (o GetPolicyDocumentRuleArrayOutput) ToGetPolicyDocumentRuleArrayOutputWithContext(ctx context.Context) GetPolicyDocumentRuleArrayOutput
type GetPolicyDocumentRuleDeniedParameterArgs ¶
type GetPolicyDocumentRuleDeniedParameterArgs struct { // name of permitted or denied parameter. Key pulumi.StringInput `pulumi:"key"` // list of values what are permitted or denied by policy rule. Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetPolicyDocumentRuleDeniedParameterArgs) ElementType ¶
func (GetPolicyDocumentRuleDeniedParameterArgs) ElementType() reflect.Type
func (GetPolicyDocumentRuleDeniedParameterArgs) ToGetPolicyDocumentRuleDeniedParameterOutput ¶
func (i GetPolicyDocumentRuleDeniedParameterArgs) ToGetPolicyDocumentRuleDeniedParameterOutput() GetPolicyDocumentRuleDeniedParameterOutput
func (GetPolicyDocumentRuleDeniedParameterArgs) ToGetPolicyDocumentRuleDeniedParameterOutputWithContext ¶
func (i GetPolicyDocumentRuleDeniedParameterArgs) ToGetPolicyDocumentRuleDeniedParameterOutputWithContext(ctx context.Context) GetPolicyDocumentRuleDeniedParameterOutput
type GetPolicyDocumentRuleDeniedParameterArray ¶
type GetPolicyDocumentRuleDeniedParameterArray []GetPolicyDocumentRuleDeniedParameterInput
func (GetPolicyDocumentRuleDeniedParameterArray) ElementType ¶
func (GetPolicyDocumentRuleDeniedParameterArray) ElementType() reflect.Type
func (GetPolicyDocumentRuleDeniedParameterArray) ToGetPolicyDocumentRuleDeniedParameterArrayOutput ¶
func (i GetPolicyDocumentRuleDeniedParameterArray) ToGetPolicyDocumentRuleDeniedParameterArrayOutput() GetPolicyDocumentRuleDeniedParameterArrayOutput
func (GetPolicyDocumentRuleDeniedParameterArray) ToGetPolicyDocumentRuleDeniedParameterArrayOutputWithContext ¶
func (i GetPolicyDocumentRuleDeniedParameterArray) ToGetPolicyDocumentRuleDeniedParameterArrayOutputWithContext(ctx context.Context) GetPolicyDocumentRuleDeniedParameterArrayOutput
type GetPolicyDocumentRuleDeniedParameterArrayInput ¶
type GetPolicyDocumentRuleDeniedParameterArrayInput interface { pulumi.Input ToGetPolicyDocumentRuleDeniedParameterArrayOutput() GetPolicyDocumentRuleDeniedParameterArrayOutput ToGetPolicyDocumentRuleDeniedParameterArrayOutputWithContext(context.Context) GetPolicyDocumentRuleDeniedParameterArrayOutput }
GetPolicyDocumentRuleDeniedParameterArrayInput is an input type that accepts GetPolicyDocumentRuleDeniedParameterArray and GetPolicyDocumentRuleDeniedParameterArrayOutput values. You can construct a concrete instance of `GetPolicyDocumentRuleDeniedParameterArrayInput` via:
GetPolicyDocumentRuleDeniedParameterArray{ GetPolicyDocumentRuleDeniedParameterArgs{...} }
type GetPolicyDocumentRuleDeniedParameterArrayOutput ¶
type GetPolicyDocumentRuleDeniedParameterArrayOutput struct{ *pulumi.OutputState }
func (GetPolicyDocumentRuleDeniedParameterArrayOutput) ElementType ¶
func (GetPolicyDocumentRuleDeniedParameterArrayOutput) ElementType() reflect.Type
func (GetPolicyDocumentRuleDeniedParameterArrayOutput) ToGetPolicyDocumentRuleDeniedParameterArrayOutput ¶
func (o GetPolicyDocumentRuleDeniedParameterArrayOutput) ToGetPolicyDocumentRuleDeniedParameterArrayOutput() GetPolicyDocumentRuleDeniedParameterArrayOutput
func (GetPolicyDocumentRuleDeniedParameterArrayOutput) ToGetPolicyDocumentRuleDeniedParameterArrayOutputWithContext ¶
func (o GetPolicyDocumentRuleDeniedParameterArrayOutput) ToGetPolicyDocumentRuleDeniedParameterArrayOutputWithContext(ctx context.Context) GetPolicyDocumentRuleDeniedParameterArrayOutput
type GetPolicyDocumentRuleDeniedParameterInput ¶
type GetPolicyDocumentRuleDeniedParameterInput interface { pulumi.Input ToGetPolicyDocumentRuleDeniedParameterOutput() GetPolicyDocumentRuleDeniedParameterOutput ToGetPolicyDocumentRuleDeniedParameterOutputWithContext(context.Context) GetPolicyDocumentRuleDeniedParameterOutput }
GetPolicyDocumentRuleDeniedParameterInput is an input type that accepts GetPolicyDocumentRuleDeniedParameterArgs and GetPolicyDocumentRuleDeniedParameterOutput values. You can construct a concrete instance of `GetPolicyDocumentRuleDeniedParameterInput` via:
GetPolicyDocumentRuleDeniedParameterArgs{...}
type GetPolicyDocumentRuleDeniedParameterOutput ¶
type GetPolicyDocumentRuleDeniedParameterOutput struct{ *pulumi.OutputState }
func (GetPolicyDocumentRuleDeniedParameterOutput) ElementType ¶
func (GetPolicyDocumentRuleDeniedParameterOutput) ElementType() reflect.Type
func (GetPolicyDocumentRuleDeniedParameterOutput) Key ¶
func (o GetPolicyDocumentRuleDeniedParameterOutput) Key() pulumi.StringOutput
name of permitted or denied parameter.
func (GetPolicyDocumentRuleDeniedParameterOutput) ToGetPolicyDocumentRuleDeniedParameterOutput ¶
func (o GetPolicyDocumentRuleDeniedParameterOutput) ToGetPolicyDocumentRuleDeniedParameterOutput() GetPolicyDocumentRuleDeniedParameterOutput
func (GetPolicyDocumentRuleDeniedParameterOutput) ToGetPolicyDocumentRuleDeniedParameterOutputWithContext ¶
func (o GetPolicyDocumentRuleDeniedParameterOutput) ToGetPolicyDocumentRuleDeniedParameterOutputWithContext(ctx context.Context) GetPolicyDocumentRuleDeniedParameterOutput
func (GetPolicyDocumentRuleDeniedParameterOutput) Values ¶
func (o GetPolicyDocumentRuleDeniedParameterOutput) Values() pulumi.StringArrayOutput
list of values what are permitted or denied by policy rule.
type GetPolicyDocumentRuleInput ¶
type GetPolicyDocumentRuleInput interface { pulumi.Input ToGetPolicyDocumentRuleOutput() GetPolicyDocumentRuleOutput ToGetPolicyDocumentRuleOutputWithContext(context.Context) GetPolicyDocumentRuleOutput }
GetPolicyDocumentRuleInput is an input type that accepts GetPolicyDocumentRuleArgs and GetPolicyDocumentRuleOutput values. You can construct a concrete instance of `GetPolicyDocumentRuleInput` via:
GetPolicyDocumentRuleArgs{...}
type GetPolicyDocumentRuleOutput ¶
type GetPolicyDocumentRuleOutput struct{ *pulumi.OutputState }
func (GetPolicyDocumentRuleOutput) AllowedParameters ¶
func (o GetPolicyDocumentRuleOutput) AllowedParameters() GetPolicyDocumentRuleAllowedParameterArrayOutput
Whitelists a list of keys and values that are permitted on the given path. See Parameters below.
func (GetPolicyDocumentRuleOutput) Capabilities ¶
func (o GetPolicyDocumentRuleOutput) Capabilities() pulumi.StringArrayOutput
A list of capabilities that this rule apply to `path`. For example, ["read", "write"].
func (GetPolicyDocumentRuleOutput) DeniedParameters ¶
func (o GetPolicyDocumentRuleOutput) DeniedParameters() GetPolicyDocumentRuleDeniedParameterArrayOutput
Blacklists a list of parameter and values. Any values specified here take precedence over `allowedParameter`. See Parameters below.
func (GetPolicyDocumentRuleOutput) Description ¶
func (o GetPolicyDocumentRuleOutput) Description() pulumi.StringPtrOutput
Description of the rule. Will be added as a comment to rendered rule.
func (GetPolicyDocumentRuleOutput) ElementType ¶
func (GetPolicyDocumentRuleOutput) ElementType() reflect.Type
func (GetPolicyDocumentRuleOutput) MaxWrappingTtl ¶
func (o GetPolicyDocumentRuleOutput) MaxWrappingTtl() pulumi.StringPtrOutput
The maximum allowed TTL that clients can specify for a wrapped response.
func (GetPolicyDocumentRuleOutput) MinWrappingTtl ¶
func (o GetPolicyDocumentRuleOutput) MinWrappingTtl() pulumi.StringPtrOutput
The minimum allowed TTL that clients can specify for a wrapped response.
func (GetPolicyDocumentRuleOutput) Path ¶
func (o GetPolicyDocumentRuleOutput) Path() pulumi.StringOutput
A path in Vault that this rule applies to.
func (GetPolicyDocumentRuleOutput) RequiredParameters ¶
func (o GetPolicyDocumentRuleOutput) RequiredParameters() pulumi.StringArrayOutput
A list of parameters that must be specified.
func (GetPolicyDocumentRuleOutput) ToGetPolicyDocumentRuleOutput ¶
func (o GetPolicyDocumentRuleOutput) ToGetPolicyDocumentRuleOutput() GetPolicyDocumentRuleOutput
func (GetPolicyDocumentRuleOutput) ToGetPolicyDocumentRuleOutputWithContext ¶
func (o GetPolicyDocumentRuleOutput) ToGetPolicyDocumentRuleOutputWithContext(ctx context.Context) GetPolicyDocumentRuleOutput
type GetRaftAutopilotStateArgs ¶
type GetRaftAutopilotStateArgs struct { // The namespace of the target resource. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace *string `pulumi:"namespace"` }
A collection of arguments for invoking getRaftAutopilotState.
type GetRaftAutopilotStateOutputArgs ¶
type GetRaftAutopilotStateOutputArgs struct { // The namespace of the target resource. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput `pulumi:"namespace"` }
A collection of arguments for invoking getRaftAutopilotState.
func (GetRaftAutopilotStateOutputArgs) ElementType ¶
func (GetRaftAutopilotStateOutputArgs) ElementType() reflect.Type
type GetRaftAutopilotStateResult ¶
type GetRaftAutopilotStateResult struct { // How many nodes could fail before the cluster becomes unhealthy. FailureTolerance int `pulumi:"failureTolerance"` // Cluster health status. Healthy bool `pulumi:"healthy"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The current leader of Vault. Leader string `pulumi:"leader"` Namespace *string `pulumi:"namespace"` // The cluster-level optimistic failure tolerance. OptimisticFailureTolerance int `pulumi:"optimisticFailureTolerance"` // Additional output related to redundancy zones stored as a serialized map of strings. RedundancyZones map[string]string `pulumi:"redundancyZones"` // Additional output related to redundancy zones. RedundancyZonesJson string `pulumi:"redundancyZonesJson"` // Additionaly output related to servers in the cluster stored as a serialized map of strings. Servers map[string]string `pulumi:"servers"` // Additionaly output related to servers in the cluster. ServersJson string `pulumi:"serversJson"` // Additional output related to upgrade information stored as a serialized map of strings. UpgradeInfo map[string]string `pulumi:"upgradeInfo"` // Additional output related to upgrade information. UpgradeInfoJson string `pulumi:"upgradeInfoJson"` // The voters in the Vault cluster. Voters []string `pulumi:"voters"` }
A collection of values returned by getRaftAutopilotState.
func GetRaftAutopilotState ¶
func GetRaftAutopilotState(ctx *pulumi.Context, args *GetRaftAutopilotStateArgs, opts ...pulumi.InvokeOption) (*GetRaftAutopilotStateResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { main, err := vault.GetRaftAutopilotState(ctx, &vault.GetRaftAutopilotStateArgs{}, nil) if err != nil { return err } ctx.Export("failure-tolerance", main.FailureTolerance) return nil }) }
```
type GetRaftAutopilotStateResultOutput ¶
type GetRaftAutopilotStateResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRaftAutopilotState.
func GetRaftAutopilotStateOutput ¶
func GetRaftAutopilotStateOutput(ctx *pulumi.Context, args GetRaftAutopilotStateOutputArgs, opts ...pulumi.InvokeOption) GetRaftAutopilotStateResultOutput
func (GetRaftAutopilotStateResultOutput) ElementType ¶
func (GetRaftAutopilotStateResultOutput) ElementType() reflect.Type
func (GetRaftAutopilotStateResultOutput) FailureTolerance ¶
func (o GetRaftAutopilotStateResultOutput) FailureTolerance() pulumi.IntOutput
How many nodes could fail before the cluster becomes unhealthy.
func (GetRaftAutopilotStateResultOutput) Healthy ¶
func (o GetRaftAutopilotStateResultOutput) Healthy() pulumi.BoolOutput
Cluster health status.
func (GetRaftAutopilotStateResultOutput) Id ¶
func (o GetRaftAutopilotStateResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetRaftAutopilotStateResultOutput) Leader ¶
func (o GetRaftAutopilotStateResultOutput) Leader() pulumi.StringOutput
The current leader of Vault.
func (GetRaftAutopilotStateResultOutput) Namespace ¶
func (o GetRaftAutopilotStateResultOutput) Namespace() pulumi.StringPtrOutput
func (GetRaftAutopilotStateResultOutput) OptimisticFailureTolerance ¶
func (o GetRaftAutopilotStateResultOutput) OptimisticFailureTolerance() pulumi.IntOutput
The cluster-level optimistic failure tolerance.
func (GetRaftAutopilotStateResultOutput) RedundancyZones ¶
func (o GetRaftAutopilotStateResultOutput) RedundancyZones() pulumi.StringMapOutput
Additional output related to redundancy zones stored as a serialized map of strings.
func (GetRaftAutopilotStateResultOutput) RedundancyZonesJson ¶
func (o GetRaftAutopilotStateResultOutput) RedundancyZonesJson() pulumi.StringOutput
Additional output related to redundancy zones.
func (GetRaftAutopilotStateResultOutput) Servers ¶
func (o GetRaftAutopilotStateResultOutput) Servers() pulumi.StringMapOutput
Additionaly output related to servers in the cluster stored as a serialized map of strings.
func (GetRaftAutopilotStateResultOutput) ServersJson ¶
func (o GetRaftAutopilotStateResultOutput) ServersJson() pulumi.StringOutput
Additionaly output related to servers in the cluster.
func (GetRaftAutopilotStateResultOutput) ToGetRaftAutopilotStateResultOutput ¶
func (o GetRaftAutopilotStateResultOutput) ToGetRaftAutopilotStateResultOutput() GetRaftAutopilotStateResultOutput
func (GetRaftAutopilotStateResultOutput) ToGetRaftAutopilotStateResultOutputWithContext ¶
func (o GetRaftAutopilotStateResultOutput) ToGetRaftAutopilotStateResultOutputWithContext(ctx context.Context) GetRaftAutopilotStateResultOutput
func (GetRaftAutopilotStateResultOutput) UpgradeInfo ¶
func (o GetRaftAutopilotStateResultOutput) UpgradeInfo() pulumi.StringMapOutput
Additional output related to upgrade information stored as a serialized map of strings.
func (GetRaftAutopilotStateResultOutput) UpgradeInfoJson ¶
func (o GetRaftAutopilotStateResultOutput) UpgradeInfoJson() pulumi.StringOutput
Additional output related to upgrade information.
func (GetRaftAutopilotStateResultOutput) Voters ¶
func (o GetRaftAutopilotStateResultOutput) Voters() pulumi.StringArrayOutput
The voters in the Vault cluster.
type LookupAuthBackendArgs ¶
type LookupAuthBackendArgs struct { // The namespace of the target resource. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace *string `pulumi:"namespace"` // The auth backend mount point. Path string `pulumi:"path"` }
A collection of arguments for invoking getAuthBackend.
type LookupAuthBackendOutputArgs ¶
type LookupAuthBackendOutputArgs struct { // The namespace of the target resource. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput `pulumi:"namespace"` // The auth backend mount point. Path pulumi.StringInput `pulumi:"path"` }
A collection of arguments for invoking getAuthBackend.
func (LookupAuthBackendOutputArgs) ElementType ¶
func (LookupAuthBackendOutputArgs) ElementType() reflect.Type
type LookupAuthBackendResult ¶
type LookupAuthBackendResult struct { // The accessor for this auth method. Accessor string `pulumi:"accessor"` // The default lease duration in seconds. DefaultLeaseTtlSeconds int `pulumi:"defaultLeaseTtlSeconds"` // A description of the auth method. Description string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Specifies whether to show this mount in the UI-specific listing endpoint. ListingVisibility string `pulumi:"listingVisibility"` // Specifies if the auth method is local only. Local bool `pulumi:"local"` // The maximum lease duration in seconds. MaxLeaseTtlSeconds int `pulumi:"maxLeaseTtlSeconds"` Namespace *string `pulumi:"namespace"` Path string `pulumi:"path"` // The name of the auth method type. Type string `pulumi:"type"` }
A collection of values returned by getAuthBackend.
func LookupAuthBackend ¶
func LookupAuthBackend(ctx *pulumi.Context, args *LookupAuthBackendArgs, opts ...pulumi.InvokeOption) (*LookupAuthBackendResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.LookupAuthBackend(ctx, &vault.LookupAuthBackendArgs{ Path: "userpass", }, nil) if err != nil { return err } return nil }) }
```
type LookupAuthBackendResultOutput ¶
type LookupAuthBackendResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAuthBackend.
func LookupAuthBackendOutput ¶
func LookupAuthBackendOutput(ctx *pulumi.Context, args LookupAuthBackendOutputArgs, opts ...pulumi.InvokeOption) LookupAuthBackendResultOutput
func (LookupAuthBackendResultOutput) Accessor ¶
func (o LookupAuthBackendResultOutput) Accessor() pulumi.StringOutput
The accessor for this auth method.
func (LookupAuthBackendResultOutput) DefaultLeaseTtlSeconds ¶
func (o LookupAuthBackendResultOutput) DefaultLeaseTtlSeconds() pulumi.IntOutput
The default lease duration in seconds.
func (LookupAuthBackendResultOutput) Description ¶
func (o LookupAuthBackendResultOutput) Description() pulumi.StringOutput
A description of the auth method.
func (LookupAuthBackendResultOutput) ElementType ¶
func (LookupAuthBackendResultOutput) ElementType() reflect.Type
func (LookupAuthBackendResultOutput) Id ¶
func (o LookupAuthBackendResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupAuthBackendResultOutput) ListingVisibility ¶
func (o LookupAuthBackendResultOutput) ListingVisibility() pulumi.StringOutput
Specifies whether to show this mount in the UI-specific listing endpoint.
func (LookupAuthBackendResultOutput) Local ¶
func (o LookupAuthBackendResultOutput) Local() pulumi.BoolOutput
Specifies if the auth method is local only.
func (LookupAuthBackendResultOutput) MaxLeaseTtlSeconds ¶
func (o LookupAuthBackendResultOutput) MaxLeaseTtlSeconds() pulumi.IntOutput
The maximum lease duration in seconds.
func (LookupAuthBackendResultOutput) Namespace ¶
func (o LookupAuthBackendResultOutput) Namespace() pulumi.StringPtrOutput
func (LookupAuthBackendResultOutput) Path ¶
func (o LookupAuthBackendResultOutput) Path() pulumi.StringOutput
func (LookupAuthBackendResultOutput) ToLookupAuthBackendResultOutput ¶
func (o LookupAuthBackendResultOutput) ToLookupAuthBackendResultOutput() LookupAuthBackendResultOutput
func (LookupAuthBackendResultOutput) ToLookupAuthBackendResultOutputWithContext ¶
func (o LookupAuthBackendResultOutput) ToLookupAuthBackendResultOutputWithContext(ctx context.Context) LookupAuthBackendResultOutput
func (LookupAuthBackendResultOutput) Type ¶
func (o LookupAuthBackendResultOutput) Type() pulumi.StringOutput
The name of the auth method type.
type LookupNamespaceArgs ¶ added in v6.1.0
type LookupNamespaceArgs struct { // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace). Namespace *string `pulumi:"namespace"` // The path of the namespace. Must not have a trailing `/`. // If not specified or empty, path attributes are set for the current namespace // based on the `namespace` arguments of the provider and this data source. // Other path related attributes will be empty in this case. Path *string `pulumi:"path"` }
A collection of arguments for invoking getNamespace.
type LookupNamespaceOutputArgs ¶ added in v6.1.0
type LookupNamespaceOutputArgs struct { // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace). Namespace pulumi.StringPtrInput `pulumi:"namespace"` // The path of the namespace. Must not have a trailing `/`. // If not specified or empty, path attributes are set for the current namespace // based on the `namespace` arguments of the provider and this data source. // Other path related attributes will be empty in this case. Path pulumi.StringPtrInput `pulumi:"path"` }
A collection of arguments for invoking getNamespace.
func (LookupNamespaceOutputArgs) ElementType ¶ added in v6.1.0
func (LookupNamespaceOutputArgs) ElementType() reflect.Type
type LookupNamespaceResult ¶ added in v6.1.0
type LookupNamespaceResult struct { // (Optional) A map of strings containing arbitrary metadata for the namespace. // Only fetched if `path` is specified. // *Requires Vault 1.12+.* CustomMetadata map[string]string `pulumi:"customMetadata"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Namespace *string `pulumi:"namespace"` // Vault server's internal ID of the namespace. // Only fetched if `path` is specified. NamespaceId string `pulumi:"namespaceId"` Path *string `pulumi:"path"` // The fully qualified path to the namespace. Useful when provisioning resources in a child `namespace`. // The path is relative to the provider's `namespace` argument. PathFq string `pulumi:"pathFq"` }
A collection of values returned by getNamespace.
func LookupNamespace ¶ added in v6.1.0
func LookupNamespace(ctx *pulumi.Context, args *LookupNamespaceArgs, opts ...pulumi.InvokeOption) (*LookupNamespaceResult, error)
## Example Usage
### Current namespace
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.LookupNamespace(ctx, &vault.LookupNamespaceArgs{}, nil) if err != nil { return err } return nil }) }
```
### Single namespace
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.LookupNamespace(ctx, &vault.LookupNamespaceArgs{ Path: pulumi.StringRef("ns1"), }, nil) if err != nil { return err } return nil }) }
```
### Nested namespace
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { child, err := vault.LookupNamespace(ctx, &vault.LookupNamespaceArgs{ Namespace: pulumi.StringRef("parent"), Path: pulumi.StringRef("child"), }, nil) if err != nil { return err } _ := child.Id // -> foo/parent/child/ _ := child.PathFq return nil }) }
```
type LookupNamespaceResultOutput ¶ added in v6.1.0
type LookupNamespaceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getNamespace.
func LookupNamespaceOutput ¶ added in v6.1.0
func LookupNamespaceOutput(ctx *pulumi.Context, args LookupNamespaceOutputArgs, opts ...pulumi.InvokeOption) LookupNamespaceResultOutput
func (LookupNamespaceResultOutput) CustomMetadata ¶ added in v6.1.0
func (o LookupNamespaceResultOutput) CustomMetadata() pulumi.StringMapOutput
(Optional) A map of strings containing arbitrary metadata for the namespace. Only fetched if `path` is specified. *Requires Vault 1.12+.*
func (LookupNamespaceResultOutput) ElementType ¶ added in v6.1.0
func (LookupNamespaceResultOutput) ElementType() reflect.Type
func (LookupNamespaceResultOutput) Id ¶ added in v6.1.0
func (o LookupNamespaceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupNamespaceResultOutput) Namespace ¶ added in v6.1.0
func (o LookupNamespaceResultOutput) Namespace() pulumi.StringPtrOutput
func (LookupNamespaceResultOutput) NamespaceId ¶ added in v6.1.0
func (o LookupNamespaceResultOutput) NamespaceId() pulumi.StringOutput
Vault server's internal ID of the namespace. Only fetched if `path` is specified.
func (LookupNamespaceResultOutput) Path ¶ added in v6.1.0
func (o LookupNamespaceResultOutput) Path() pulumi.StringPtrOutput
func (LookupNamespaceResultOutput) PathFq ¶ added in v6.1.0
func (o LookupNamespaceResultOutput) PathFq() pulumi.StringOutput
The fully qualified path to the namespace. Useful when provisioning resources in a child `namespace`. The path is relative to the provider's `namespace` argument.
func (LookupNamespaceResultOutput) ToLookupNamespaceResultOutput ¶ added in v6.1.0
func (o LookupNamespaceResultOutput) ToLookupNamespaceResultOutput() LookupNamespaceResultOutput
func (LookupNamespaceResultOutput) ToLookupNamespaceResultOutputWithContext ¶ added in v6.1.0
func (o LookupNamespaceResultOutput) ToLookupNamespaceResultOutputWithContext(ctx context.Context) LookupNamespaceResultOutput
type MfaDuo ¶
type MfaDuo struct { pulumi.CustomResourceState // `(string: <required>)` - API hostname for Duo. ApiHostname pulumi.StringOutput `pulumi:"apiHostname"` // `(string: <required>)` - Integration key for Duo. IntegrationKey pulumi.StringOutput `pulumi:"integrationKey"` // `(string: <required>)` - The mount to tie this method to for use in automatic mappings. The mapping will use the Name field of Aliases associated with this mount as the username in the mapping. MountAccessor pulumi.StringOutput `pulumi:"mountAccessor"` // `(string: <required>)` – Name of the MFA method. Name pulumi.StringOutput `pulumi:"name"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // `(string)` - Push information for Duo. PushInfo pulumi.StringPtrOutput `pulumi:"pushInfo"` // `(string: <required>)` - Secret key for Duo. SecretKey pulumi.StringOutput `pulumi:"secretKey"` // `(string)` - A format string for mapping Identity names to MFA method names. Values to substitute should be placed in `{{}}`. For example, `"{{alias.name}}@example.com"`. If blank, the Alias's Name field will be used as-is. Currently-supported mappings: // - alias.name: The name returned by the mount configured via the `mountAccessor` parameter // - entity.name: The name configured for the Entity // - alias.metadata.`<key>`: The value of the Alias's metadata parameter // - entity.metadata.`<key>`: The value of the Entity's metadata parameter UsernameFormat pulumi.StringPtrOutput `pulumi:"usernameFormat"` }
Provides a resource to manage [Duo MFA](https://www.vaultproject.io/docs/enterprise/mfa/mfa-duo.html).
**Note** this feature is available only with Vault Enterprise.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { userpass, err := vault.NewAuthBackend(ctx, "userpass", &vault.AuthBackendArgs{ Type: pulumi.String("userpass"), Path: pulumi.String("userpass"), }) if err != nil { return err } _, err = vault.NewMfaDuo(ctx, "my_duo", &vault.MfaDuoArgs{ Name: pulumi.String("my_duo"), MountAccessor: userpass.Accessor, SecretKey: pulumi.String("8C7THtrIigh2rPZQMbguugt8IUftWhMRCOBzbuyz"), IntegrationKey: pulumi.String("BIACEUEAXI20BNWTEYXT"), ApiHostname: pulumi.String("api-2b5c39f5.duosecurity.com"), }) if err != nil { return err } return nil }) }
```
## Import
Mounts can be imported using the `path`, e.g.
```sh $ pulumi import vault:index/mfaDuo:MfaDuo my_duo my_duo ```
func GetMfaDuo ¶
func GetMfaDuo(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MfaDuoState, opts ...pulumi.ResourceOption) (*MfaDuo, error)
GetMfaDuo gets an existing MfaDuo 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 NewMfaDuo ¶
func NewMfaDuo(ctx *pulumi.Context, name string, args *MfaDuoArgs, opts ...pulumi.ResourceOption) (*MfaDuo, error)
NewMfaDuo registers a new resource with the given unique name, arguments, and options.
func (*MfaDuo) ElementType ¶
func (*MfaDuo) ToMfaDuoOutput ¶
func (i *MfaDuo) ToMfaDuoOutput() MfaDuoOutput
func (*MfaDuo) ToMfaDuoOutputWithContext ¶
func (i *MfaDuo) ToMfaDuoOutputWithContext(ctx context.Context) MfaDuoOutput
type MfaDuoArgs ¶
type MfaDuoArgs struct { // `(string: <required>)` - API hostname for Duo. ApiHostname pulumi.StringInput // `(string: <required>)` - Integration key for Duo. IntegrationKey pulumi.StringInput // `(string: <required>)` - The mount to tie this method to for use in automatic mappings. The mapping will use the Name field of Aliases associated with this mount as the username in the mapping. MountAccessor pulumi.StringInput // `(string: <required>)` – Name of the MFA method. Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // `(string)` - Push information for Duo. PushInfo pulumi.StringPtrInput // `(string: <required>)` - Secret key for Duo. SecretKey pulumi.StringInput // `(string)` - A format string for mapping Identity names to MFA method names. Values to substitute should be placed in `{{}}`. For example, `"{{alias.name}}@example.com"`. If blank, the Alias's Name field will be used as-is. Currently-supported mappings: // - alias.name: The name returned by the mount configured via the `mountAccessor` parameter // - entity.name: The name configured for the Entity // - alias.metadata.`<key>`: The value of the Alias's metadata parameter // - entity.metadata.`<key>`: The value of the Entity's metadata parameter UsernameFormat pulumi.StringPtrInput }
The set of arguments for constructing a MfaDuo resource.
func (MfaDuoArgs) ElementType ¶
func (MfaDuoArgs) ElementType() reflect.Type
type MfaDuoArray ¶
type MfaDuoArray []MfaDuoInput
func (MfaDuoArray) ElementType ¶
func (MfaDuoArray) ElementType() reflect.Type
func (MfaDuoArray) ToMfaDuoArrayOutput ¶
func (i MfaDuoArray) ToMfaDuoArrayOutput() MfaDuoArrayOutput
func (MfaDuoArray) ToMfaDuoArrayOutputWithContext ¶
func (i MfaDuoArray) ToMfaDuoArrayOutputWithContext(ctx context.Context) MfaDuoArrayOutput
type MfaDuoArrayInput ¶
type MfaDuoArrayInput interface { pulumi.Input ToMfaDuoArrayOutput() MfaDuoArrayOutput ToMfaDuoArrayOutputWithContext(context.Context) MfaDuoArrayOutput }
MfaDuoArrayInput is an input type that accepts MfaDuoArray and MfaDuoArrayOutput values. You can construct a concrete instance of `MfaDuoArrayInput` via:
MfaDuoArray{ MfaDuoArgs{...} }
type MfaDuoArrayOutput ¶
type MfaDuoArrayOutput struct{ *pulumi.OutputState }
func (MfaDuoArrayOutput) ElementType ¶
func (MfaDuoArrayOutput) ElementType() reflect.Type
func (MfaDuoArrayOutput) Index ¶
func (o MfaDuoArrayOutput) Index(i pulumi.IntInput) MfaDuoOutput
func (MfaDuoArrayOutput) ToMfaDuoArrayOutput ¶
func (o MfaDuoArrayOutput) ToMfaDuoArrayOutput() MfaDuoArrayOutput
func (MfaDuoArrayOutput) ToMfaDuoArrayOutputWithContext ¶
func (o MfaDuoArrayOutput) ToMfaDuoArrayOutputWithContext(ctx context.Context) MfaDuoArrayOutput
type MfaDuoInput ¶
type MfaDuoInput interface { pulumi.Input ToMfaDuoOutput() MfaDuoOutput ToMfaDuoOutputWithContext(ctx context.Context) MfaDuoOutput }
type MfaDuoMap ¶
type MfaDuoMap map[string]MfaDuoInput
func (MfaDuoMap) ElementType ¶
func (MfaDuoMap) ToMfaDuoMapOutput ¶
func (i MfaDuoMap) ToMfaDuoMapOutput() MfaDuoMapOutput
func (MfaDuoMap) ToMfaDuoMapOutputWithContext ¶
func (i MfaDuoMap) ToMfaDuoMapOutputWithContext(ctx context.Context) MfaDuoMapOutput
type MfaDuoMapInput ¶
type MfaDuoMapInput interface { pulumi.Input ToMfaDuoMapOutput() MfaDuoMapOutput ToMfaDuoMapOutputWithContext(context.Context) MfaDuoMapOutput }
MfaDuoMapInput is an input type that accepts MfaDuoMap and MfaDuoMapOutput values. You can construct a concrete instance of `MfaDuoMapInput` via:
MfaDuoMap{ "key": MfaDuoArgs{...} }
type MfaDuoMapOutput ¶
type MfaDuoMapOutput struct{ *pulumi.OutputState }
func (MfaDuoMapOutput) ElementType ¶
func (MfaDuoMapOutput) ElementType() reflect.Type
func (MfaDuoMapOutput) MapIndex ¶
func (o MfaDuoMapOutput) MapIndex(k pulumi.StringInput) MfaDuoOutput
func (MfaDuoMapOutput) ToMfaDuoMapOutput ¶
func (o MfaDuoMapOutput) ToMfaDuoMapOutput() MfaDuoMapOutput
func (MfaDuoMapOutput) ToMfaDuoMapOutputWithContext ¶
func (o MfaDuoMapOutput) ToMfaDuoMapOutputWithContext(ctx context.Context) MfaDuoMapOutput
type MfaDuoOutput ¶
type MfaDuoOutput struct{ *pulumi.OutputState }
func (MfaDuoOutput) ApiHostname ¶
func (o MfaDuoOutput) ApiHostname() pulumi.StringOutput
`(string: <required>)` - API hostname for Duo.
func (MfaDuoOutput) ElementType ¶
func (MfaDuoOutput) ElementType() reflect.Type
func (MfaDuoOutput) IntegrationKey ¶
func (o MfaDuoOutput) IntegrationKey() pulumi.StringOutput
`(string: <required>)` - Integration key for Duo.
func (MfaDuoOutput) MountAccessor ¶
func (o MfaDuoOutput) MountAccessor() pulumi.StringOutput
`(string: <required>)` - The mount to tie this method to for use in automatic mappings. The mapping will use the Name field of Aliases associated with this mount as the username in the mapping.
func (MfaDuoOutput) Name ¶
func (o MfaDuoOutput) Name() pulumi.StringOutput
`(string: <required>)` – Name of the MFA method.
func (MfaDuoOutput) Namespace ¶
func (o MfaDuoOutput) Namespace() pulumi.StringPtrOutput
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). *Available only for Vault Enterprise*.
func (MfaDuoOutput) PushInfo ¶
func (o MfaDuoOutput) PushInfo() pulumi.StringPtrOutput
`(string)` - Push information for Duo.
func (MfaDuoOutput) SecretKey ¶
func (o MfaDuoOutput) SecretKey() pulumi.StringOutput
`(string: <required>)` - Secret key for Duo.
func (MfaDuoOutput) ToMfaDuoOutput ¶
func (o MfaDuoOutput) ToMfaDuoOutput() MfaDuoOutput
func (MfaDuoOutput) ToMfaDuoOutputWithContext ¶
func (o MfaDuoOutput) ToMfaDuoOutputWithContext(ctx context.Context) MfaDuoOutput
func (MfaDuoOutput) UsernameFormat ¶
func (o MfaDuoOutput) UsernameFormat() pulumi.StringPtrOutput
`(string)` - A format string for mapping Identity names to MFA method names. Values to substitute should be placed in `{{}}`. For example, `"{{alias.name}}@example.com"`. If blank, the Alias's Name field will be used as-is. Currently-supported mappings: - alias.name: The name returned by the mount configured via the `mountAccessor` parameter - entity.name: The name configured for the Entity - alias.metadata.`<key>`: The value of the Alias's metadata parameter - entity.metadata.`<key>`: The value of the Entity's metadata parameter
type MfaDuoState ¶
type MfaDuoState struct { // `(string: <required>)` - API hostname for Duo. ApiHostname pulumi.StringPtrInput // `(string: <required>)` - Integration key for Duo. IntegrationKey pulumi.StringPtrInput // `(string: <required>)` - The mount to tie this method to for use in automatic mappings. The mapping will use the Name field of Aliases associated with this mount as the username in the mapping. MountAccessor pulumi.StringPtrInput // `(string: <required>)` – Name of the MFA method. Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // `(string)` - Push information for Duo. PushInfo pulumi.StringPtrInput // `(string: <required>)` - Secret key for Duo. SecretKey pulumi.StringPtrInput // `(string)` - A format string for mapping Identity names to MFA method names. Values to substitute should be placed in `{{}}`. For example, `"{{alias.name}}@example.com"`. If blank, the Alias's Name field will be used as-is. Currently-supported mappings: // - alias.name: The name returned by the mount configured via the `mountAccessor` parameter // - entity.name: The name configured for the Entity // - alias.metadata.`<key>`: The value of the Alias's metadata parameter // - entity.metadata.`<key>`: The value of the Entity's metadata parameter UsernameFormat pulumi.StringPtrInput }
func (MfaDuoState) ElementType ¶
func (MfaDuoState) ElementType() reflect.Type
type MfaOkta ¶
type MfaOkta struct { pulumi.CustomResourceState // `(string: <required>)` - Okta API key. ApiToken pulumi.StringOutput `pulumi:"apiToken"` // `(string)` - If set, will be used as the base domain for API requests. Examples are `okta.com`, // `oktapreview.com`, and `okta-emea.com`. BaseUrl pulumi.StringPtrOutput `pulumi:"baseUrl"` // `(string: <required>)` - The mount to tie this method to for use in automatic mappings. // The mapping will use the Name field of Aliases associated with this mount as the username in the mapping. MountAccessor pulumi.StringOutput `pulumi:"mountAccessor"` // `(string: <required>)` – Name of the MFA method. Name pulumi.StringOutput `pulumi:"name"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // `(string: <required>)` - Name of the organization to be used in the Okta API. OrgName pulumi.StringOutput `pulumi:"orgName"` // `(string: <required>)` - If set to true, the username will only match the // primary email for the account. PrimaryEmail pulumi.BoolPtrOutput `pulumi:"primaryEmail"` // `(string)` - A format string for mapping Identity names to MFA method names. // Values to substitute should be placed in `{{}}`. For example, `"{{alias.name}}@example.com"`. // If blank, the Alias's Name field will be used as-is. Currently-supported mappings: // - alias.name: The name returned by the mount configured via the `mountAccessor` parameter // - entity.name: The name configured for the Entity // - alias.metadata.`<key>`: The value of the Alias's metadata parameter // - entity.metadata.`<key>`: The value of the Entity's metadata parameter UsernameFormat pulumi.StringPtrOutput `pulumi:"usernameFormat"` }
Provides a resource to manage [Okta MFA](https://www.vaultproject.io/docs/enterprise/mfa/mfa-okta).
**Note** this feature is available only with Vault Enterprise.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { userpass, err := vault.NewAuthBackend(ctx, "userpass", &vault.AuthBackendArgs{ Type: pulumi.String("userpass"), Path: pulumi.String("userpass"), }) if err != nil { return err } _, err = vault.NewMfaOkta(ctx, "my_okta", &vault.MfaOktaArgs{ Name: pulumi.String("my_okta"), MountAccessor: userpass.Accessor, UsernameFormat: pulumi.String("user@example.com"), OrgName: pulumi.String("hashicorp"), ApiToken: pulumi.String("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9"), }) if err != nil { return err } return nil }) }
```
## Import
Mounts can be imported using the `path`, e.g.
```sh $ pulumi import vault:index/mfaOkta:MfaOkta my_okta my_okta ```
func GetMfaOkta ¶
func GetMfaOkta(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MfaOktaState, opts ...pulumi.ResourceOption) (*MfaOkta, error)
GetMfaOkta gets an existing MfaOkta 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 NewMfaOkta ¶
func NewMfaOkta(ctx *pulumi.Context, name string, args *MfaOktaArgs, opts ...pulumi.ResourceOption) (*MfaOkta, error)
NewMfaOkta registers a new resource with the given unique name, arguments, and options.
func (*MfaOkta) ElementType ¶
func (*MfaOkta) ToMfaOktaOutput ¶
func (i *MfaOkta) ToMfaOktaOutput() MfaOktaOutput
func (*MfaOkta) ToMfaOktaOutputWithContext ¶
func (i *MfaOkta) ToMfaOktaOutputWithContext(ctx context.Context) MfaOktaOutput
type MfaOktaArgs ¶
type MfaOktaArgs struct { // `(string: <required>)` - Okta API key. ApiToken pulumi.StringInput // `(string)` - If set, will be used as the base domain for API requests. Examples are `okta.com`, // `oktapreview.com`, and `okta-emea.com`. BaseUrl pulumi.StringPtrInput // `(string: <required>)` - The mount to tie this method to for use in automatic mappings. // The mapping will use the Name field of Aliases associated with this mount as the username in the mapping. MountAccessor pulumi.StringInput // `(string: <required>)` – Name of the MFA method. Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // `(string: <required>)` - Name of the organization to be used in the Okta API. OrgName pulumi.StringInput // `(string: <required>)` - If set to true, the username will only match the // primary email for the account. PrimaryEmail pulumi.BoolPtrInput // `(string)` - A format string for mapping Identity names to MFA method names. // Values to substitute should be placed in `{{}}`. For example, `"{{alias.name}}@example.com"`. // If blank, the Alias's Name field will be used as-is. Currently-supported mappings: // - alias.name: The name returned by the mount configured via the `mountAccessor` parameter // - entity.name: The name configured for the Entity // - alias.metadata.`<key>`: The value of the Alias's metadata parameter // - entity.metadata.`<key>`: The value of the Entity's metadata parameter UsernameFormat pulumi.StringPtrInput }
The set of arguments for constructing a MfaOkta resource.
func (MfaOktaArgs) ElementType ¶
func (MfaOktaArgs) ElementType() reflect.Type
type MfaOktaArray ¶
type MfaOktaArray []MfaOktaInput
func (MfaOktaArray) ElementType ¶
func (MfaOktaArray) ElementType() reflect.Type
func (MfaOktaArray) ToMfaOktaArrayOutput ¶
func (i MfaOktaArray) ToMfaOktaArrayOutput() MfaOktaArrayOutput
func (MfaOktaArray) ToMfaOktaArrayOutputWithContext ¶
func (i MfaOktaArray) ToMfaOktaArrayOutputWithContext(ctx context.Context) MfaOktaArrayOutput
type MfaOktaArrayInput ¶
type MfaOktaArrayInput interface { pulumi.Input ToMfaOktaArrayOutput() MfaOktaArrayOutput ToMfaOktaArrayOutputWithContext(context.Context) MfaOktaArrayOutput }
MfaOktaArrayInput is an input type that accepts MfaOktaArray and MfaOktaArrayOutput values. You can construct a concrete instance of `MfaOktaArrayInput` via:
MfaOktaArray{ MfaOktaArgs{...} }
type MfaOktaArrayOutput ¶
type MfaOktaArrayOutput struct{ *pulumi.OutputState }
func (MfaOktaArrayOutput) ElementType ¶
func (MfaOktaArrayOutput) ElementType() reflect.Type
func (MfaOktaArrayOutput) Index ¶
func (o MfaOktaArrayOutput) Index(i pulumi.IntInput) MfaOktaOutput
func (MfaOktaArrayOutput) ToMfaOktaArrayOutput ¶
func (o MfaOktaArrayOutput) ToMfaOktaArrayOutput() MfaOktaArrayOutput
func (MfaOktaArrayOutput) ToMfaOktaArrayOutputWithContext ¶
func (o MfaOktaArrayOutput) ToMfaOktaArrayOutputWithContext(ctx context.Context) MfaOktaArrayOutput
type MfaOktaInput ¶
type MfaOktaInput interface { pulumi.Input ToMfaOktaOutput() MfaOktaOutput ToMfaOktaOutputWithContext(ctx context.Context) MfaOktaOutput }
type MfaOktaMap ¶
type MfaOktaMap map[string]MfaOktaInput
func (MfaOktaMap) ElementType ¶
func (MfaOktaMap) ElementType() reflect.Type
func (MfaOktaMap) ToMfaOktaMapOutput ¶
func (i MfaOktaMap) ToMfaOktaMapOutput() MfaOktaMapOutput
func (MfaOktaMap) ToMfaOktaMapOutputWithContext ¶
func (i MfaOktaMap) ToMfaOktaMapOutputWithContext(ctx context.Context) MfaOktaMapOutput
type MfaOktaMapInput ¶
type MfaOktaMapInput interface { pulumi.Input ToMfaOktaMapOutput() MfaOktaMapOutput ToMfaOktaMapOutputWithContext(context.Context) MfaOktaMapOutput }
MfaOktaMapInput is an input type that accepts MfaOktaMap and MfaOktaMapOutput values. You can construct a concrete instance of `MfaOktaMapInput` via:
MfaOktaMap{ "key": MfaOktaArgs{...} }
type MfaOktaMapOutput ¶
type MfaOktaMapOutput struct{ *pulumi.OutputState }
func (MfaOktaMapOutput) ElementType ¶
func (MfaOktaMapOutput) ElementType() reflect.Type
func (MfaOktaMapOutput) MapIndex ¶
func (o MfaOktaMapOutput) MapIndex(k pulumi.StringInput) MfaOktaOutput
func (MfaOktaMapOutput) ToMfaOktaMapOutput ¶
func (o MfaOktaMapOutput) ToMfaOktaMapOutput() MfaOktaMapOutput
func (MfaOktaMapOutput) ToMfaOktaMapOutputWithContext ¶
func (o MfaOktaMapOutput) ToMfaOktaMapOutputWithContext(ctx context.Context) MfaOktaMapOutput
type MfaOktaOutput ¶
type MfaOktaOutput struct{ *pulumi.OutputState }
func (MfaOktaOutput) ApiToken ¶
func (o MfaOktaOutput) ApiToken() pulumi.StringOutput
`(string: <required>)` - Okta API key.
func (MfaOktaOutput) BaseUrl ¶
func (o MfaOktaOutput) BaseUrl() pulumi.StringPtrOutput
`(string)` - If set, will be used as the base domain for API requests. Examples are `okta.com`, `oktapreview.com`, and `okta-emea.com`.
func (MfaOktaOutput) ElementType ¶
func (MfaOktaOutput) ElementType() reflect.Type
func (MfaOktaOutput) MountAccessor ¶
func (o MfaOktaOutput) MountAccessor() pulumi.StringOutput
`(string: <required>)` - The mount to tie this method to for use in automatic mappings. The mapping will use the Name field of Aliases associated with this mount as the username in the mapping.
func (MfaOktaOutput) Name ¶
func (o MfaOktaOutput) Name() pulumi.StringOutput
`(string: <required>)` – Name of the MFA method.
func (MfaOktaOutput) Namespace ¶
func (o MfaOktaOutput) Namespace() pulumi.StringPtrOutput
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). *Available only for Vault Enterprise*.
func (MfaOktaOutput) OrgName ¶
func (o MfaOktaOutput) OrgName() pulumi.StringOutput
`(string: <required>)` - Name of the organization to be used in the Okta API.
func (MfaOktaOutput) PrimaryEmail ¶
func (o MfaOktaOutput) PrimaryEmail() pulumi.BoolPtrOutput
`(string: <required>)` - If set to true, the username will only match the primary email for the account.
func (MfaOktaOutput) ToMfaOktaOutput ¶
func (o MfaOktaOutput) ToMfaOktaOutput() MfaOktaOutput
func (MfaOktaOutput) ToMfaOktaOutputWithContext ¶
func (o MfaOktaOutput) ToMfaOktaOutputWithContext(ctx context.Context) MfaOktaOutput
func (MfaOktaOutput) UsernameFormat ¶
func (o MfaOktaOutput) UsernameFormat() pulumi.StringPtrOutput
`(string)` - A format string for mapping Identity names to MFA method names. Values to substitute should be placed in `{{}}`. For example, `"{{alias.name}}@example.com"`. If blank, the Alias's Name field will be used as-is. Currently-supported mappings: - alias.name: The name returned by the mount configured via the `mountAccessor` parameter - entity.name: The name configured for the Entity - alias.metadata.`<key>`: The value of the Alias's metadata parameter - entity.metadata.`<key>`: The value of the Entity's metadata parameter
type MfaOktaState ¶
type MfaOktaState struct { // `(string: <required>)` - Okta API key. ApiToken pulumi.StringPtrInput // `(string)` - If set, will be used as the base domain for API requests. Examples are `okta.com`, // `oktapreview.com`, and `okta-emea.com`. BaseUrl pulumi.StringPtrInput // `(string: <required>)` - The mount to tie this method to for use in automatic mappings. // The mapping will use the Name field of Aliases associated with this mount as the username in the mapping. MountAccessor pulumi.StringPtrInput // `(string: <required>)` – Name of the MFA method. Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // `(string: <required>)` - Name of the organization to be used in the Okta API. OrgName pulumi.StringPtrInput // `(string: <required>)` - If set to true, the username will only match the // primary email for the account. PrimaryEmail pulumi.BoolPtrInput // `(string)` - A format string for mapping Identity names to MFA method names. // Values to substitute should be placed in `{{}}`. For example, `"{{alias.name}}@example.com"`. // If blank, the Alias's Name field will be used as-is. Currently-supported mappings: // - alias.name: The name returned by the mount configured via the `mountAccessor` parameter // - entity.name: The name configured for the Entity // - alias.metadata.`<key>`: The value of the Alias's metadata parameter // - entity.metadata.`<key>`: The value of the Entity's metadata parameter UsernameFormat pulumi.StringPtrInput }
func (MfaOktaState) ElementType ¶
func (MfaOktaState) ElementType() reflect.Type
type MfaPingid ¶
type MfaPingid struct { pulumi.CustomResourceState // `(string)` – Admin URL computed by Vault AdminUrl pulumi.StringOutput `pulumi:"adminUrl"` // `(string)` – Authenticator URL computed by Vault AuthenticatorUrl pulumi.StringOutput `pulumi:"authenticatorUrl"` // `(string)` – IDP URL computed by Vault IdpUrl pulumi.StringOutput `pulumi:"idpUrl"` // `(string: <required>)` - The mount to tie this method to for use in automatic mappings. // The mapping will use the Name field of Aliases associated with this mount as the username in the mapping. MountAccessor pulumi.StringOutput `pulumi:"mountAccessor"` // `(string: <required>)` – Name of the MFA method. Name pulumi.StringOutput `pulumi:"name"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // `(string)` – Namespace ID computed by Vault NamespaceId pulumi.StringOutput `pulumi:"namespaceId"` // `(string)` – Org Alias computed by Vault OrgAlias pulumi.StringOutput `pulumi:"orgAlias"` // `(string: <required>)` - A base64-encoded third-party settings file retrieved // from PingID's configuration page. SettingsFileBase64 pulumi.StringOutput `pulumi:"settingsFileBase64"` // `(string)` – Type of configuration computed by Vault Type pulumi.StringOutput `pulumi:"type"` // `(string)` – If set to true, enables use of PingID signature. Computed by Vault UseSignature pulumi.BoolOutput `pulumi:"useSignature"` // `(string)` - A format string for mapping Identity names to MFA method names. // Values to substitute should be placed in `{{}}`. For example, `"{{alias.name}}@example.com"`. // If blank, the Alias's Name field will be used as-is. Currently-supported mappings: // - alias.name: The name returned by the mount configured via the `mountAccessor` parameter // - entity.name: The name configured for the Entity // - alias.metadata.`<key>`: The value of the Alias's metadata parameter // - entity.metadata.`<key>`: The value of the Entity's metadata parameter UsernameFormat pulumi.StringPtrOutput `pulumi:"usernameFormat"` }
Provides a resource to manage [PingID MFA](https://www.vaultproject.io/docs/enterprise/mfa/mfa-pingid).
**Note** this feature is available only with Vault Enterprise.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") settingsFile := cfg.RequireObject("settingsFile") userpass, err := vault.NewAuthBackend(ctx, "userpass", &vault.AuthBackendArgs{ Type: pulumi.String("userpass"), Path: pulumi.String("userpass"), }) if err != nil { return err } _, err = vault.NewMfaPingid(ctx, "my_pingid", &vault.MfaPingidArgs{ Name: pulumi.String("my_pingid"), MountAccessor: userpass.Accessor, UsernameFormat: pulumi.String("user@example.com"), SettingsFileBase64: pulumi.Any(settingsFile), }) if err != nil { return err } return nil }) }
```
## Import
Mounts can be imported using the `path`, e.g.
```sh $ pulumi import vault:index/mfaPingid:MfaPingid my_pingid my_pingid ```
func GetMfaPingid ¶
func GetMfaPingid(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MfaPingidState, opts ...pulumi.ResourceOption) (*MfaPingid, error)
GetMfaPingid gets an existing MfaPingid 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 NewMfaPingid ¶
func NewMfaPingid(ctx *pulumi.Context, name string, args *MfaPingidArgs, opts ...pulumi.ResourceOption) (*MfaPingid, error)
NewMfaPingid registers a new resource with the given unique name, arguments, and options.
func (*MfaPingid) ElementType ¶
func (*MfaPingid) ToMfaPingidOutput ¶
func (i *MfaPingid) ToMfaPingidOutput() MfaPingidOutput
func (*MfaPingid) ToMfaPingidOutputWithContext ¶
func (i *MfaPingid) ToMfaPingidOutputWithContext(ctx context.Context) MfaPingidOutput
type MfaPingidArgs ¶
type MfaPingidArgs struct { // `(string: <required>)` - The mount to tie this method to for use in automatic mappings. // The mapping will use the Name field of Aliases associated with this mount as the username in the mapping. MountAccessor pulumi.StringInput // `(string: <required>)` – Name of the MFA method. Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // `(string: <required>)` - A base64-encoded third-party settings file retrieved // from PingID's configuration page. SettingsFileBase64 pulumi.StringInput // `(string)` - A format string for mapping Identity names to MFA method names. // Values to substitute should be placed in `{{}}`. For example, `"{{alias.name}}@example.com"`. // If blank, the Alias's Name field will be used as-is. Currently-supported mappings: // - alias.name: The name returned by the mount configured via the `mountAccessor` parameter // - entity.name: The name configured for the Entity // - alias.metadata.`<key>`: The value of the Alias's metadata parameter // - entity.metadata.`<key>`: The value of the Entity's metadata parameter UsernameFormat pulumi.StringPtrInput }
The set of arguments for constructing a MfaPingid resource.
func (MfaPingidArgs) ElementType ¶
func (MfaPingidArgs) ElementType() reflect.Type
type MfaPingidArray ¶
type MfaPingidArray []MfaPingidInput
func (MfaPingidArray) ElementType ¶
func (MfaPingidArray) ElementType() reflect.Type
func (MfaPingidArray) ToMfaPingidArrayOutput ¶
func (i MfaPingidArray) ToMfaPingidArrayOutput() MfaPingidArrayOutput
func (MfaPingidArray) ToMfaPingidArrayOutputWithContext ¶
func (i MfaPingidArray) ToMfaPingidArrayOutputWithContext(ctx context.Context) MfaPingidArrayOutput
type MfaPingidArrayInput ¶
type MfaPingidArrayInput interface { pulumi.Input ToMfaPingidArrayOutput() MfaPingidArrayOutput ToMfaPingidArrayOutputWithContext(context.Context) MfaPingidArrayOutput }
MfaPingidArrayInput is an input type that accepts MfaPingidArray and MfaPingidArrayOutput values. You can construct a concrete instance of `MfaPingidArrayInput` via:
MfaPingidArray{ MfaPingidArgs{...} }
type MfaPingidArrayOutput ¶
type MfaPingidArrayOutput struct{ *pulumi.OutputState }
func (MfaPingidArrayOutput) ElementType ¶
func (MfaPingidArrayOutput) ElementType() reflect.Type
func (MfaPingidArrayOutput) Index ¶
func (o MfaPingidArrayOutput) Index(i pulumi.IntInput) MfaPingidOutput
func (MfaPingidArrayOutput) ToMfaPingidArrayOutput ¶
func (o MfaPingidArrayOutput) ToMfaPingidArrayOutput() MfaPingidArrayOutput
func (MfaPingidArrayOutput) ToMfaPingidArrayOutputWithContext ¶
func (o MfaPingidArrayOutput) ToMfaPingidArrayOutputWithContext(ctx context.Context) MfaPingidArrayOutput
type MfaPingidInput ¶
type MfaPingidInput interface { pulumi.Input ToMfaPingidOutput() MfaPingidOutput ToMfaPingidOutputWithContext(ctx context.Context) MfaPingidOutput }
type MfaPingidMap ¶
type MfaPingidMap map[string]MfaPingidInput
func (MfaPingidMap) ElementType ¶
func (MfaPingidMap) ElementType() reflect.Type
func (MfaPingidMap) ToMfaPingidMapOutput ¶
func (i MfaPingidMap) ToMfaPingidMapOutput() MfaPingidMapOutput
func (MfaPingidMap) ToMfaPingidMapOutputWithContext ¶
func (i MfaPingidMap) ToMfaPingidMapOutputWithContext(ctx context.Context) MfaPingidMapOutput
type MfaPingidMapInput ¶
type MfaPingidMapInput interface { pulumi.Input ToMfaPingidMapOutput() MfaPingidMapOutput ToMfaPingidMapOutputWithContext(context.Context) MfaPingidMapOutput }
MfaPingidMapInput is an input type that accepts MfaPingidMap and MfaPingidMapOutput values. You can construct a concrete instance of `MfaPingidMapInput` via:
MfaPingidMap{ "key": MfaPingidArgs{...} }
type MfaPingidMapOutput ¶
type MfaPingidMapOutput struct{ *pulumi.OutputState }
func (MfaPingidMapOutput) ElementType ¶
func (MfaPingidMapOutput) ElementType() reflect.Type
func (MfaPingidMapOutput) MapIndex ¶
func (o MfaPingidMapOutput) MapIndex(k pulumi.StringInput) MfaPingidOutput
func (MfaPingidMapOutput) ToMfaPingidMapOutput ¶
func (o MfaPingidMapOutput) ToMfaPingidMapOutput() MfaPingidMapOutput
func (MfaPingidMapOutput) ToMfaPingidMapOutputWithContext ¶
func (o MfaPingidMapOutput) ToMfaPingidMapOutputWithContext(ctx context.Context) MfaPingidMapOutput
type MfaPingidOutput ¶
type MfaPingidOutput struct{ *pulumi.OutputState }
func (MfaPingidOutput) AdminUrl ¶
func (o MfaPingidOutput) AdminUrl() pulumi.StringOutput
`(string)` – Admin URL computed by Vault
func (MfaPingidOutput) AuthenticatorUrl ¶
func (o MfaPingidOutput) AuthenticatorUrl() pulumi.StringOutput
`(string)` – Authenticator URL computed by Vault
func (MfaPingidOutput) ElementType ¶
func (MfaPingidOutput) ElementType() reflect.Type
func (MfaPingidOutput) IdpUrl ¶
func (o MfaPingidOutput) IdpUrl() pulumi.StringOutput
`(string)` – IDP URL computed by Vault
func (MfaPingidOutput) MountAccessor ¶
func (o MfaPingidOutput) MountAccessor() pulumi.StringOutput
`(string: <required>)` - The mount to tie this method to for use in automatic mappings. The mapping will use the Name field of Aliases associated with this mount as the username in the mapping.
func (MfaPingidOutput) Name ¶
func (o MfaPingidOutput) Name() pulumi.StringOutput
`(string: <required>)` – Name of the MFA method.
func (MfaPingidOutput) Namespace ¶
func (o MfaPingidOutput) Namespace() pulumi.StringPtrOutput
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). *Available only for Vault Enterprise*.
func (MfaPingidOutput) NamespaceId ¶
func (o MfaPingidOutput) NamespaceId() pulumi.StringOutput
`(string)` – Namespace ID computed by Vault
func (MfaPingidOutput) OrgAlias ¶
func (o MfaPingidOutput) OrgAlias() pulumi.StringOutput
`(string)` – Org Alias computed by Vault
func (MfaPingidOutput) SettingsFileBase64 ¶
func (o MfaPingidOutput) SettingsFileBase64() pulumi.StringOutput
`(string: <required>)` - A base64-encoded third-party settings file retrieved from PingID's configuration page.
func (MfaPingidOutput) ToMfaPingidOutput ¶
func (o MfaPingidOutput) ToMfaPingidOutput() MfaPingidOutput
func (MfaPingidOutput) ToMfaPingidOutputWithContext ¶
func (o MfaPingidOutput) ToMfaPingidOutputWithContext(ctx context.Context) MfaPingidOutput
func (MfaPingidOutput) Type ¶
func (o MfaPingidOutput) Type() pulumi.StringOutput
`(string)` – Type of configuration computed by Vault
func (MfaPingidOutput) UseSignature ¶
func (o MfaPingidOutput) UseSignature() pulumi.BoolOutput
`(string)` – If set to true, enables use of PingID signature. Computed by Vault
func (MfaPingidOutput) UsernameFormat ¶
func (o MfaPingidOutput) UsernameFormat() pulumi.StringPtrOutput
`(string)` - A format string for mapping Identity names to MFA method names. Values to substitute should be placed in `{{}}`. For example, `"{{alias.name}}@example.com"`. If blank, the Alias's Name field will be used as-is. Currently-supported mappings: - alias.name: The name returned by the mount configured via the `mountAccessor` parameter - entity.name: The name configured for the Entity - alias.metadata.`<key>`: The value of the Alias's metadata parameter - entity.metadata.`<key>`: The value of the Entity's metadata parameter
type MfaPingidState ¶
type MfaPingidState struct { // `(string)` – Admin URL computed by Vault AdminUrl pulumi.StringPtrInput // `(string)` – Authenticator URL computed by Vault AuthenticatorUrl pulumi.StringPtrInput // `(string)` – IDP URL computed by Vault IdpUrl pulumi.StringPtrInput // `(string: <required>)` - The mount to tie this method to for use in automatic mappings. // The mapping will use the Name field of Aliases associated with this mount as the username in the mapping. MountAccessor pulumi.StringPtrInput // `(string: <required>)` – Name of the MFA method. Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // `(string)` – Namespace ID computed by Vault NamespaceId pulumi.StringPtrInput // `(string)` – Org Alias computed by Vault OrgAlias pulumi.StringPtrInput // `(string: <required>)` - A base64-encoded third-party settings file retrieved // from PingID's configuration page. SettingsFileBase64 pulumi.StringPtrInput // `(string)` – Type of configuration computed by Vault Type pulumi.StringPtrInput // `(string)` – If set to true, enables use of PingID signature. Computed by Vault UseSignature pulumi.BoolPtrInput // `(string)` - A format string for mapping Identity names to MFA method names. // Values to substitute should be placed in `{{}}`. For example, `"{{alias.name}}@example.com"`. // If blank, the Alias's Name field will be used as-is. Currently-supported mappings: // - alias.name: The name returned by the mount configured via the `mountAccessor` parameter // - entity.name: The name configured for the Entity // - alias.metadata.`<key>`: The value of the Alias's metadata parameter // - entity.metadata.`<key>`: The value of the Entity's metadata parameter UsernameFormat pulumi.StringPtrInput }
func (MfaPingidState) ElementType ¶
func (MfaPingidState) ElementType() reflect.Type
type MfaTotp ¶
type MfaTotp struct { pulumi.CustomResourceState // `(string)` - Specifies the hashing algorithm used to generate the TOTP code. // Options include `SHA1`, `SHA256` and `SHA512` Algorithm pulumi.StringPtrOutput `pulumi:"algorithm"` // `(int)` - The number of digits in the generated TOTP token. // This value can either be 6 or 8. Digits pulumi.IntPtrOutput `pulumi:"digits"` // `(string: <required>)` - The name of the key's issuing organization. Issuer pulumi.StringOutput `pulumi:"issuer"` // `(int)` - Specifies the size in bytes of the generated key. KeySize pulumi.IntPtrOutput `pulumi:"keySize"` // `(string: <required>)` – Name of the MFA method. Name pulumi.StringOutput `pulumi:"name"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // `(int)` - The length of time used to generate a counter for the TOTP token calculation. Period pulumi.IntPtrOutput `pulumi:"period"` // `(int)` - The pixel size of the generated square QR code. QrSize pulumi.IntPtrOutput `pulumi:"qrSize"` // `(int)` - The number of delay periods that are allowed when validating a TOTP token. // This value can either be 0 or 1. Skew pulumi.IntPtrOutput `pulumi:"skew"` }
Provides a resource to manage [TOTP MFA](https://www.vaultproject.io/docs/enterprise/mfa/mfa-totp).
**Note** this feature is available only with Vault Enterprise.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.NewMfaTotp(ctx, "my_totp", &vault.MfaTotpArgs{ Name: pulumi.String("my_totp"), Issuer: pulumi.String("hashicorp"), Period: pulumi.Int(60), Algorithm: pulumi.String("SHA256"), Digits: pulumi.Int(8), KeySize: pulumi.Int(20), }) if err != nil { return err } return nil }) }
```
## Import
Mounts can be imported using the `path`, e.g.
```sh $ pulumi import vault:index/mfaTotp:MfaTotp my_totp my_totp ```
func GetMfaTotp ¶
func GetMfaTotp(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MfaTotpState, opts ...pulumi.ResourceOption) (*MfaTotp, error)
GetMfaTotp gets an existing MfaTotp 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 NewMfaTotp ¶
func NewMfaTotp(ctx *pulumi.Context, name string, args *MfaTotpArgs, opts ...pulumi.ResourceOption) (*MfaTotp, error)
NewMfaTotp registers a new resource with the given unique name, arguments, and options.
func (*MfaTotp) ElementType ¶
func (*MfaTotp) ToMfaTotpOutput ¶
func (i *MfaTotp) ToMfaTotpOutput() MfaTotpOutput
func (*MfaTotp) ToMfaTotpOutputWithContext ¶
func (i *MfaTotp) ToMfaTotpOutputWithContext(ctx context.Context) MfaTotpOutput
type MfaTotpArgs ¶
type MfaTotpArgs struct { // `(string)` - Specifies the hashing algorithm used to generate the TOTP code. // Options include `SHA1`, `SHA256` and `SHA512` Algorithm pulumi.StringPtrInput // `(int)` - The number of digits in the generated TOTP token. // This value can either be 6 or 8. Digits pulumi.IntPtrInput // `(string: <required>)` - The name of the key's issuing organization. Issuer pulumi.StringInput // `(int)` - Specifies the size in bytes of the generated key. KeySize pulumi.IntPtrInput // `(string: <required>)` – Name of the MFA method. Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // `(int)` - The length of time used to generate a counter for the TOTP token calculation. Period pulumi.IntPtrInput // `(int)` - The pixel size of the generated square QR code. QrSize pulumi.IntPtrInput // `(int)` - The number of delay periods that are allowed when validating a TOTP token. // This value can either be 0 or 1. Skew pulumi.IntPtrInput }
The set of arguments for constructing a MfaTotp resource.
func (MfaTotpArgs) ElementType ¶
func (MfaTotpArgs) ElementType() reflect.Type
type MfaTotpArray ¶
type MfaTotpArray []MfaTotpInput
func (MfaTotpArray) ElementType ¶
func (MfaTotpArray) ElementType() reflect.Type
func (MfaTotpArray) ToMfaTotpArrayOutput ¶
func (i MfaTotpArray) ToMfaTotpArrayOutput() MfaTotpArrayOutput
func (MfaTotpArray) ToMfaTotpArrayOutputWithContext ¶
func (i MfaTotpArray) ToMfaTotpArrayOutputWithContext(ctx context.Context) MfaTotpArrayOutput
type MfaTotpArrayInput ¶
type MfaTotpArrayInput interface { pulumi.Input ToMfaTotpArrayOutput() MfaTotpArrayOutput ToMfaTotpArrayOutputWithContext(context.Context) MfaTotpArrayOutput }
MfaTotpArrayInput is an input type that accepts MfaTotpArray and MfaTotpArrayOutput values. You can construct a concrete instance of `MfaTotpArrayInput` via:
MfaTotpArray{ MfaTotpArgs{...} }
type MfaTotpArrayOutput ¶
type MfaTotpArrayOutput struct{ *pulumi.OutputState }
func (MfaTotpArrayOutput) ElementType ¶
func (MfaTotpArrayOutput) ElementType() reflect.Type
func (MfaTotpArrayOutput) Index ¶
func (o MfaTotpArrayOutput) Index(i pulumi.IntInput) MfaTotpOutput
func (MfaTotpArrayOutput) ToMfaTotpArrayOutput ¶
func (o MfaTotpArrayOutput) ToMfaTotpArrayOutput() MfaTotpArrayOutput
func (MfaTotpArrayOutput) ToMfaTotpArrayOutputWithContext ¶
func (o MfaTotpArrayOutput) ToMfaTotpArrayOutputWithContext(ctx context.Context) MfaTotpArrayOutput
type MfaTotpInput ¶
type MfaTotpInput interface { pulumi.Input ToMfaTotpOutput() MfaTotpOutput ToMfaTotpOutputWithContext(ctx context.Context) MfaTotpOutput }
type MfaTotpMap ¶
type MfaTotpMap map[string]MfaTotpInput
func (MfaTotpMap) ElementType ¶
func (MfaTotpMap) ElementType() reflect.Type
func (MfaTotpMap) ToMfaTotpMapOutput ¶
func (i MfaTotpMap) ToMfaTotpMapOutput() MfaTotpMapOutput
func (MfaTotpMap) ToMfaTotpMapOutputWithContext ¶
func (i MfaTotpMap) ToMfaTotpMapOutputWithContext(ctx context.Context) MfaTotpMapOutput
type MfaTotpMapInput ¶
type MfaTotpMapInput interface { pulumi.Input ToMfaTotpMapOutput() MfaTotpMapOutput ToMfaTotpMapOutputWithContext(context.Context) MfaTotpMapOutput }
MfaTotpMapInput is an input type that accepts MfaTotpMap and MfaTotpMapOutput values. You can construct a concrete instance of `MfaTotpMapInput` via:
MfaTotpMap{ "key": MfaTotpArgs{...} }
type MfaTotpMapOutput ¶
type MfaTotpMapOutput struct{ *pulumi.OutputState }
func (MfaTotpMapOutput) ElementType ¶
func (MfaTotpMapOutput) ElementType() reflect.Type
func (MfaTotpMapOutput) MapIndex ¶
func (o MfaTotpMapOutput) MapIndex(k pulumi.StringInput) MfaTotpOutput
func (MfaTotpMapOutput) ToMfaTotpMapOutput ¶
func (o MfaTotpMapOutput) ToMfaTotpMapOutput() MfaTotpMapOutput
func (MfaTotpMapOutput) ToMfaTotpMapOutputWithContext ¶
func (o MfaTotpMapOutput) ToMfaTotpMapOutputWithContext(ctx context.Context) MfaTotpMapOutput
type MfaTotpOutput ¶
type MfaTotpOutput struct{ *pulumi.OutputState }
func (MfaTotpOutput) Algorithm ¶
func (o MfaTotpOutput) Algorithm() pulumi.StringPtrOutput
`(string)` - Specifies the hashing algorithm used to generate the TOTP code. Options include `SHA1`, `SHA256` and `SHA512`
func (MfaTotpOutput) Digits ¶
func (o MfaTotpOutput) Digits() pulumi.IntPtrOutput
`(int)` - The number of digits in the generated TOTP token. This value can either be 6 or 8.
func (MfaTotpOutput) ElementType ¶
func (MfaTotpOutput) ElementType() reflect.Type
func (MfaTotpOutput) Issuer ¶
func (o MfaTotpOutput) Issuer() pulumi.StringOutput
`(string: <required>)` - The name of the key's issuing organization.
func (MfaTotpOutput) KeySize ¶
func (o MfaTotpOutput) KeySize() pulumi.IntPtrOutput
`(int)` - Specifies the size in bytes of the generated key.
func (MfaTotpOutput) Name ¶
func (o MfaTotpOutput) Name() pulumi.StringOutput
`(string: <required>)` – Name of the MFA method.
func (MfaTotpOutput) Namespace ¶
func (o MfaTotpOutput) Namespace() pulumi.StringPtrOutput
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). *Available only for Vault Enterprise*.
func (MfaTotpOutput) Period ¶
func (o MfaTotpOutput) Period() pulumi.IntPtrOutput
`(int)` - The length of time used to generate a counter for the TOTP token calculation.
func (MfaTotpOutput) QrSize ¶
func (o MfaTotpOutput) QrSize() pulumi.IntPtrOutput
`(int)` - The pixel size of the generated square QR code.
func (MfaTotpOutput) Skew ¶
func (o MfaTotpOutput) Skew() pulumi.IntPtrOutput
`(int)` - The number of delay periods that are allowed when validating a TOTP token. This value can either be 0 or 1.
func (MfaTotpOutput) ToMfaTotpOutput ¶
func (o MfaTotpOutput) ToMfaTotpOutput() MfaTotpOutput
func (MfaTotpOutput) ToMfaTotpOutputWithContext ¶
func (o MfaTotpOutput) ToMfaTotpOutputWithContext(ctx context.Context) MfaTotpOutput
type MfaTotpState ¶
type MfaTotpState struct { // `(string)` - Specifies the hashing algorithm used to generate the TOTP code. // Options include `SHA1`, `SHA256` and `SHA512` Algorithm pulumi.StringPtrInput // `(int)` - The number of digits in the generated TOTP token. // This value can either be 6 or 8. Digits pulumi.IntPtrInput // `(string: <required>)` - The name of the key's issuing organization. Issuer pulumi.StringPtrInput // `(int)` - Specifies the size in bytes of the generated key. KeySize pulumi.IntPtrInput // `(string: <required>)` – Name of the MFA method. Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // `(int)` - The length of time used to generate a counter for the TOTP token calculation. Period pulumi.IntPtrInput // `(int)` - The pixel size of the generated square QR code. QrSize pulumi.IntPtrInput // `(int)` - The number of delay periods that are allowed when validating a TOTP token. // This value can either be 0 or 1. Skew pulumi.IntPtrInput }
func (MfaTotpState) ElementType ¶
func (MfaTotpState) ElementType() reflect.Type
type Mount ¶
type Mount struct { pulumi.CustomResourceState // The accessor for this mount. Accessor pulumi.StringOutput `pulumi:"accessor"` // Set of managed key registry entry names that the mount in question is allowed to access AllowedManagedKeys pulumi.StringArrayOutput `pulumi:"allowedManagedKeys"` // List of headers to allow, allowing a plugin to include // them in the response. AllowedResponseHeaders pulumi.StringArrayOutput `pulumi:"allowedResponseHeaders"` // Specifies the list of keys that will not be HMAC'd by audit devices in the request data object. AuditNonHmacRequestKeys pulumi.StringArrayOutput `pulumi:"auditNonHmacRequestKeys"` // Specifies the list of keys that will not be HMAC'd by audit devices in the response data object. AuditNonHmacResponseKeys pulumi.StringArrayOutput `pulumi:"auditNonHmacResponseKeys"` // Default lease duration for tokens and secrets in seconds DefaultLeaseTtlSeconds pulumi.IntOutput `pulumi:"defaultLeaseTtlSeconds"` // List of allowed authentication mount accessors the // backend can request delegated authentication for. DelegatedAuthAccessors pulumi.StringArrayOutput `pulumi:"delegatedAuthAccessors"` // Human-friendly description of the mount Description pulumi.StringPtrOutput `pulumi:"description"` // Boolean flag that can be explicitly set to true to enable the secrets engine to access Vault's external entropy source ExternalEntropyAccess pulumi.BoolPtrOutput `pulumi:"externalEntropyAccess"` // The key to use for signing plugin workload identity tokens. If // not provided, this will default to Vault's OIDC default key. IdentityTokenKey pulumi.StringPtrOutput `pulumi:"identityTokenKey"` // Specifies whether to show this mount in the UI-specific // listing endpoint. Valid values are `unauth` or `hidden`. If not set, behaves like `hidden`. ListingVisibility pulumi.StringPtrOutput `pulumi:"listingVisibility"` // Boolean flag that can be explicitly set to true to enforce local mount in HA environment Local pulumi.BoolPtrOutput `pulumi:"local"` // Maximum possible lease duration for tokens and secrets in seconds MaxLeaseTtlSeconds pulumi.IntOutput `pulumi:"maxLeaseTtlSeconds"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // Specifies mount type specific options that are passed to the backend Options pulumi.StringMapOutput `pulumi:"options"` // List of headers to allow and pass from the request to // the plugin. PassthroughRequestHeaders pulumi.StringArrayOutput `pulumi:"passthroughRequestHeaders"` // Where the secret backend will be mounted Path pulumi.StringOutput `pulumi:"path"` // Specifies the semantic version of the plugin to use, e.g. "v1.0.0". // If unspecified, the server will select any matching unversioned plugin that may have been // registered, the latest versioned plugin registered, or a built-in plugin in that order of precedence. PluginVersion pulumi.StringPtrOutput `pulumi:"pluginVersion"` // Boolean flag that can be explicitly set to true to enable seal wrapping for the mount, causing values stored by the mount to be wrapped by the seal's encryption capability SealWrap pulumi.BoolOutput `pulumi:"sealWrap"` // Type of the backend, such as "aws" Type pulumi.StringOutput `pulumi:"type"` }
This resource enables a new secrets engine at the given path.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.NewMount(ctx, "example", &vault.MountArgs{ Path: pulumi.String("dummy"), Type: pulumi.String("generic"), Description: pulumi.String("This is an example mount"), }) if err != nil { return err } return nil }) }
```
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.NewMount(ctx, "kvv2-example", &vault.MountArgs{ Path: pulumi.String("version2-example"), Type: pulumi.String("kv-v2"), Options: pulumi.StringMap{ "version": pulumi.String("2"), "type": pulumi.String("kv-v2"), }, Description: pulumi.String("This is an example KV Version 2 secret engine mount"), }) if err != nil { return err } return nil }) }
```
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.NewMount(ctx, "transit-example", &vault.MountArgs{ Path: pulumi.String("transit-example"), Type: pulumi.String("transit"), Description: pulumi.String("This is an example transit secret engine mount"), Options: pulumi.StringMap{ "convergent_encryption": pulumi.String("false"), }, }) if err != nil { return err } return nil }) }
```
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.NewMount(ctx, "pki-example", &vault.MountArgs{ Path: pulumi.String("pki-example"), Type: pulumi.String("pki"), Description: pulumi.String("This is an example PKI mount"), DefaultLeaseTtlSeconds: pulumi.Int(3600), MaxLeaseTtlSeconds: pulumi.Int(86400), }) if err != nil { return err } return nil }) }
```
## Import
Mounts can be imported using the `path`, e.g.
```sh $ pulumi import vault:index/mount:Mount example dummy ```
func GetMount ¶
func GetMount(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MountState, opts ...pulumi.ResourceOption) (*Mount, error)
GetMount gets an existing Mount 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 NewMount ¶
func NewMount(ctx *pulumi.Context, name string, args *MountArgs, opts ...pulumi.ResourceOption) (*Mount, error)
NewMount registers a new resource with the given unique name, arguments, and options.
func (*Mount) ElementType ¶
func (*Mount) ToMountOutput ¶
func (i *Mount) ToMountOutput() MountOutput
func (*Mount) ToMountOutputWithContext ¶
func (i *Mount) ToMountOutputWithContext(ctx context.Context) MountOutput
type MountArgs ¶
type MountArgs struct { // Set of managed key registry entry names that the mount in question is allowed to access AllowedManagedKeys pulumi.StringArrayInput // List of headers to allow, allowing a plugin to include // them in the response. AllowedResponseHeaders pulumi.StringArrayInput // Specifies the list of keys that will not be HMAC'd by audit devices in the request data object. AuditNonHmacRequestKeys pulumi.StringArrayInput // Specifies the list of keys that will not be HMAC'd by audit devices in the response data object. AuditNonHmacResponseKeys pulumi.StringArrayInput // Default lease duration for tokens and secrets in seconds DefaultLeaseTtlSeconds pulumi.IntPtrInput // List of allowed authentication mount accessors the // backend can request delegated authentication for. DelegatedAuthAccessors pulumi.StringArrayInput // Human-friendly description of the mount Description pulumi.StringPtrInput // Boolean flag that can be explicitly set to true to enable the secrets engine to access Vault's external entropy source ExternalEntropyAccess pulumi.BoolPtrInput // The key to use for signing plugin workload identity tokens. If // not provided, this will default to Vault's OIDC default key. IdentityTokenKey pulumi.StringPtrInput // Specifies whether to show this mount in the UI-specific // listing endpoint. Valid values are `unauth` or `hidden`. If not set, behaves like `hidden`. ListingVisibility pulumi.StringPtrInput // Boolean flag that can be explicitly set to true to enforce local mount in HA environment Local pulumi.BoolPtrInput // Maximum possible lease duration for tokens and secrets in seconds MaxLeaseTtlSeconds pulumi.IntPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // Specifies mount type specific options that are passed to the backend Options pulumi.StringMapInput // List of headers to allow and pass from the request to // the plugin. PassthroughRequestHeaders pulumi.StringArrayInput // Where the secret backend will be mounted Path pulumi.StringInput // Specifies the semantic version of the plugin to use, e.g. "v1.0.0". // If unspecified, the server will select any matching unversioned plugin that may have been // registered, the latest versioned plugin registered, or a built-in plugin in that order of precedence. PluginVersion pulumi.StringPtrInput // Boolean flag that can be explicitly set to true to enable seal wrapping for the mount, causing values stored by the mount to be wrapped by the seal's encryption capability SealWrap pulumi.BoolPtrInput // Type of the backend, such as "aws" Type pulumi.StringInput }
The set of arguments for constructing a Mount resource.
func (MountArgs) ElementType ¶
type MountArray ¶
type MountArray []MountInput
func (MountArray) ElementType ¶
func (MountArray) ElementType() reflect.Type
func (MountArray) ToMountArrayOutput ¶
func (i MountArray) ToMountArrayOutput() MountArrayOutput
func (MountArray) ToMountArrayOutputWithContext ¶
func (i MountArray) ToMountArrayOutputWithContext(ctx context.Context) MountArrayOutput
type MountArrayInput ¶
type MountArrayInput interface { pulumi.Input ToMountArrayOutput() MountArrayOutput ToMountArrayOutputWithContext(context.Context) MountArrayOutput }
MountArrayInput is an input type that accepts MountArray and MountArrayOutput values. You can construct a concrete instance of `MountArrayInput` via:
MountArray{ MountArgs{...} }
type MountArrayOutput ¶
type MountArrayOutput struct{ *pulumi.OutputState }
func (MountArrayOutput) ElementType ¶
func (MountArrayOutput) ElementType() reflect.Type
func (MountArrayOutput) Index ¶
func (o MountArrayOutput) Index(i pulumi.IntInput) MountOutput
func (MountArrayOutput) ToMountArrayOutput ¶
func (o MountArrayOutput) ToMountArrayOutput() MountArrayOutput
func (MountArrayOutput) ToMountArrayOutputWithContext ¶
func (o MountArrayOutput) ToMountArrayOutputWithContext(ctx context.Context) MountArrayOutput
type MountInput ¶
type MountInput interface { pulumi.Input ToMountOutput() MountOutput ToMountOutputWithContext(ctx context.Context) MountOutput }
type MountMap ¶
type MountMap map[string]MountInput
func (MountMap) ElementType ¶
func (MountMap) ToMountMapOutput ¶
func (i MountMap) ToMountMapOutput() MountMapOutput
func (MountMap) ToMountMapOutputWithContext ¶
func (i MountMap) ToMountMapOutputWithContext(ctx context.Context) MountMapOutput
type MountMapInput ¶
type MountMapInput interface { pulumi.Input ToMountMapOutput() MountMapOutput ToMountMapOutputWithContext(context.Context) MountMapOutput }
MountMapInput is an input type that accepts MountMap and MountMapOutput values. You can construct a concrete instance of `MountMapInput` via:
MountMap{ "key": MountArgs{...} }
type MountMapOutput ¶
type MountMapOutput struct{ *pulumi.OutputState }
func (MountMapOutput) ElementType ¶
func (MountMapOutput) ElementType() reflect.Type
func (MountMapOutput) MapIndex ¶
func (o MountMapOutput) MapIndex(k pulumi.StringInput) MountOutput
func (MountMapOutput) ToMountMapOutput ¶
func (o MountMapOutput) ToMountMapOutput() MountMapOutput
func (MountMapOutput) ToMountMapOutputWithContext ¶
func (o MountMapOutput) ToMountMapOutputWithContext(ctx context.Context) MountMapOutput
type MountOutput ¶
type MountOutput struct{ *pulumi.OutputState }
func (MountOutput) Accessor ¶
func (o MountOutput) Accessor() pulumi.StringOutput
The accessor for this mount.
func (MountOutput) AllowedManagedKeys ¶
func (o MountOutput) AllowedManagedKeys() pulumi.StringArrayOutput
Set of managed key registry entry names that the mount in question is allowed to access
func (MountOutput) AllowedResponseHeaders ¶ added in v6.2.0
func (o MountOutput) AllowedResponseHeaders() pulumi.StringArrayOutput
List of headers to allow, allowing a plugin to include them in the response.
func (MountOutput) AuditNonHmacRequestKeys ¶
func (o MountOutput) AuditNonHmacRequestKeys() pulumi.StringArrayOutput
Specifies the list of keys that will not be HMAC'd by audit devices in the request data object.
func (MountOutput) AuditNonHmacResponseKeys ¶
func (o MountOutput) AuditNonHmacResponseKeys() pulumi.StringArrayOutput
Specifies the list of keys that will not be HMAC'd by audit devices in the response data object.
func (MountOutput) DefaultLeaseTtlSeconds ¶
func (o MountOutput) DefaultLeaseTtlSeconds() pulumi.IntOutput
Default lease duration for tokens and secrets in seconds
func (MountOutput) DelegatedAuthAccessors ¶ added in v6.2.0
func (o MountOutput) DelegatedAuthAccessors() pulumi.StringArrayOutput
List of allowed authentication mount accessors the backend can request delegated authentication for.
func (MountOutput) Description ¶
func (o MountOutput) Description() pulumi.StringPtrOutput
Human-friendly description of the mount
func (MountOutput) ElementType ¶
func (MountOutput) ElementType() reflect.Type
func (MountOutput) ExternalEntropyAccess ¶
func (o MountOutput) ExternalEntropyAccess() pulumi.BoolPtrOutput
Boolean flag that can be explicitly set to true to enable the secrets engine to access Vault's external entropy source
func (MountOutput) IdentityTokenKey ¶ added in v6.2.0
func (o MountOutput) IdentityTokenKey() pulumi.StringPtrOutput
The key to use for signing plugin workload identity tokens. If not provided, this will default to Vault's OIDC default key.
func (MountOutput) ListingVisibility ¶ added in v6.2.0
func (o MountOutput) ListingVisibility() pulumi.StringPtrOutput
Specifies whether to show this mount in the UI-specific listing endpoint. Valid values are `unauth` or `hidden`. If not set, behaves like `hidden`.
func (MountOutput) Local ¶
func (o MountOutput) Local() pulumi.BoolPtrOutput
Boolean flag that can be explicitly set to true to enforce local mount in HA environment
func (MountOutput) MaxLeaseTtlSeconds ¶
func (o MountOutput) MaxLeaseTtlSeconds() pulumi.IntOutput
Maximum possible lease duration for tokens and secrets in seconds
func (MountOutput) Namespace ¶
func (o MountOutput) Namespace() pulumi.StringPtrOutput
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). *Available only for Vault Enterprise*.
func (MountOutput) Options ¶
func (o MountOutput) Options() pulumi.StringMapOutput
Specifies mount type specific options that are passed to the backend
func (MountOutput) PassthroughRequestHeaders ¶ added in v6.2.0
func (o MountOutput) PassthroughRequestHeaders() pulumi.StringArrayOutput
List of headers to allow and pass from the request to the plugin.
func (MountOutput) Path ¶
func (o MountOutput) Path() pulumi.StringOutput
Where the secret backend will be mounted
func (MountOutput) PluginVersion ¶ added in v6.2.0
func (o MountOutput) PluginVersion() pulumi.StringPtrOutput
Specifies the semantic version of the plugin to use, e.g. "v1.0.0". If unspecified, the server will select any matching unversioned plugin that may have been registered, the latest versioned plugin registered, or a built-in plugin in that order of precedence.
func (MountOutput) SealWrap ¶
func (o MountOutput) SealWrap() pulumi.BoolOutput
Boolean flag that can be explicitly set to true to enable seal wrapping for the mount, causing values stored by the mount to be wrapped by the seal's encryption capability
func (MountOutput) ToMountOutput ¶
func (o MountOutput) ToMountOutput() MountOutput
func (MountOutput) ToMountOutputWithContext ¶
func (o MountOutput) ToMountOutputWithContext(ctx context.Context) MountOutput
func (MountOutput) Type ¶
func (o MountOutput) Type() pulumi.StringOutput
Type of the backend, such as "aws"
type MountState ¶
type MountState struct { // The accessor for this mount. Accessor pulumi.StringPtrInput // Set of managed key registry entry names that the mount in question is allowed to access AllowedManagedKeys pulumi.StringArrayInput // List of headers to allow, allowing a plugin to include // them in the response. AllowedResponseHeaders pulumi.StringArrayInput // Specifies the list of keys that will not be HMAC'd by audit devices in the request data object. AuditNonHmacRequestKeys pulumi.StringArrayInput // Specifies the list of keys that will not be HMAC'd by audit devices in the response data object. AuditNonHmacResponseKeys pulumi.StringArrayInput // Default lease duration for tokens and secrets in seconds DefaultLeaseTtlSeconds pulumi.IntPtrInput // List of allowed authentication mount accessors the // backend can request delegated authentication for. DelegatedAuthAccessors pulumi.StringArrayInput // Human-friendly description of the mount Description pulumi.StringPtrInput // Boolean flag that can be explicitly set to true to enable the secrets engine to access Vault's external entropy source ExternalEntropyAccess pulumi.BoolPtrInput // The key to use for signing plugin workload identity tokens. If // not provided, this will default to Vault's OIDC default key. IdentityTokenKey pulumi.StringPtrInput // Specifies whether to show this mount in the UI-specific // listing endpoint. Valid values are `unauth` or `hidden`. If not set, behaves like `hidden`. ListingVisibility pulumi.StringPtrInput // Boolean flag that can be explicitly set to true to enforce local mount in HA environment Local pulumi.BoolPtrInput // Maximum possible lease duration for tokens and secrets in seconds MaxLeaseTtlSeconds pulumi.IntPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // Specifies mount type specific options that are passed to the backend Options pulumi.StringMapInput // List of headers to allow and pass from the request to // the plugin. PassthroughRequestHeaders pulumi.StringArrayInput // Where the secret backend will be mounted Path pulumi.StringPtrInput // Specifies the semantic version of the plugin to use, e.g. "v1.0.0". // If unspecified, the server will select any matching unversioned plugin that may have been // registered, the latest versioned plugin registered, or a built-in plugin in that order of precedence. PluginVersion pulumi.StringPtrInput // Boolean flag that can be explicitly set to true to enable seal wrapping for the mount, causing values stored by the mount to be wrapped by the seal's encryption capability SealWrap pulumi.BoolPtrInput // Type of the backend, such as "aws" Type pulumi.StringPtrInput }
func (MountState) ElementType ¶
func (MountState) ElementType() reflect.Type
type Namespace ¶
type Namespace struct { pulumi.CustomResourceState // Custom metadata describing this namespace. Value type // is `map[string]string`. Requires Vault version 1.12+. CustomMetadata pulumi.StringMapOutput `pulumi:"customMetadata"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // Vault server's internal ID of the namespace. NamespaceId pulumi.StringOutput `pulumi:"namespaceId"` // The path of the namespace. Must not have a trailing `/`. Path pulumi.StringOutput `pulumi:"path"` // The fully qualified path to the namespace. Useful when provisioning resources in a child `namespace`. // The path is relative to the provider's `namespace` argument. PathFq pulumi.StringOutput `pulumi:"pathFq"` }
## Import
Namespaces can be imported using its `name` as accessor id ¶
```sh $ pulumi import vault:index/namespace:Namespace example <name> ```
If the declared resource is imported and intends to support namespaces using a provider alias, then the name is relative to the namespace path.
hcl
provider "vault" {
Configuration options ¶
namespace = "example" alias = "example"
}
resource "vault_namespace" "example2" {
provider = vault.example path = "example2"
}
```sh $ pulumi import vault:index/namespace:Namespace example2 example2 ```
$ terraform state show vault_namespace.example2
vault_namespace.example2:
resource "vault_namespace" "example2" {
id = "example/example2/" namespace_id = <known after import> path = "example2" path_fq = "example2"
}
func GetNamespace ¶
func GetNamespace(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NamespaceState, opts ...pulumi.ResourceOption) (*Namespace, error)
GetNamespace gets an existing Namespace 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 NewNamespace ¶
func NewNamespace(ctx *pulumi.Context, name string, args *NamespaceArgs, opts ...pulumi.ResourceOption) (*Namespace, error)
NewNamespace registers a new resource with the given unique name, arguments, and options.
func (*Namespace) ElementType ¶
func (*Namespace) ToNamespaceOutput ¶
func (i *Namespace) ToNamespaceOutput() NamespaceOutput
func (*Namespace) ToNamespaceOutputWithContext ¶
func (i *Namespace) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput
type NamespaceArgs ¶
type NamespaceArgs struct { // Custom metadata describing this namespace. Value type // is `map[string]string`. Requires Vault version 1.12+. CustomMetadata pulumi.StringMapInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // The path of the namespace. Must not have a trailing `/`. Path pulumi.StringInput // The fully qualified path to the namespace. Useful when provisioning resources in a child `namespace`. // The path is relative to the provider's `namespace` argument. PathFq pulumi.StringPtrInput }
The set of arguments for constructing a Namespace resource.
func (NamespaceArgs) ElementType ¶
func (NamespaceArgs) ElementType() reflect.Type
type NamespaceArray ¶
type NamespaceArray []NamespaceInput
func (NamespaceArray) ElementType ¶
func (NamespaceArray) ElementType() reflect.Type
func (NamespaceArray) ToNamespaceArrayOutput ¶
func (i NamespaceArray) ToNamespaceArrayOutput() NamespaceArrayOutput
func (NamespaceArray) ToNamespaceArrayOutputWithContext ¶
func (i NamespaceArray) ToNamespaceArrayOutputWithContext(ctx context.Context) NamespaceArrayOutput
type NamespaceArrayInput ¶
type NamespaceArrayInput interface { pulumi.Input ToNamespaceArrayOutput() NamespaceArrayOutput ToNamespaceArrayOutputWithContext(context.Context) NamespaceArrayOutput }
NamespaceArrayInput is an input type that accepts NamespaceArray and NamespaceArrayOutput values. You can construct a concrete instance of `NamespaceArrayInput` via:
NamespaceArray{ NamespaceArgs{...} }
type NamespaceArrayOutput ¶
type NamespaceArrayOutput struct{ *pulumi.OutputState }
func (NamespaceArrayOutput) ElementType ¶
func (NamespaceArrayOutput) ElementType() reflect.Type
func (NamespaceArrayOutput) Index ¶
func (o NamespaceArrayOutput) Index(i pulumi.IntInput) NamespaceOutput
func (NamespaceArrayOutput) ToNamespaceArrayOutput ¶
func (o NamespaceArrayOutput) ToNamespaceArrayOutput() NamespaceArrayOutput
func (NamespaceArrayOutput) ToNamespaceArrayOutputWithContext ¶
func (o NamespaceArrayOutput) ToNamespaceArrayOutputWithContext(ctx context.Context) NamespaceArrayOutput
type NamespaceInput ¶
type NamespaceInput interface { pulumi.Input ToNamespaceOutput() NamespaceOutput ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput }
type NamespaceMap ¶
type NamespaceMap map[string]NamespaceInput
func (NamespaceMap) ElementType ¶
func (NamespaceMap) ElementType() reflect.Type
func (NamespaceMap) ToNamespaceMapOutput ¶
func (i NamespaceMap) ToNamespaceMapOutput() NamespaceMapOutput
func (NamespaceMap) ToNamespaceMapOutputWithContext ¶
func (i NamespaceMap) ToNamespaceMapOutputWithContext(ctx context.Context) NamespaceMapOutput
type NamespaceMapInput ¶
type NamespaceMapInput interface { pulumi.Input ToNamespaceMapOutput() NamespaceMapOutput ToNamespaceMapOutputWithContext(context.Context) NamespaceMapOutput }
NamespaceMapInput is an input type that accepts NamespaceMap and NamespaceMapOutput values. You can construct a concrete instance of `NamespaceMapInput` via:
NamespaceMap{ "key": NamespaceArgs{...} }
type NamespaceMapOutput ¶
type NamespaceMapOutput struct{ *pulumi.OutputState }
func (NamespaceMapOutput) ElementType ¶
func (NamespaceMapOutput) ElementType() reflect.Type
func (NamespaceMapOutput) MapIndex ¶
func (o NamespaceMapOutput) MapIndex(k pulumi.StringInput) NamespaceOutput
func (NamespaceMapOutput) ToNamespaceMapOutput ¶
func (o NamespaceMapOutput) ToNamespaceMapOutput() NamespaceMapOutput
func (NamespaceMapOutput) ToNamespaceMapOutputWithContext ¶
func (o NamespaceMapOutput) ToNamespaceMapOutputWithContext(ctx context.Context) NamespaceMapOutput
type NamespaceOutput ¶
type NamespaceOutput struct{ *pulumi.OutputState }
func (NamespaceOutput) CustomMetadata ¶
func (o NamespaceOutput) CustomMetadata() pulumi.StringMapOutput
Custom metadata describing this namespace. Value type is `map[string]string`. Requires Vault version 1.12+.
func (NamespaceOutput) ElementType ¶
func (NamespaceOutput) ElementType() reflect.Type
func (NamespaceOutput) Namespace ¶
func (o NamespaceOutput) Namespace() pulumi.StringPtrOutput
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). *Available only for Vault Enterprise*.
func (NamespaceOutput) NamespaceId ¶
func (o NamespaceOutput) NamespaceId() pulumi.StringOutput
Vault server's internal ID of the namespace.
func (NamespaceOutput) Path ¶
func (o NamespaceOutput) Path() pulumi.StringOutput
The path of the namespace. Must not have a trailing `/`.
func (NamespaceOutput) PathFq ¶
func (o NamespaceOutput) PathFq() pulumi.StringOutput
The fully qualified path to the namespace. Useful when provisioning resources in a child `namespace`. The path is relative to the provider's `namespace` argument.
func (NamespaceOutput) ToNamespaceOutput ¶
func (o NamespaceOutput) ToNamespaceOutput() NamespaceOutput
func (NamespaceOutput) ToNamespaceOutputWithContext ¶
func (o NamespaceOutput) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput
type NamespaceState ¶
type NamespaceState struct { // Custom metadata describing this namespace. Value type // is `map[string]string`. Requires Vault version 1.12+. CustomMetadata pulumi.StringMapInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // Vault server's internal ID of the namespace. NamespaceId pulumi.StringPtrInput // The path of the namespace. Must not have a trailing `/`. Path pulumi.StringPtrInput // The fully qualified path to the namespace. Useful when provisioning resources in a child `namespace`. // The path is relative to the provider's `namespace` argument. PathFq pulumi.StringPtrInput }
func (NamespaceState) ElementType ¶
func (NamespaceState) ElementType() reflect.Type
type NomadSecretBackend ¶
type NomadSecretBackend struct { pulumi.CustomResourceState // Specifies the address of the Nomad instance, provided // as "protocol://host:port" like "http://127.0.0.1:4646". Address pulumi.StringPtrOutput `pulumi:"address"` // The unique path this backend should be mounted at. Must // not begin or end with a `/`. Defaults to `nomad`. Backend pulumi.StringPtrOutput `pulumi:"backend"` // CA certificate to use when verifying the Nomad server certificate, must be // x509 PEM encoded. CaCert pulumi.StringPtrOutput `pulumi:"caCert"` // Client certificate to provide to the Nomad server, must be x509 PEM encoded. ClientCert pulumi.StringPtrOutput `pulumi:"clientCert"` // Client certificate key to provide to the Nomad server, must be x509 PEM encoded. ClientKey pulumi.StringPtrOutput `pulumi:"clientKey"` // Default lease duration for secrets in seconds. DefaultLeaseTtlSeconds pulumi.IntOutput `pulumi:"defaultLeaseTtlSeconds"` // Human-friendly description of the mount for the Active Directory backend. Description pulumi.StringPtrOutput `pulumi:"description"` // If set, opts out of mount migration on path updates. // See here for more info on [Mount Migration](https://www.vaultproject.io/docs/concepts/mount-migration) DisableRemount pulumi.BoolPtrOutput `pulumi:"disableRemount"` // Mark the secrets engine as local-only. Local engines are not replicated or removed by // replication.Tolerance duration to use when checking the last rotation time. Local pulumi.BoolPtrOutput `pulumi:"local"` // Maximum possible lease duration for secrets in seconds. MaxLeaseTtlSeconds pulumi.IntOutput `pulumi:"maxLeaseTtlSeconds"` // Specifies the maximum length to use for the name of the Nomad token // generated with Generate Credential. If omitted, 0 is used and ignored, defaulting to the max value allowed // by the Nomad version. MaxTokenNameLength pulumi.IntOutput `pulumi:"maxTokenNameLength"` // Maximum possible lease duration for secrets in seconds. MaxTtl pulumi.IntOutput `pulumi:"maxTtl"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // Specifies the Nomad Management token to use. Token pulumi.StringPtrOutput `pulumi:"token"` // Specifies the ttl of the lease for the generated token. Ttl pulumi.IntOutput `pulumi:"ttl"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.NewNomadSecretBackend(ctx, "config", &vault.NomadSecretBackendArgs{ Backend: pulumi.String("nomad"), Description: pulumi.String("test description"), DefaultLeaseTtlSeconds: pulumi.Int(3600), MaxLeaseTtlSeconds: pulumi.Int(7200), MaxTtl: pulumi.Int(240), Address: pulumi.String("https://127.0.0.1:4646"), Token: pulumi.String("ae20ceaa-..."), Ttl: pulumi.Int(120), }) if err != nil { return err } return nil }) }
```
## Import
Nomad secret backend can be imported using the `backend`, e.g.
```sh $ pulumi import vault:index/nomadSecretBackend:NomadSecretBackend nomad nomad ```
func GetNomadSecretBackend ¶
func GetNomadSecretBackend(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NomadSecretBackendState, opts ...pulumi.ResourceOption) (*NomadSecretBackend, error)
GetNomadSecretBackend gets an existing NomadSecretBackend 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 NewNomadSecretBackend ¶
func NewNomadSecretBackend(ctx *pulumi.Context, name string, args *NomadSecretBackendArgs, opts ...pulumi.ResourceOption) (*NomadSecretBackend, error)
NewNomadSecretBackend registers a new resource with the given unique name, arguments, and options.
func (*NomadSecretBackend) ElementType ¶
func (*NomadSecretBackend) ElementType() reflect.Type
func (*NomadSecretBackend) ToNomadSecretBackendOutput ¶
func (i *NomadSecretBackend) ToNomadSecretBackendOutput() NomadSecretBackendOutput
func (*NomadSecretBackend) ToNomadSecretBackendOutputWithContext ¶
func (i *NomadSecretBackend) ToNomadSecretBackendOutputWithContext(ctx context.Context) NomadSecretBackendOutput
type NomadSecretBackendArgs ¶
type NomadSecretBackendArgs struct { // Specifies the address of the Nomad instance, provided // as "protocol://host:port" like "http://127.0.0.1:4646". Address pulumi.StringPtrInput // The unique path this backend should be mounted at. Must // not begin or end with a `/`. Defaults to `nomad`. Backend pulumi.StringPtrInput // CA certificate to use when verifying the Nomad server certificate, must be // x509 PEM encoded. CaCert pulumi.StringPtrInput // Client certificate to provide to the Nomad server, must be x509 PEM encoded. ClientCert pulumi.StringPtrInput // Client certificate key to provide to the Nomad server, must be x509 PEM encoded. ClientKey pulumi.StringPtrInput // Default lease duration for secrets in seconds. DefaultLeaseTtlSeconds pulumi.IntPtrInput // Human-friendly description of the mount for the Active Directory backend. Description pulumi.StringPtrInput // If set, opts out of mount migration on path updates. // See here for more info on [Mount Migration](https://www.vaultproject.io/docs/concepts/mount-migration) DisableRemount pulumi.BoolPtrInput // Mark the secrets engine as local-only. Local engines are not replicated or removed by // replication.Tolerance duration to use when checking the last rotation time. Local pulumi.BoolPtrInput // Maximum possible lease duration for secrets in seconds. MaxLeaseTtlSeconds pulumi.IntPtrInput // Specifies the maximum length to use for the name of the Nomad token // generated with Generate Credential. If omitted, 0 is used and ignored, defaulting to the max value allowed // by the Nomad version. MaxTokenNameLength pulumi.IntPtrInput // Maximum possible lease duration for secrets in seconds. MaxTtl pulumi.IntPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // Specifies the Nomad Management token to use. Token pulumi.StringPtrInput // Specifies the ttl of the lease for the generated token. Ttl pulumi.IntPtrInput }
The set of arguments for constructing a NomadSecretBackend resource.
func (NomadSecretBackendArgs) ElementType ¶
func (NomadSecretBackendArgs) ElementType() reflect.Type
type NomadSecretBackendArray ¶
type NomadSecretBackendArray []NomadSecretBackendInput
func (NomadSecretBackendArray) ElementType ¶
func (NomadSecretBackendArray) ElementType() reflect.Type
func (NomadSecretBackendArray) ToNomadSecretBackendArrayOutput ¶
func (i NomadSecretBackendArray) ToNomadSecretBackendArrayOutput() NomadSecretBackendArrayOutput
func (NomadSecretBackendArray) ToNomadSecretBackendArrayOutputWithContext ¶
func (i NomadSecretBackendArray) ToNomadSecretBackendArrayOutputWithContext(ctx context.Context) NomadSecretBackendArrayOutput
type NomadSecretBackendArrayInput ¶
type NomadSecretBackendArrayInput interface { pulumi.Input ToNomadSecretBackendArrayOutput() NomadSecretBackendArrayOutput ToNomadSecretBackendArrayOutputWithContext(context.Context) NomadSecretBackendArrayOutput }
NomadSecretBackendArrayInput is an input type that accepts NomadSecretBackendArray and NomadSecretBackendArrayOutput values. You can construct a concrete instance of `NomadSecretBackendArrayInput` via:
NomadSecretBackendArray{ NomadSecretBackendArgs{...} }
type NomadSecretBackendArrayOutput ¶
type NomadSecretBackendArrayOutput struct{ *pulumi.OutputState }
func (NomadSecretBackendArrayOutput) ElementType ¶
func (NomadSecretBackendArrayOutput) ElementType() reflect.Type
func (NomadSecretBackendArrayOutput) Index ¶
func (o NomadSecretBackendArrayOutput) Index(i pulumi.IntInput) NomadSecretBackendOutput
func (NomadSecretBackendArrayOutput) ToNomadSecretBackendArrayOutput ¶
func (o NomadSecretBackendArrayOutput) ToNomadSecretBackendArrayOutput() NomadSecretBackendArrayOutput
func (NomadSecretBackendArrayOutput) ToNomadSecretBackendArrayOutputWithContext ¶
func (o NomadSecretBackendArrayOutput) ToNomadSecretBackendArrayOutputWithContext(ctx context.Context) NomadSecretBackendArrayOutput
type NomadSecretBackendInput ¶
type NomadSecretBackendInput interface { pulumi.Input ToNomadSecretBackendOutput() NomadSecretBackendOutput ToNomadSecretBackendOutputWithContext(ctx context.Context) NomadSecretBackendOutput }
type NomadSecretBackendMap ¶
type NomadSecretBackendMap map[string]NomadSecretBackendInput
func (NomadSecretBackendMap) ElementType ¶
func (NomadSecretBackendMap) ElementType() reflect.Type
func (NomadSecretBackendMap) ToNomadSecretBackendMapOutput ¶
func (i NomadSecretBackendMap) ToNomadSecretBackendMapOutput() NomadSecretBackendMapOutput
func (NomadSecretBackendMap) ToNomadSecretBackendMapOutputWithContext ¶
func (i NomadSecretBackendMap) ToNomadSecretBackendMapOutputWithContext(ctx context.Context) NomadSecretBackendMapOutput
type NomadSecretBackendMapInput ¶
type NomadSecretBackendMapInput interface { pulumi.Input ToNomadSecretBackendMapOutput() NomadSecretBackendMapOutput ToNomadSecretBackendMapOutputWithContext(context.Context) NomadSecretBackendMapOutput }
NomadSecretBackendMapInput is an input type that accepts NomadSecretBackendMap and NomadSecretBackendMapOutput values. You can construct a concrete instance of `NomadSecretBackendMapInput` via:
NomadSecretBackendMap{ "key": NomadSecretBackendArgs{...} }
type NomadSecretBackendMapOutput ¶
type NomadSecretBackendMapOutput struct{ *pulumi.OutputState }
func (NomadSecretBackendMapOutput) ElementType ¶
func (NomadSecretBackendMapOutput) ElementType() reflect.Type
func (NomadSecretBackendMapOutput) MapIndex ¶
func (o NomadSecretBackendMapOutput) MapIndex(k pulumi.StringInput) NomadSecretBackendOutput
func (NomadSecretBackendMapOutput) ToNomadSecretBackendMapOutput ¶
func (o NomadSecretBackendMapOutput) ToNomadSecretBackendMapOutput() NomadSecretBackendMapOutput
func (NomadSecretBackendMapOutput) ToNomadSecretBackendMapOutputWithContext ¶
func (o NomadSecretBackendMapOutput) ToNomadSecretBackendMapOutputWithContext(ctx context.Context) NomadSecretBackendMapOutput
type NomadSecretBackendOutput ¶
type NomadSecretBackendOutput struct{ *pulumi.OutputState }
func (NomadSecretBackendOutput) Address ¶
func (o NomadSecretBackendOutput) Address() pulumi.StringPtrOutput
Specifies the address of the Nomad instance, provided as "protocol://host:port" like "http://127.0.0.1:4646".
func (NomadSecretBackendOutput) Backend ¶
func (o NomadSecretBackendOutput) Backend() pulumi.StringPtrOutput
The unique path this backend should be mounted at. Must not begin or end with a `/`. Defaults to `nomad`.
func (NomadSecretBackendOutput) CaCert ¶
func (o NomadSecretBackendOutput) CaCert() pulumi.StringPtrOutput
CA certificate to use when verifying the Nomad server certificate, must be x509 PEM encoded.
func (NomadSecretBackendOutput) ClientCert ¶
func (o NomadSecretBackendOutput) ClientCert() pulumi.StringPtrOutput
Client certificate to provide to the Nomad server, must be x509 PEM encoded.
func (NomadSecretBackendOutput) ClientKey ¶
func (o NomadSecretBackendOutput) ClientKey() pulumi.StringPtrOutput
Client certificate key to provide to the Nomad server, must be x509 PEM encoded.
func (NomadSecretBackendOutput) DefaultLeaseTtlSeconds ¶
func (o NomadSecretBackendOutput) DefaultLeaseTtlSeconds() pulumi.IntOutput
Default lease duration for secrets in seconds.
func (NomadSecretBackendOutput) Description ¶
func (o NomadSecretBackendOutput) Description() pulumi.StringPtrOutput
Human-friendly description of the mount for the Active Directory backend.
func (NomadSecretBackendOutput) DisableRemount ¶
func (o NomadSecretBackendOutput) DisableRemount() pulumi.BoolPtrOutput
If set, opts out of mount migration on path updates. See here for more info on [Mount Migration](https://www.vaultproject.io/docs/concepts/mount-migration)
func (NomadSecretBackendOutput) ElementType ¶
func (NomadSecretBackendOutput) ElementType() reflect.Type
func (NomadSecretBackendOutput) Local ¶
func (o NomadSecretBackendOutput) Local() pulumi.BoolPtrOutput
Mark the secrets engine as local-only. Local engines are not replicated or removed by replication.Tolerance duration to use when checking the last rotation time.
func (NomadSecretBackendOutput) MaxLeaseTtlSeconds ¶
func (o NomadSecretBackendOutput) MaxLeaseTtlSeconds() pulumi.IntOutput
Maximum possible lease duration for secrets in seconds.
func (NomadSecretBackendOutput) MaxTokenNameLength ¶
func (o NomadSecretBackendOutput) MaxTokenNameLength() pulumi.IntOutput
Specifies the maximum length to use for the name of the Nomad token generated with Generate Credential. If omitted, 0 is used and ignored, defaulting to the max value allowed by the Nomad version.
func (NomadSecretBackendOutput) MaxTtl ¶
func (o NomadSecretBackendOutput) MaxTtl() pulumi.IntOutput
Maximum possible lease duration for secrets in seconds.
func (NomadSecretBackendOutput) Namespace ¶
func (o NomadSecretBackendOutput) Namespace() pulumi.StringPtrOutput
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). *Available only for Vault Enterprise*.
func (NomadSecretBackendOutput) ToNomadSecretBackendOutput ¶
func (o NomadSecretBackendOutput) ToNomadSecretBackendOutput() NomadSecretBackendOutput
func (NomadSecretBackendOutput) ToNomadSecretBackendOutputWithContext ¶
func (o NomadSecretBackendOutput) ToNomadSecretBackendOutputWithContext(ctx context.Context) NomadSecretBackendOutput
func (NomadSecretBackendOutput) Token ¶
func (o NomadSecretBackendOutput) Token() pulumi.StringPtrOutput
Specifies the Nomad Management token to use.
func (NomadSecretBackendOutput) Ttl ¶
func (o NomadSecretBackendOutput) Ttl() pulumi.IntOutput
Specifies the ttl of the lease for the generated token.
type NomadSecretBackendState ¶
type NomadSecretBackendState struct { // Specifies the address of the Nomad instance, provided // as "protocol://host:port" like "http://127.0.0.1:4646". Address pulumi.StringPtrInput // The unique path this backend should be mounted at. Must // not begin or end with a `/`. Defaults to `nomad`. Backend pulumi.StringPtrInput // CA certificate to use when verifying the Nomad server certificate, must be // x509 PEM encoded. CaCert pulumi.StringPtrInput // Client certificate to provide to the Nomad server, must be x509 PEM encoded. ClientCert pulumi.StringPtrInput // Client certificate key to provide to the Nomad server, must be x509 PEM encoded. ClientKey pulumi.StringPtrInput // Default lease duration for secrets in seconds. DefaultLeaseTtlSeconds pulumi.IntPtrInput // Human-friendly description of the mount for the Active Directory backend. Description pulumi.StringPtrInput // If set, opts out of mount migration on path updates. // See here for more info on [Mount Migration](https://www.vaultproject.io/docs/concepts/mount-migration) DisableRemount pulumi.BoolPtrInput // Mark the secrets engine as local-only. Local engines are not replicated or removed by // replication.Tolerance duration to use when checking the last rotation time. Local pulumi.BoolPtrInput // Maximum possible lease duration for secrets in seconds. MaxLeaseTtlSeconds pulumi.IntPtrInput // Specifies the maximum length to use for the name of the Nomad token // generated with Generate Credential. If omitted, 0 is used and ignored, defaulting to the max value allowed // by the Nomad version. MaxTokenNameLength pulumi.IntPtrInput // Maximum possible lease duration for secrets in seconds. MaxTtl pulumi.IntPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // Specifies the Nomad Management token to use. Token pulumi.StringPtrInput // Specifies the ttl of the lease for the generated token. Ttl pulumi.IntPtrInput }
func (NomadSecretBackendState) ElementType ¶
func (NomadSecretBackendState) ElementType() reflect.Type
type NomadSecretRole ¶
type NomadSecretRole struct { pulumi.CustomResourceState // The unique path this backend should be mounted at. Backend pulumi.StringOutput `pulumi:"backend"` // Specifies if the generated token should be global. Defaults to // false. Global pulumi.BoolOutput `pulumi:"global"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // List of policies attached to the generated token. This setting is only used // when `type` is 'client'. Policies pulumi.StringArrayOutput `pulumi:"policies"` // The name to identify this role within the backend. // Must be unique within the backend. Role pulumi.StringOutput `pulumi:"role"` // Specifies the type of token to create when using this role. Valid // settings are 'client' and 'management'. Defaults to 'client'. Type pulumi.StringOutput `pulumi:"type"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { config, err := vault.NewNomadSecretBackend(ctx, "config", &vault.NomadSecretBackendArgs{ Backend: pulumi.String("nomad"), Description: pulumi.String("test description"), DefaultLeaseTtlSeconds: pulumi.Int(3600), MaxLeaseTtlSeconds: pulumi.Int(7200), Address: pulumi.String("https://127.0.0.1:4646"), Token: pulumi.String("ae20ceaa-..."), }) if err != nil { return err } _, err = vault.NewNomadSecretRole(ctx, "test", &vault.NomadSecretRoleArgs{ Backend: config.Backend, Role: pulumi.String("test"), Type: pulumi.String("client"), Policies: pulumi.StringArray{ pulumi.String("readonly"), }, }) if err != nil { return err } return nil }) }
```
## Import
Nomad secret role can be imported using the `backend`, e.g.
```sh $ pulumi import vault:index/nomadSecretRole:NomadSecretRole bob nomad/role/bob ```
func GetNomadSecretRole ¶
func GetNomadSecretRole(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NomadSecretRoleState, opts ...pulumi.ResourceOption) (*NomadSecretRole, error)
GetNomadSecretRole gets an existing NomadSecretRole 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 NewNomadSecretRole ¶
func NewNomadSecretRole(ctx *pulumi.Context, name string, args *NomadSecretRoleArgs, opts ...pulumi.ResourceOption) (*NomadSecretRole, error)
NewNomadSecretRole registers a new resource with the given unique name, arguments, and options.
func (*NomadSecretRole) ElementType ¶
func (*NomadSecretRole) ElementType() reflect.Type
func (*NomadSecretRole) ToNomadSecretRoleOutput ¶
func (i *NomadSecretRole) ToNomadSecretRoleOutput() NomadSecretRoleOutput
func (*NomadSecretRole) ToNomadSecretRoleOutputWithContext ¶
func (i *NomadSecretRole) ToNomadSecretRoleOutputWithContext(ctx context.Context) NomadSecretRoleOutput
type NomadSecretRoleArgs ¶
type NomadSecretRoleArgs struct { // The unique path this backend should be mounted at. Backend pulumi.StringInput // Specifies if the generated token should be global. Defaults to // false. Global pulumi.BoolPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // List of policies attached to the generated token. This setting is only used // when `type` is 'client'. Policies pulumi.StringArrayInput // The name to identify this role within the backend. // Must be unique within the backend. Role pulumi.StringInput // Specifies the type of token to create when using this role. Valid // settings are 'client' and 'management'. Defaults to 'client'. Type pulumi.StringPtrInput }
The set of arguments for constructing a NomadSecretRole resource.
func (NomadSecretRoleArgs) ElementType ¶
func (NomadSecretRoleArgs) ElementType() reflect.Type
type NomadSecretRoleArray ¶
type NomadSecretRoleArray []NomadSecretRoleInput
func (NomadSecretRoleArray) ElementType ¶
func (NomadSecretRoleArray) ElementType() reflect.Type
func (NomadSecretRoleArray) ToNomadSecretRoleArrayOutput ¶
func (i NomadSecretRoleArray) ToNomadSecretRoleArrayOutput() NomadSecretRoleArrayOutput
func (NomadSecretRoleArray) ToNomadSecretRoleArrayOutputWithContext ¶
func (i NomadSecretRoleArray) ToNomadSecretRoleArrayOutputWithContext(ctx context.Context) NomadSecretRoleArrayOutput
type NomadSecretRoleArrayInput ¶
type NomadSecretRoleArrayInput interface { pulumi.Input ToNomadSecretRoleArrayOutput() NomadSecretRoleArrayOutput ToNomadSecretRoleArrayOutputWithContext(context.Context) NomadSecretRoleArrayOutput }
NomadSecretRoleArrayInput is an input type that accepts NomadSecretRoleArray and NomadSecretRoleArrayOutput values. You can construct a concrete instance of `NomadSecretRoleArrayInput` via:
NomadSecretRoleArray{ NomadSecretRoleArgs{...} }
type NomadSecretRoleArrayOutput ¶
type NomadSecretRoleArrayOutput struct{ *pulumi.OutputState }
func (NomadSecretRoleArrayOutput) ElementType ¶
func (NomadSecretRoleArrayOutput) ElementType() reflect.Type
func (NomadSecretRoleArrayOutput) Index ¶
func (o NomadSecretRoleArrayOutput) Index(i pulumi.IntInput) NomadSecretRoleOutput
func (NomadSecretRoleArrayOutput) ToNomadSecretRoleArrayOutput ¶
func (o NomadSecretRoleArrayOutput) ToNomadSecretRoleArrayOutput() NomadSecretRoleArrayOutput
func (NomadSecretRoleArrayOutput) ToNomadSecretRoleArrayOutputWithContext ¶
func (o NomadSecretRoleArrayOutput) ToNomadSecretRoleArrayOutputWithContext(ctx context.Context) NomadSecretRoleArrayOutput
type NomadSecretRoleInput ¶
type NomadSecretRoleInput interface { pulumi.Input ToNomadSecretRoleOutput() NomadSecretRoleOutput ToNomadSecretRoleOutputWithContext(ctx context.Context) NomadSecretRoleOutput }
type NomadSecretRoleMap ¶
type NomadSecretRoleMap map[string]NomadSecretRoleInput
func (NomadSecretRoleMap) ElementType ¶
func (NomadSecretRoleMap) ElementType() reflect.Type
func (NomadSecretRoleMap) ToNomadSecretRoleMapOutput ¶
func (i NomadSecretRoleMap) ToNomadSecretRoleMapOutput() NomadSecretRoleMapOutput
func (NomadSecretRoleMap) ToNomadSecretRoleMapOutputWithContext ¶
func (i NomadSecretRoleMap) ToNomadSecretRoleMapOutputWithContext(ctx context.Context) NomadSecretRoleMapOutput
type NomadSecretRoleMapInput ¶
type NomadSecretRoleMapInput interface { pulumi.Input ToNomadSecretRoleMapOutput() NomadSecretRoleMapOutput ToNomadSecretRoleMapOutputWithContext(context.Context) NomadSecretRoleMapOutput }
NomadSecretRoleMapInput is an input type that accepts NomadSecretRoleMap and NomadSecretRoleMapOutput values. You can construct a concrete instance of `NomadSecretRoleMapInput` via:
NomadSecretRoleMap{ "key": NomadSecretRoleArgs{...} }
type NomadSecretRoleMapOutput ¶
type NomadSecretRoleMapOutput struct{ *pulumi.OutputState }
func (NomadSecretRoleMapOutput) ElementType ¶
func (NomadSecretRoleMapOutput) ElementType() reflect.Type
func (NomadSecretRoleMapOutput) MapIndex ¶
func (o NomadSecretRoleMapOutput) MapIndex(k pulumi.StringInput) NomadSecretRoleOutput
func (NomadSecretRoleMapOutput) ToNomadSecretRoleMapOutput ¶
func (o NomadSecretRoleMapOutput) ToNomadSecretRoleMapOutput() NomadSecretRoleMapOutput
func (NomadSecretRoleMapOutput) ToNomadSecretRoleMapOutputWithContext ¶
func (o NomadSecretRoleMapOutput) ToNomadSecretRoleMapOutputWithContext(ctx context.Context) NomadSecretRoleMapOutput
type NomadSecretRoleOutput ¶
type NomadSecretRoleOutput struct{ *pulumi.OutputState }
func (NomadSecretRoleOutput) Backend ¶
func (o NomadSecretRoleOutput) Backend() pulumi.StringOutput
The unique path this backend should be mounted at.
func (NomadSecretRoleOutput) ElementType ¶
func (NomadSecretRoleOutput) ElementType() reflect.Type
func (NomadSecretRoleOutput) Global ¶
func (o NomadSecretRoleOutput) Global() pulumi.BoolOutput
Specifies if the generated token should be global. Defaults to false.
func (NomadSecretRoleOutput) Namespace ¶
func (o NomadSecretRoleOutput) Namespace() pulumi.StringPtrOutput
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). *Available only for Vault Enterprise*.
func (NomadSecretRoleOutput) Policies ¶
func (o NomadSecretRoleOutput) Policies() pulumi.StringArrayOutput
List of policies attached to the generated token. This setting is only used when `type` is 'client'.
func (NomadSecretRoleOutput) Role ¶
func (o NomadSecretRoleOutput) Role() pulumi.StringOutput
The name to identify this role within the backend. Must be unique within the backend.
func (NomadSecretRoleOutput) ToNomadSecretRoleOutput ¶
func (o NomadSecretRoleOutput) ToNomadSecretRoleOutput() NomadSecretRoleOutput
func (NomadSecretRoleOutput) ToNomadSecretRoleOutputWithContext ¶
func (o NomadSecretRoleOutput) ToNomadSecretRoleOutputWithContext(ctx context.Context) NomadSecretRoleOutput
func (NomadSecretRoleOutput) Type ¶
func (o NomadSecretRoleOutput) Type() pulumi.StringOutput
Specifies the type of token to create when using this role. Valid settings are 'client' and 'management'. Defaults to 'client'.
type NomadSecretRoleState ¶
type NomadSecretRoleState struct { // The unique path this backend should be mounted at. Backend pulumi.StringPtrInput // Specifies if the generated token should be global. Defaults to // false. Global pulumi.BoolPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // List of policies attached to the generated token. This setting is only used // when `type` is 'client'. Policies pulumi.StringArrayInput // The name to identify this role within the backend. // Must be unique within the backend. Role pulumi.StringPtrInput // Specifies the type of token to create when using this role. Valid // settings are 'client' and 'management'. Defaults to 'client'. Type pulumi.StringPtrInput }
func (NomadSecretRoleState) ElementType ¶
func (NomadSecretRoleState) ElementType() reflect.Type
type PasswordPolicy ¶
type PasswordPolicy struct { pulumi.CustomResourceState // The name of the password policy. Name pulumi.StringOutput `pulumi:"name"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // String containing a password policy. Policy pulumi.StringOutput `pulumi:"policy"` }
Provides a resource to manage Password Policies
**Note** this feature is available only Vault 1.5+
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.NewPasswordPolicy(ctx, "alphanumeric", &vault.PasswordPolicyArgs{ Name: pulumi.String("alphanumeric"), Policy: pulumi.String(" length = 20\n rule \"charset\" {\n charset = \"abcdefghijklmnopqrstuvwxyz0123456789\"\n }\n"), }) if err != nil { return err } return nil }) }
```
## Import
Password policies can be imported using the `name`, e.g.
```sh $ pulumi import vault:index/passwordPolicy:PasswordPolicy alphanumeric alphanumeric ```
func GetPasswordPolicy ¶
func GetPasswordPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PasswordPolicyState, opts ...pulumi.ResourceOption) (*PasswordPolicy, error)
GetPasswordPolicy gets an existing PasswordPolicy 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 NewPasswordPolicy ¶
func NewPasswordPolicy(ctx *pulumi.Context, name string, args *PasswordPolicyArgs, opts ...pulumi.ResourceOption) (*PasswordPolicy, error)
NewPasswordPolicy registers a new resource with the given unique name, arguments, and options.
func (*PasswordPolicy) ElementType ¶
func (*PasswordPolicy) ElementType() reflect.Type
func (*PasswordPolicy) ToPasswordPolicyOutput ¶
func (i *PasswordPolicy) ToPasswordPolicyOutput() PasswordPolicyOutput
func (*PasswordPolicy) ToPasswordPolicyOutputWithContext ¶
func (i *PasswordPolicy) ToPasswordPolicyOutputWithContext(ctx context.Context) PasswordPolicyOutput
type PasswordPolicyArgs ¶
type PasswordPolicyArgs struct { // The name of the password policy. Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // String containing a password policy. Policy pulumi.StringInput }
The set of arguments for constructing a PasswordPolicy resource.
func (PasswordPolicyArgs) ElementType ¶
func (PasswordPolicyArgs) ElementType() reflect.Type
type PasswordPolicyArray ¶
type PasswordPolicyArray []PasswordPolicyInput
func (PasswordPolicyArray) ElementType ¶
func (PasswordPolicyArray) ElementType() reflect.Type
func (PasswordPolicyArray) ToPasswordPolicyArrayOutput ¶
func (i PasswordPolicyArray) ToPasswordPolicyArrayOutput() PasswordPolicyArrayOutput
func (PasswordPolicyArray) ToPasswordPolicyArrayOutputWithContext ¶
func (i PasswordPolicyArray) ToPasswordPolicyArrayOutputWithContext(ctx context.Context) PasswordPolicyArrayOutput
type PasswordPolicyArrayInput ¶
type PasswordPolicyArrayInput interface { pulumi.Input ToPasswordPolicyArrayOutput() PasswordPolicyArrayOutput ToPasswordPolicyArrayOutputWithContext(context.Context) PasswordPolicyArrayOutput }
PasswordPolicyArrayInput is an input type that accepts PasswordPolicyArray and PasswordPolicyArrayOutput values. You can construct a concrete instance of `PasswordPolicyArrayInput` via:
PasswordPolicyArray{ PasswordPolicyArgs{...} }
type PasswordPolicyArrayOutput ¶
type PasswordPolicyArrayOutput struct{ *pulumi.OutputState }
func (PasswordPolicyArrayOutput) ElementType ¶
func (PasswordPolicyArrayOutput) ElementType() reflect.Type
func (PasswordPolicyArrayOutput) Index ¶
func (o PasswordPolicyArrayOutput) Index(i pulumi.IntInput) PasswordPolicyOutput
func (PasswordPolicyArrayOutput) ToPasswordPolicyArrayOutput ¶
func (o PasswordPolicyArrayOutput) ToPasswordPolicyArrayOutput() PasswordPolicyArrayOutput
func (PasswordPolicyArrayOutput) ToPasswordPolicyArrayOutputWithContext ¶
func (o PasswordPolicyArrayOutput) ToPasswordPolicyArrayOutputWithContext(ctx context.Context) PasswordPolicyArrayOutput
type PasswordPolicyInput ¶
type PasswordPolicyInput interface { pulumi.Input ToPasswordPolicyOutput() PasswordPolicyOutput ToPasswordPolicyOutputWithContext(ctx context.Context) PasswordPolicyOutput }
type PasswordPolicyMap ¶
type PasswordPolicyMap map[string]PasswordPolicyInput
func (PasswordPolicyMap) ElementType ¶
func (PasswordPolicyMap) ElementType() reflect.Type
func (PasswordPolicyMap) ToPasswordPolicyMapOutput ¶
func (i PasswordPolicyMap) ToPasswordPolicyMapOutput() PasswordPolicyMapOutput
func (PasswordPolicyMap) ToPasswordPolicyMapOutputWithContext ¶
func (i PasswordPolicyMap) ToPasswordPolicyMapOutputWithContext(ctx context.Context) PasswordPolicyMapOutput
type PasswordPolicyMapInput ¶
type PasswordPolicyMapInput interface { pulumi.Input ToPasswordPolicyMapOutput() PasswordPolicyMapOutput ToPasswordPolicyMapOutputWithContext(context.Context) PasswordPolicyMapOutput }
PasswordPolicyMapInput is an input type that accepts PasswordPolicyMap and PasswordPolicyMapOutput values. You can construct a concrete instance of `PasswordPolicyMapInput` via:
PasswordPolicyMap{ "key": PasswordPolicyArgs{...} }
type PasswordPolicyMapOutput ¶
type PasswordPolicyMapOutput struct{ *pulumi.OutputState }
func (PasswordPolicyMapOutput) ElementType ¶
func (PasswordPolicyMapOutput) ElementType() reflect.Type
func (PasswordPolicyMapOutput) MapIndex ¶
func (o PasswordPolicyMapOutput) MapIndex(k pulumi.StringInput) PasswordPolicyOutput
func (PasswordPolicyMapOutput) ToPasswordPolicyMapOutput ¶
func (o PasswordPolicyMapOutput) ToPasswordPolicyMapOutput() PasswordPolicyMapOutput
func (PasswordPolicyMapOutput) ToPasswordPolicyMapOutputWithContext ¶
func (o PasswordPolicyMapOutput) ToPasswordPolicyMapOutputWithContext(ctx context.Context) PasswordPolicyMapOutput
type PasswordPolicyOutput ¶
type PasswordPolicyOutput struct{ *pulumi.OutputState }
func (PasswordPolicyOutput) ElementType ¶
func (PasswordPolicyOutput) ElementType() reflect.Type
func (PasswordPolicyOutput) Name ¶
func (o PasswordPolicyOutput) Name() pulumi.StringOutput
The name of the password policy.
func (PasswordPolicyOutput) Namespace ¶
func (o PasswordPolicyOutput) Namespace() pulumi.StringPtrOutput
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). *Available only for Vault Enterprise*.
func (PasswordPolicyOutput) Policy ¶
func (o PasswordPolicyOutput) Policy() pulumi.StringOutput
String containing a password policy.
func (PasswordPolicyOutput) ToPasswordPolicyOutput ¶
func (o PasswordPolicyOutput) ToPasswordPolicyOutput() PasswordPolicyOutput
func (PasswordPolicyOutput) ToPasswordPolicyOutputWithContext ¶
func (o PasswordPolicyOutput) ToPasswordPolicyOutputWithContext(ctx context.Context) PasswordPolicyOutput
type PasswordPolicyState ¶
type PasswordPolicyState struct { // The name of the password policy. Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // String containing a password policy. Policy pulumi.StringPtrInput }
func (PasswordPolicyState) ElementType ¶
func (PasswordPolicyState) ElementType() reflect.Type
type Plugin ¶ added in v6.2.0
type Plugin struct { pulumi.CustomResourceState // List of additional args to pass to the plugin. Args pulumi.StringArrayOutput `pulumi:"args"` // Command to execute the plugin, relative to the server's configured `pluginDirectory`. Command pulumi.StringOutput `pulumi:"command"` // List of additional environment variables to run the plugin with in KEY=VALUE form. Envs pulumi.StringArrayOutput `pulumi:"envs"` // Name of the plugin. Name pulumi.StringOutput `pulumi:"name"` // Specifies OCI image to run. If specified, setting // `command`, `args`, and `env` will update the container's entrypoint, args, and // environment variables (append-only) respectively. OciImage pulumi.StringPtrOutput `pulumi:"ociImage"` // Vault plugin runtime to use if `ociImage` is specified. Runtime pulumi.StringPtrOutput `pulumi:"runtime"` // SHA256 sum of the plugin binary. Sha256 pulumi.StringOutput `pulumi:"sha256"` // Type of plugin; one of "auth", "secret", or "database". Type pulumi.StringOutput `pulumi:"type"` // Semantic version of the plugin. Version pulumi.StringPtrOutput `pulumi:"version"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { jwt, err := vault.NewPlugin(ctx, "jwt", &vault.PluginArgs{ Type: pulumi.String("auth"), Name: pulumi.String("jwt"), Command: pulumi.String("vault-plugin-auth-jwt"), Version: pulumi.String("v0.17.0"), Sha256: pulumi.String("6bd0a803ed742aa3ce35e4fa23d2c8d550e6c1567bf63410cec489c28b68b0fc"), Envs: pulumi.StringArray{ pulumi.String("HTTP_PROXY=http://proxy.example.com:8080"), }, }) if err != nil { return err } _, err = vault.NewAuthBackend(ctx, "jwt_auth", &vault.AuthBackendArgs{ Type: jwt.Name, }) if err != nil { return err } return nil }) }
```
## Import
Plugins can be imported using `:type/name/:name` or `:type/version/:version/name/:name` as the ID if the version is non-empty, e.g.
```sh $ pulumi import vault:index/plugin:Plugin jwt auth/name/jwt ``` ```sh $ pulumi import vault:index/plugin:Plugin jwt auth/version/v0.17.0/name/jwt ```
func GetPlugin ¶ added in v6.2.0
func GetPlugin(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PluginState, opts ...pulumi.ResourceOption) (*Plugin, error)
GetPlugin gets an existing Plugin 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 NewPlugin ¶ added in v6.2.0
func NewPlugin(ctx *pulumi.Context, name string, args *PluginArgs, opts ...pulumi.ResourceOption) (*Plugin, error)
NewPlugin registers a new resource with the given unique name, arguments, and options.
func (*Plugin) ElementType ¶ added in v6.2.0
func (*Plugin) ToPluginOutput ¶ added in v6.2.0
func (i *Plugin) ToPluginOutput() PluginOutput
func (*Plugin) ToPluginOutputWithContext ¶ added in v6.2.0
func (i *Plugin) ToPluginOutputWithContext(ctx context.Context) PluginOutput
type PluginArgs ¶ added in v6.2.0
type PluginArgs struct { // List of additional args to pass to the plugin. Args pulumi.StringArrayInput // Command to execute the plugin, relative to the server's configured `pluginDirectory`. Command pulumi.StringInput // List of additional environment variables to run the plugin with in KEY=VALUE form. Envs pulumi.StringArrayInput // Name of the plugin. Name pulumi.StringPtrInput // Specifies OCI image to run. If specified, setting // `command`, `args`, and `env` will update the container's entrypoint, args, and // environment variables (append-only) respectively. OciImage pulumi.StringPtrInput // Vault plugin runtime to use if `ociImage` is specified. Runtime pulumi.StringPtrInput // SHA256 sum of the plugin binary. Sha256 pulumi.StringInput // Type of plugin; one of "auth", "secret", or "database". Type pulumi.StringInput // Semantic version of the plugin. Version pulumi.StringPtrInput }
The set of arguments for constructing a Plugin resource.
func (PluginArgs) ElementType ¶ added in v6.2.0
func (PluginArgs) ElementType() reflect.Type
type PluginArray ¶ added in v6.2.0
type PluginArray []PluginInput
func (PluginArray) ElementType ¶ added in v6.2.0
func (PluginArray) ElementType() reflect.Type
func (PluginArray) ToPluginArrayOutput ¶ added in v6.2.0
func (i PluginArray) ToPluginArrayOutput() PluginArrayOutput
func (PluginArray) ToPluginArrayOutputWithContext ¶ added in v6.2.0
func (i PluginArray) ToPluginArrayOutputWithContext(ctx context.Context) PluginArrayOutput
type PluginArrayInput ¶ added in v6.2.0
type PluginArrayInput interface { pulumi.Input ToPluginArrayOutput() PluginArrayOutput ToPluginArrayOutputWithContext(context.Context) PluginArrayOutput }
PluginArrayInput is an input type that accepts PluginArray and PluginArrayOutput values. You can construct a concrete instance of `PluginArrayInput` via:
PluginArray{ PluginArgs{...} }
type PluginArrayOutput ¶ added in v6.2.0
type PluginArrayOutput struct{ *pulumi.OutputState }
func (PluginArrayOutput) ElementType ¶ added in v6.2.0
func (PluginArrayOutput) ElementType() reflect.Type
func (PluginArrayOutput) Index ¶ added in v6.2.0
func (o PluginArrayOutput) Index(i pulumi.IntInput) PluginOutput
func (PluginArrayOutput) ToPluginArrayOutput ¶ added in v6.2.0
func (o PluginArrayOutput) ToPluginArrayOutput() PluginArrayOutput
func (PluginArrayOutput) ToPluginArrayOutputWithContext ¶ added in v6.2.0
func (o PluginArrayOutput) ToPluginArrayOutputWithContext(ctx context.Context) PluginArrayOutput
type PluginInput ¶ added in v6.2.0
type PluginInput interface { pulumi.Input ToPluginOutput() PluginOutput ToPluginOutputWithContext(ctx context.Context) PluginOutput }
type PluginMap ¶ added in v6.2.0
type PluginMap map[string]PluginInput
func (PluginMap) ElementType ¶ added in v6.2.0
func (PluginMap) ToPluginMapOutput ¶ added in v6.2.0
func (i PluginMap) ToPluginMapOutput() PluginMapOutput
func (PluginMap) ToPluginMapOutputWithContext ¶ added in v6.2.0
func (i PluginMap) ToPluginMapOutputWithContext(ctx context.Context) PluginMapOutput
type PluginMapInput ¶ added in v6.2.0
type PluginMapInput interface { pulumi.Input ToPluginMapOutput() PluginMapOutput ToPluginMapOutputWithContext(context.Context) PluginMapOutput }
PluginMapInput is an input type that accepts PluginMap and PluginMapOutput values. You can construct a concrete instance of `PluginMapInput` via:
PluginMap{ "key": PluginArgs{...} }
type PluginMapOutput ¶ added in v6.2.0
type PluginMapOutput struct{ *pulumi.OutputState }
func (PluginMapOutput) ElementType ¶ added in v6.2.0
func (PluginMapOutput) ElementType() reflect.Type
func (PluginMapOutput) MapIndex ¶ added in v6.2.0
func (o PluginMapOutput) MapIndex(k pulumi.StringInput) PluginOutput
func (PluginMapOutput) ToPluginMapOutput ¶ added in v6.2.0
func (o PluginMapOutput) ToPluginMapOutput() PluginMapOutput
func (PluginMapOutput) ToPluginMapOutputWithContext ¶ added in v6.2.0
func (o PluginMapOutput) ToPluginMapOutputWithContext(ctx context.Context) PluginMapOutput
type PluginOutput ¶ added in v6.2.0
type PluginOutput struct{ *pulumi.OutputState }
func (PluginOutput) Args ¶ added in v6.2.0
func (o PluginOutput) Args() pulumi.StringArrayOutput
List of additional args to pass to the plugin.
func (PluginOutput) Command ¶ added in v6.2.0
func (o PluginOutput) Command() pulumi.StringOutput
Command to execute the plugin, relative to the server's configured `pluginDirectory`.
func (PluginOutput) ElementType ¶ added in v6.2.0
func (PluginOutput) ElementType() reflect.Type
func (PluginOutput) Envs ¶ added in v6.2.0
func (o PluginOutput) Envs() pulumi.StringArrayOutput
List of additional environment variables to run the plugin with in KEY=VALUE form.
func (PluginOutput) Name ¶ added in v6.2.0
func (o PluginOutput) Name() pulumi.StringOutput
Name of the plugin.
func (PluginOutput) OciImage ¶ added in v6.2.0
func (o PluginOutput) OciImage() pulumi.StringPtrOutput
Specifies OCI image to run. If specified, setting `command`, `args`, and `env` will update the container's entrypoint, args, and environment variables (append-only) respectively.
func (PluginOutput) Runtime ¶ added in v6.2.0
func (o PluginOutput) Runtime() pulumi.StringPtrOutput
Vault plugin runtime to use if `ociImage` is specified.
func (PluginOutput) Sha256 ¶ added in v6.2.0
func (o PluginOutput) Sha256() pulumi.StringOutput
SHA256 sum of the plugin binary.
func (PluginOutput) ToPluginOutput ¶ added in v6.2.0
func (o PluginOutput) ToPluginOutput() PluginOutput
func (PluginOutput) ToPluginOutputWithContext ¶ added in v6.2.0
func (o PluginOutput) ToPluginOutputWithContext(ctx context.Context) PluginOutput
func (PluginOutput) Type ¶ added in v6.2.0
func (o PluginOutput) Type() pulumi.StringOutput
Type of plugin; one of "auth", "secret", or "database".
func (PluginOutput) Version ¶ added in v6.2.0
func (o PluginOutput) Version() pulumi.StringPtrOutput
Semantic version of the plugin.
type PluginPinnedVersion ¶ added in v6.2.0
type PluginPinnedVersion struct { pulumi.CustomResourceState // Name of the plugin. Name pulumi.StringOutput `pulumi:"name"` // Type of plugin; one of "auth", "secret", or "database". Type pulumi.StringOutput `pulumi:"type"` // Semantic version of the plugin to pin. Version pulumi.StringOutput `pulumi:"version"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { jwt, err := vault.NewPlugin(ctx, "jwt", &vault.PluginArgs{ Type: pulumi.String("auth"), Name: pulumi.String("jwt"), Command: pulumi.String("vault-plugin-auth-jwt"), Version: pulumi.String("v0.17.0"), Sha256: pulumi.String("6bd0a803ed742aa3ce35e4fa23d2c8d550e6c1567bf63410cec489c28b68b0fc"), Envs: pulumi.StringArray{ pulumi.String("HTTP_PROXY=http://proxy.example.com:8080"), }, }) if err != nil { return err } jwtPin, err := vault.NewPluginPinnedVersion(ctx, "jwt_pin", &vault.PluginPinnedVersionArgs{ Type: jwt.Type, Name: jwt.Name, Version: jwt.Version, }) if err != nil { return err } _, err = vault.NewAuthBackend(ctx, "jwt_auth", &vault.AuthBackendArgs{ Type: jwtPin.Name, }) if err != nil { return err } return nil }) }
```
## Import
Pinned plugin versions can be imported using `type/name` as the ID, e.g.
```sh $ pulumi import vault:index/pluginPinnedVersion:PluginPinnedVersion jwt_pin auth/jwt ```
func GetPluginPinnedVersion ¶ added in v6.2.0
func GetPluginPinnedVersion(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PluginPinnedVersionState, opts ...pulumi.ResourceOption) (*PluginPinnedVersion, error)
GetPluginPinnedVersion gets an existing PluginPinnedVersion 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 NewPluginPinnedVersion ¶ added in v6.2.0
func NewPluginPinnedVersion(ctx *pulumi.Context, name string, args *PluginPinnedVersionArgs, opts ...pulumi.ResourceOption) (*PluginPinnedVersion, error)
NewPluginPinnedVersion registers a new resource with the given unique name, arguments, and options.
func (*PluginPinnedVersion) ElementType ¶ added in v6.2.0
func (*PluginPinnedVersion) ElementType() reflect.Type
func (*PluginPinnedVersion) ToPluginPinnedVersionOutput ¶ added in v6.2.0
func (i *PluginPinnedVersion) ToPluginPinnedVersionOutput() PluginPinnedVersionOutput
func (*PluginPinnedVersion) ToPluginPinnedVersionOutputWithContext ¶ added in v6.2.0
func (i *PluginPinnedVersion) ToPluginPinnedVersionOutputWithContext(ctx context.Context) PluginPinnedVersionOutput
type PluginPinnedVersionArgs ¶ added in v6.2.0
type PluginPinnedVersionArgs struct { // Name of the plugin. Name pulumi.StringPtrInput // Type of plugin; one of "auth", "secret", or "database". Type pulumi.StringInput // Semantic version of the plugin to pin. Version pulumi.StringInput }
The set of arguments for constructing a PluginPinnedVersion resource.
func (PluginPinnedVersionArgs) ElementType ¶ added in v6.2.0
func (PluginPinnedVersionArgs) ElementType() reflect.Type
type PluginPinnedVersionArray ¶ added in v6.2.0
type PluginPinnedVersionArray []PluginPinnedVersionInput
func (PluginPinnedVersionArray) ElementType ¶ added in v6.2.0
func (PluginPinnedVersionArray) ElementType() reflect.Type
func (PluginPinnedVersionArray) ToPluginPinnedVersionArrayOutput ¶ added in v6.2.0
func (i PluginPinnedVersionArray) ToPluginPinnedVersionArrayOutput() PluginPinnedVersionArrayOutput
func (PluginPinnedVersionArray) ToPluginPinnedVersionArrayOutputWithContext ¶ added in v6.2.0
func (i PluginPinnedVersionArray) ToPluginPinnedVersionArrayOutputWithContext(ctx context.Context) PluginPinnedVersionArrayOutput
type PluginPinnedVersionArrayInput ¶ added in v6.2.0
type PluginPinnedVersionArrayInput interface { pulumi.Input ToPluginPinnedVersionArrayOutput() PluginPinnedVersionArrayOutput ToPluginPinnedVersionArrayOutputWithContext(context.Context) PluginPinnedVersionArrayOutput }
PluginPinnedVersionArrayInput is an input type that accepts PluginPinnedVersionArray and PluginPinnedVersionArrayOutput values. You can construct a concrete instance of `PluginPinnedVersionArrayInput` via:
PluginPinnedVersionArray{ PluginPinnedVersionArgs{...} }
type PluginPinnedVersionArrayOutput ¶ added in v6.2.0
type PluginPinnedVersionArrayOutput struct{ *pulumi.OutputState }
func (PluginPinnedVersionArrayOutput) ElementType ¶ added in v6.2.0
func (PluginPinnedVersionArrayOutput) ElementType() reflect.Type
func (PluginPinnedVersionArrayOutput) Index ¶ added in v6.2.0
func (o PluginPinnedVersionArrayOutput) Index(i pulumi.IntInput) PluginPinnedVersionOutput
func (PluginPinnedVersionArrayOutput) ToPluginPinnedVersionArrayOutput ¶ added in v6.2.0
func (o PluginPinnedVersionArrayOutput) ToPluginPinnedVersionArrayOutput() PluginPinnedVersionArrayOutput
func (PluginPinnedVersionArrayOutput) ToPluginPinnedVersionArrayOutputWithContext ¶ added in v6.2.0
func (o PluginPinnedVersionArrayOutput) ToPluginPinnedVersionArrayOutputWithContext(ctx context.Context) PluginPinnedVersionArrayOutput
type PluginPinnedVersionInput ¶ added in v6.2.0
type PluginPinnedVersionInput interface { pulumi.Input ToPluginPinnedVersionOutput() PluginPinnedVersionOutput ToPluginPinnedVersionOutputWithContext(ctx context.Context) PluginPinnedVersionOutput }
type PluginPinnedVersionMap ¶ added in v6.2.0
type PluginPinnedVersionMap map[string]PluginPinnedVersionInput
func (PluginPinnedVersionMap) ElementType ¶ added in v6.2.0
func (PluginPinnedVersionMap) ElementType() reflect.Type
func (PluginPinnedVersionMap) ToPluginPinnedVersionMapOutput ¶ added in v6.2.0
func (i PluginPinnedVersionMap) ToPluginPinnedVersionMapOutput() PluginPinnedVersionMapOutput
func (PluginPinnedVersionMap) ToPluginPinnedVersionMapOutputWithContext ¶ added in v6.2.0
func (i PluginPinnedVersionMap) ToPluginPinnedVersionMapOutputWithContext(ctx context.Context) PluginPinnedVersionMapOutput
type PluginPinnedVersionMapInput ¶ added in v6.2.0
type PluginPinnedVersionMapInput interface { pulumi.Input ToPluginPinnedVersionMapOutput() PluginPinnedVersionMapOutput ToPluginPinnedVersionMapOutputWithContext(context.Context) PluginPinnedVersionMapOutput }
PluginPinnedVersionMapInput is an input type that accepts PluginPinnedVersionMap and PluginPinnedVersionMapOutput values. You can construct a concrete instance of `PluginPinnedVersionMapInput` via:
PluginPinnedVersionMap{ "key": PluginPinnedVersionArgs{...} }
type PluginPinnedVersionMapOutput ¶ added in v6.2.0
type PluginPinnedVersionMapOutput struct{ *pulumi.OutputState }
func (PluginPinnedVersionMapOutput) ElementType ¶ added in v6.2.0
func (PluginPinnedVersionMapOutput) ElementType() reflect.Type
func (PluginPinnedVersionMapOutput) MapIndex ¶ added in v6.2.0
func (o PluginPinnedVersionMapOutput) MapIndex(k pulumi.StringInput) PluginPinnedVersionOutput
func (PluginPinnedVersionMapOutput) ToPluginPinnedVersionMapOutput ¶ added in v6.2.0
func (o PluginPinnedVersionMapOutput) ToPluginPinnedVersionMapOutput() PluginPinnedVersionMapOutput
func (PluginPinnedVersionMapOutput) ToPluginPinnedVersionMapOutputWithContext ¶ added in v6.2.0
func (o PluginPinnedVersionMapOutput) ToPluginPinnedVersionMapOutputWithContext(ctx context.Context) PluginPinnedVersionMapOutput
type PluginPinnedVersionOutput ¶ added in v6.2.0
type PluginPinnedVersionOutput struct{ *pulumi.OutputState }
func (PluginPinnedVersionOutput) ElementType ¶ added in v6.2.0
func (PluginPinnedVersionOutput) ElementType() reflect.Type
func (PluginPinnedVersionOutput) Name ¶ added in v6.2.0
func (o PluginPinnedVersionOutput) Name() pulumi.StringOutput
Name of the plugin.
func (PluginPinnedVersionOutput) ToPluginPinnedVersionOutput ¶ added in v6.2.0
func (o PluginPinnedVersionOutput) ToPluginPinnedVersionOutput() PluginPinnedVersionOutput
func (PluginPinnedVersionOutput) ToPluginPinnedVersionOutputWithContext ¶ added in v6.2.0
func (o PluginPinnedVersionOutput) ToPluginPinnedVersionOutputWithContext(ctx context.Context) PluginPinnedVersionOutput
func (PluginPinnedVersionOutput) Type ¶ added in v6.2.0
func (o PluginPinnedVersionOutput) Type() pulumi.StringOutput
Type of plugin; one of "auth", "secret", or "database".
func (PluginPinnedVersionOutput) Version ¶ added in v6.2.0
func (o PluginPinnedVersionOutput) Version() pulumi.StringOutput
Semantic version of the plugin to pin.
type PluginPinnedVersionState ¶ added in v6.2.0
type PluginPinnedVersionState struct { // Name of the plugin. Name pulumi.StringPtrInput // Type of plugin; one of "auth", "secret", or "database". Type pulumi.StringPtrInput // Semantic version of the plugin to pin. Version pulumi.StringPtrInput }
func (PluginPinnedVersionState) ElementType ¶ added in v6.2.0
func (PluginPinnedVersionState) ElementType() reflect.Type
type PluginState ¶ added in v6.2.0
type PluginState struct { // List of additional args to pass to the plugin. Args pulumi.StringArrayInput // Command to execute the plugin, relative to the server's configured `pluginDirectory`. Command pulumi.StringPtrInput // List of additional environment variables to run the plugin with in KEY=VALUE form. Envs pulumi.StringArrayInput // Name of the plugin. Name pulumi.StringPtrInput // Specifies OCI image to run. If specified, setting // `command`, `args`, and `env` will update the container's entrypoint, args, and // environment variables (append-only) respectively. OciImage pulumi.StringPtrInput // Vault plugin runtime to use if `ociImage` is specified. Runtime pulumi.StringPtrInput // SHA256 sum of the plugin binary. Sha256 pulumi.StringPtrInput // Type of plugin; one of "auth", "secret", or "database". Type pulumi.StringPtrInput // Semantic version of the plugin. Version pulumi.StringPtrInput }
func (PluginState) ElementType ¶ added in v6.2.0
func (PluginState) ElementType() reflect.Type
type Policy ¶
type Policy struct { pulumi.CustomResourceState // The name of the policy Name pulumi.StringOutput `pulumi:"name"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // String containing a Vault policy Policy pulumi.StringOutput `pulumi:"policy"` }
## Import
Policies can be imported using the `name`, e.g.
```sh $ pulumi import vault:index/policy:Policy example dev-team ```
func GetPolicy ¶
func GetPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PolicyState, opts ...pulumi.ResourceOption) (*Policy, error)
GetPolicy gets an existing Policy 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 NewPolicy ¶
func NewPolicy(ctx *pulumi.Context, name string, args *PolicyArgs, opts ...pulumi.ResourceOption) (*Policy, error)
NewPolicy registers a new resource with the given unique name, arguments, and options.
func (*Policy) ElementType ¶
func (*Policy) ToPolicyOutput ¶
func (i *Policy) ToPolicyOutput() PolicyOutput
func (*Policy) ToPolicyOutputWithContext ¶
func (i *Policy) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
type PolicyArgs ¶
type PolicyArgs struct { // The name of the policy Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // String containing a Vault policy Policy pulumi.StringInput }
The set of arguments for constructing a Policy resource.
func (PolicyArgs) ElementType ¶
func (PolicyArgs) ElementType() reflect.Type
type PolicyArray ¶
type PolicyArray []PolicyInput
func (PolicyArray) ElementType ¶
func (PolicyArray) ElementType() reflect.Type
func (PolicyArray) ToPolicyArrayOutput ¶
func (i PolicyArray) ToPolicyArrayOutput() PolicyArrayOutput
func (PolicyArray) ToPolicyArrayOutputWithContext ¶
func (i PolicyArray) ToPolicyArrayOutputWithContext(ctx context.Context) PolicyArrayOutput
type PolicyArrayInput ¶
type PolicyArrayInput interface { pulumi.Input ToPolicyArrayOutput() PolicyArrayOutput ToPolicyArrayOutputWithContext(context.Context) PolicyArrayOutput }
PolicyArrayInput is an input type that accepts PolicyArray and PolicyArrayOutput values. You can construct a concrete instance of `PolicyArrayInput` via:
PolicyArray{ PolicyArgs{...} }
type PolicyArrayOutput ¶
type PolicyArrayOutput struct{ *pulumi.OutputState }
func (PolicyArrayOutput) ElementType ¶
func (PolicyArrayOutput) ElementType() reflect.Type
func (PolicyArrayOutput) Index ¶
func (o PolicyArrayOutput) Index(i pulumi.IntInput) PolicyOutput
func (PolicyArrayOutput) ToPolicyArrayOutput ¶
func (o PolicyArrayOutput) ToPolicyArrayOutput() PolicyArrayOutput
func (PolicyArrayOutput) ToPolicyArrayOutputWithContext ¶
func (o PolicyArrayOutput) ToPolicyArrayOutputWithContext(ctx context.Context) PolicyArrayOutput
type PolicyInput ¶
type PolicyInput interface { pulumi.Input ToPolicyOutput() PolicyOutput ToPolicyOutputWithContext(ctx context.Context) PolicyOutput }
type PolicyMap ¶
type PolicyMap map[string]PolicyInput
func (PolicyMap) ElementType ¶
func (PolicyMap) ToPolicyMapOutput ¶
func (i PolicyMap) ToPolicyMapOutput() PolicyMapOutput
func (PolicyMap) ToPolicyMapOutputWithContext ¶
func (i PolicyMap) ToPolicyMapOutputWithContext(ctx context.Context) PolicyMapOutput
type PolicyMapInput ¶
type PolicyMapInput interface { pulumi.Input ToPolicyMapOutput() PolicyMapOutput ToPolicyMapOutputWithContext(context.Context) PolicyMapOutput }
PolicyMapInput is an input type that accepts PolicyMap and PolicyMapOutput values. You can construct a concrete instance of `PolicyMapInput` via:
PolicyMap{ "key": PolicyArgs{...} }
type PolicyMapOutput ¶
type PolicyMapOutput struct{ *pulumi.OutputState }
func (PolicyMapOutput) ElementType ¶
func (PolicyMapOutput) ElementType() reflect.Type
func (PolicyMapOutput) MapIndex ¶
func (o PolicyMapOutput) MapIndex(k pulumi.StringInput) PolicyOutput
func (PolicyMapOutput) ToPolicyMapOutput ¶
func (o PolicyMapOutput) ToPolicyMapOutput() PolicyMapOutput
func (PolicyMapOutput) ToPolicyMapOutputWithContext ¶
func (o PolicyMapOutput) ToPolicyMapOutputWithContext(ctx context.Context) PolicyMapOutput
type PolicyOutput ¶
type PolicyOutput struct{ *pulumi.OutputState }
func (PolicyOutput) ElementType ¶
func (PolicyOutput) ElementType() reflect.Type
func (PolicyOutput) Namespace ¶
func (o PolicyOutput) Namespace() pulumi.StringPtrOutput
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). *Available only for Vault Enterprise*.
func (PolicyOutput) Policy ¶
func (o PolicyOutput) Policy() pulumi.StringOutput
String containing a Vault policy
func (PolicyOutput) ToPolicyOutput ¶
func (o PolicyOutput) ToPolicyOutput() PolicyOutput
func (PolicyOutput) ToPolicyOutputWithContext ¶
func (o PolicyOutput) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
type PolicyState ¶
type PolicyState struct { // The name of the policy Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // String containing a Vault policy Policy pulumi.StringPtrInput }
func (PolicyState) ElementType ¶
func (PolicyState) ElementType() reflect.Type
type Provider ¶
type Provider struct { pulumi.ProviderResourceState AddAddressToEnv pulumi.StringPtrOutput `pulumi:"addAddressToEnv"` // URL of the root of the target Vault server. Address pulumi.StringOutput `pulumi:"address"` // Path to directory containing CA certificate files to validate the server's certificate. CaCertDir pulumi.StringPtrOutput `pulumi:"caCertDir"` // Path to a CA certificate file to validate the server's certificate. CaCertFile pulumi.StringPtrOutput `pulumi:"caCertFile"` // The namespace to use. Available only for Vault Enterprise. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // Name to use as the SNI host when connecting via TLS. TlsServerName pulumi.StringPtrOutput `pulumi:"tlsServerName"` // Token to use to authenticate to Vault. Token pulumi.StringOutput `pulumi:"token"` // Token name to use for creating the Vault child token. TokenName pulumi.StringPtrOutput `pulumi:"tokenName"` // Override the Vault server version, which is normally determined dynamically from the target Vault server VaultVersionOverride pulumi.StringPtrOutput `pulumi:"vaultVersionOverride"` }
The provider type for the vault package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
func NewProvider ¶
func NewProvider(ctx *pulumi.Context, name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)
NewProvider registers a new resource with the given unique name, arguments, and options.
func (*Provider) ElementType ¶
func (*Provider) ToProviderOutput ¶
func (i *Provider) ToProviderOutput() ProviderOutput
func (*Provider) ToProviderOutputWithContext ¶
func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type ProviderArgs ¶
type ProviderArgs struct { AddAddressToEnv pulumi.StringPtrInput // URL of the root of the target Vault server. Address pulumi.StringInput // Login to vault with an existing auth method using auth/<mount>/login AuthLogin ProviderAuthLoginPtrInput // Login to vault using the AWS method AuthLoginAws ProviderAuthLoginAwsPtrInput // Login to vault using the azure method AuthLoginAzure ProviderAuthLoginAzurePtrInput // Login to vault using the cert method AuthLoginCert ProviderAuthLoginCertPtrInput // Login to vault using the gcp method AuthLoginGcp ProviderAuthLoginGcpPtrInput // Login to vault using the jwt method AuthLoginJwt ProviderAuthLoginJwtPtrInput // Login to vault using the kerberos method AuthLoginKerberos ProviderAuthLoginKerberosPtrInput // Login to vault using the OCI method AuthLoginOci ProviderAuthLoginOciPtrInput // Login to vault using the oidc method AuthLoginOidc ProviderAuthLoginOidcPtrInput // Login to vault using the radius method AuthLoginRadius ProviderAuthLoginRadiusPtrInput // Login to vault using AuthLoginTokenFile ProviderAuthLoginTokenFilePtrInput // Login to vault using the userpass method AuthLoginUserpass ProviderAuthLoginUserpassPtrInput // Path to directory containing CA certificate files to validate the server's certificate. CaCertDir pulumi.StringPtrInput // Path to a CA certificate file to validate the server's certificate. CaCertFile pulumi.StringPtrInput // Client authentication credentials. // // Deprecated: Use authLoginCert instead ClientAuth ProviderClientAuthPtrInput // The headers to send with each Vault request. Headers ProviderHeaderArrayInput // Maximum TTL for secret leases requested by this provider. MaxLeaseTtlSeconds pulumi.IntPtrInput // Maximum number of retries when a 5xx error code is encountered. MaxRetries pulumi.IntPtrInput // Maximum number of retries for Client Controlled Consistency related operations MaxRetriesCcc pulumi.IntPtrInput // The namespace to use. Available only for Vault Enterprise. Namespace pulumi.StringPtrInput // In the case where the Vault token is for a specific namespace and the provider namespace is not configured, use the // token namespace as the root namespace for all resources. SetNamespaceFromToken pulumi.BoolPtrInput // Set this to true to prevent the creation of ephemeral child token used by this provider. SkipChildToken pulumi.BoolPtrInput // Skip the dynamic fetching of the Vault server version. SkipGetVaultVersion pulumi.BoolPtrInput // Set this to true only if the target Vault server is an insecure development instance. SkipTlsVerify pulumi.BoolPtrInput // Name to use as the SNI host when connecting via TLS. TlsServerName pulumi.StringPtrInput // Token to use to authenticate to Vault. Token pulumi.StringInput // Token name to use for creating the Vault child token. TokenName pulumi.StringPtrInput // Override the Vault server version, which is normally determined dynamically from the target Vault server VaultVersionOverride pulumi.StringPtrInput }
The set of arguments for constructing a Provider resource.
func (ProviderArgs) ElementType ¶
func (ProviderArgs) ElementType() reflect.Type
type ProviderAuthLogin ¶
type ProviderAuthLogin struct { Method *string `pulumi:"method"` // The authentication engine's namespace. Conflicts with use_root_namespace Namespace *string `pulumi:"namespace"` Parameters map[string]string `pulumi:"parameters"` Path string `pulumi:"path"` // Authenticate to the root Vault namespace. Conflicts with namespace UseRootNamespace *bool `pulumi:"useRootNamespace"` }
type ProviderAuthLoginArgs ¶
type ProviderAuthLoginArgs struct { Method pulumi.StringPtrInput `pulumi:"method"` // The authentication engine's namespace. Conflicts with use_root_namespace Namespace pulumi.StringPtrInput `pulumi:"namespace"` Parameters pulumi.StringMapInput `pulumi:"parameters"` Path pulumi.StringInput `pulumi:"path"` // Authenticate to the root Vault namespace. Conflicts with namespace UseRootNamespace pulumi.BoolPtrInput `pulumi:"useRootNamespace"` }
func (ProviderAuthLoginArgs) ElementType ¶
func (ProviderAuthLoginArgs) ElementType() reflect.Type
func (ProviderAuthLoginArgs) ToProviderAuthLoginOutput ¶
func (i ProviderAuthLoginArgs) ToProviderAuthLoginOutput() ProviderAuthLoginOutput
func (ProviderAuthLoginArgs) ToProviderAuthLoginOutputWithContext ¶
func (i ProviderAuthLoginArgs) ToProviderAuthLoginOutputWithContext(ctx context.Context) ProviderAuthLoginOutput
func (ProviderAuthLoginArgs) ToProviderAuthLoginPtrOutput ¶
func (i ProviderAuthLoginArgs) ToProviderAuthLoginPtrOutput() ProviderAuthLoginPtrOutput
func (ProviderAuthLoginArgs) ToProviderAuthLoginPtrOutputWithContext ¶
func (i ProviderAuthLoginArgs) ToProviderAuthLoginPtrOutputWithContext(ctx context.Context) ProviderAuthLoginPtrOutput
type ProviderAuthLoginAws ¶
type ProviderAuthLoginAws struct { // The AWS access key ID. AwsAccessKeyId *string `pulumi:"awsAccessKeyId"` // The IAM endpoint URL. AwsIamEndpoint *string `pulumi:"awsIamEndpoint"` // The name of the AWS profile. AwsProfile *string `pulumi:"awsProfile"` // The AWS region. AwsRegion *string `pulumi:"awsRegion"` // The ARN of the AWS Role to assume.Used during STS AssumeRole AwsRoleArn *string `pulumi:"awsRoleArn"` // Specifies the name to attach to the AWS role session. Used during STS AssumeRole AwsRoleSessionName *string `pulumi:"awsRoleSessionName"` // The AWS secret access key. AwsSecretAccessKey *string `pulumi:"awsSecretAccessKey"` // The AWS session token. AwsSessionToken *string `pulumi:"awsSessionToken"` AwsSharedCredentialsFile *string `pulumi:"awsSharedCredentialsFile"` // The STS endpoint URL. AwsStsEndpoint *string `pulumi:"awsStsEndpoint"` // Path to the file containing an OAuth 2.0 access token or OpenID Connect ID token. AwsWebIdentityTokenFile *string `pulumi:"awsWebIdentityTokenFile"` // The Vault header value to include in the STS signing request. HeaderValue *string `pulumi:"headerValue"` // The path where the authentication engine is mounted. Mount *string `pulumi:"mount"` // The authentication engine's namespace. Conflicts with use_root_namespace Namespace *string `pulumi:"namespace"` // The Vault role to use when logging into Vault. Role string `pulumi:"role"` // Authenticate to the root Vault namespace. Conflicts with namespace UseRootNamespace *bool `pulumi:"useRootNamespace"` }
type ProviderAuthLoginAwsArgs ¶
type ProviderAuthLoginAwsArgs struct { // The AWS access key ID. AwsAccessKeyId pulumi.StringPtrInput `pulumi:"awsAccessKeyId"` // The IAM endpoint URL. AwsIamEndpoint pulumi.StringPtrInput `pulumi:"awsIamEndpoint"` // The name of the AWS profile. AwsProfile pulumi.StringPtrInput `pulumi:"awsProfile"` // The AWS region. AwsRegion pulumi.StringPtrInput `pulumi:"awsRegion"` // The ARN of the AWS Role to assume.Used during STS AssumeRole AwsRoleArn pulumi.StringPtrInput `pulumi:"awsRoleArn"` // Specifies the name to attach to the AWS role session. Used during STS AssumeRole AwsRoleSessionName pulumi.StringPtrInput `pulumi:"awsRoleSessionName"` // The AWS secret access key. AwsSecretAccessKey pulumi.StringPtrInput `pulumi:"awsSecretAccessKey"` // The AWS session token. AwsSessionToken pulumi.StringPtrInput `pulumi:"awsSessionToken"` AwsSharedCredentialsFile pulumi.StringPtrInput `pulumi:"awsSharedCredentialsFile"` // The STS endpoint URL. AwsStsEndpoint pulumi.StringPtrInput `pulumi:"awsStsEndpoint"` // Path to the file containing an OAuth 2.0 access token or OpenID Connect ID token. AwsWebIdentityTokenFile pulumi.StringPtrInput `pulumi:"awsWebIdentityTokenFile"` // The Vault header value to include in the STS signing request. HeaderValue pulumi.StringPtrInput `pulumi:"headerValue"` // The path where the authentication engine is mounted. Mount pulumi.StringPtrInput `pulumi:"mount"` // The authentication engine's namespace. Conflicts with use_root_namespace Namespace pulumi.StringPtrInput `pulumi:"namespace"` // The Vault role to use when logging into Vault. Role pulumi.StringInput `pulumi:"role"` // Authenticate to the root Vault namespace. Conflicts with namespace UseRootNamespace pulumi.BoolPtrInput `pulumi:"useRootNamespace"` }
func (ProviderAuthLoginAwsArgs) ElementType ¶
func (ProviderAuthLoginAwsArgs) ElementType() reflect.Type
func (ProviderAuthLoginAwsArgs) ToProviderAuthLoginAwsOutput ¶
func (i ProviderAuthLoginAwsArgs) ToProviderAuthLoginAwsOutput() ProviderAuthLoginAwsOutput
func (ProviderAuthLoginAwsArgs) ToProviderAuthLoginAwsOutputWithContext ¶
func (i ProviderAuthLoginAwsArgs) ToProviderAuthLoginAwsOutputWithContext(ctx context.Context) ProviderAuthLoginAwsOutput
func (ProviderAuthLoginAwsArgs) ToProviderAuthLoginAwsPtrOutput ¶
func (i ProviderAuthLoginAwsArgs) ToProviderAuthLoginAwsPtrOutput() ProviderAuthLoginAwsPtrOutput
func (ProviderAuthLoginAwsArgs) ToProviderAuthLoginAwsPtrOutputWithContext ¶
func (i ProviderAuthLoginAwsArgs) ToProviderAuthLoginAwsPtrOutputWithContext(ctx context.Context) ProviderAuthLoginAwsPtrOutput
type ProviderAuthLoginAwsInput ¶
type ProviderAuthLoginAwsInput interface { pulumi.Input ToProviderAuthLoginAwsOutput() ProviderAuthLoginAwsOutput ToProviderAuthLoginAwsOutputWithContext(context.Context) ProviderAuthLoginAwsOutput }
ProviderAuthLoginAwsInput is an input type that accepts ProviderAuthLoginAwsArgs and ProviderAuthLoginAwsOutput values. You can construct a concrete instance of `ProviderAuthLoginAwsInput` via:
ProviderAuthLoginAwsArgs{...}
type ProviderAuthLoginAwsOutput ¶
type ProviderAuthLoginAwsOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginAwsOutput) AwsAccessKeyId ¶
func (o ProviderAuthLoginAwsOutput) AwsAccessKeyId() pulumi.StringPtrOutput
The AWS access key ID.
func (ProviderAuthLoginAwsOutput) AwsIamEndpoint ¶
func (o ProviderAuthLoginAwsOutput) AwsIamEndpoint() pulumi.StringPtrOutput
The IAM endpoint URL.
func (ProviderAuthLoginAwsOutput) AwsProfile ¶
func (o ProviderAuthLoginAwsOutput) AwsProfile() pulumi.StringPtrOutput
The name of the AWS profile.
func (ProviderAuthLoginAwsOutput) AwsRegion ¶
func (o ProviderAuthLoginAwsOutput) AwsRegion() pulumi.StringPtrOutput
The AWS region.
func (ProviderAuthLoginAwsOutput) AwsRoleArn ¶
func (o ProviderAuthLoginAwsOutput) AwsRoleArn() pulumi.StringPtrOutput
The ARN of the AWS Role to assume.Used during STS AssumeRole
func (ProviderAuthLoginAwsOutput) AwsRoleSessionName ¶
func (o ProviderAuthLoginAwsOutput) AwsRoleSessionName() pulumi.StringPtrOutput
Specifies the name to attach to the AWS role session. Used during STS AssumeRole
func (ProviderAuthLoginAwsOutput) AwsSecretAccessKey ¶
func (o ProviderAuthLoginAwsOutput) AwsSecretAccessKey() pulumi.StringPtrOutput
The AWS secret access key.
func (ProviderAuthLoginAwsOutput) AwsSessionToken ¶
func (o ProviderAuthLoginAwsOutput) AwsSessionToken() pulumi.StringPtrOutput
The AWS session token.
func (ProviderAuthLoginAwsOutput) AwsSharedCredentialsFile ¶
func (o ProviderAuthLoginAwsOutput) AwsSharedCredentialsFile() pulumi.StringPtrOutput
Path to the AWS shared credentials file.
func (ProviderAuthLoginAwsOutput) AwsStsEndpoint ¶
func (o ProviderAuthLoginAwsOutput) AwsStsEndpoint() pulumi.StringPtrOutput
The STS endpoint URL.
func (ProviderAuthLoginAwsOutput) AwsWebIdentityTokenFile ¶
func (o ProviderAuthLoginAwsOutput) AwsWebIdentityTokenFile() pulumi.StringPtrOutput
Path to the file containing an OAuth 2.0 access token or OpenID Connect ID token.
func (ProviderAuthLoginAwsOutput) ElementType ¶
func (ProviderAuthLoginAwsOutput) ElementType() reflect.Type
func (ProviderAuthLoginAwsOutput) HeaderValue ¶
func (o ProviderAuthLoginAwsOutput) HeaderValue() pulumi.StringPtrOutput
The Vault header value to include in the STS signing request.
func (ProviderAuthLoginAwsOutput) Mount ¶
func (o ProviderAuthLoginAwsOutput) Mount() pulumi.StringPtrOutput
The path where the authentication engine is mounted.
func (ProviderAuthLoginAwsOutput) Namespace ¶
func (o ProviderAuthLoginAwsOutput) Namespace() pulumi.StringPtrOutput
The authentication engine's namespace. Conflicts with use_root_namespace
func (ProviderAuthLoginAwsOutput) Role ¶
func (o ProviderAuthLoginAwsOutput) Role() pulumi.StringOutput
The Vault role to use when logging into Vault.
func (ProviderAuthLoginAwsOutput) ToProviderAuthLoginAwsOutput ¶
func (o ProviderAuthLoginAwsOutput) ToProviderAuthLoginAwsOutput() ProviderAuthLoginAwsOutput
func (ProviderAuthLoginAwsOutput) ToProviderAuthLoginAwsOutputWithContext ¶
func (o ProviderAuthLoginAwsOutput) ToProviderAuthLoginAwsOutputWithContext(ctx context.Context) ProviderAuthLoginAwsOutput
func (ProviderAuthLoginAwsOutput) ToProviderAuthLoginAwsPtrOutput ¶
func (o ProviderAuthLoginAwsOutput) ToProviderAuthLoginAwsPtrOutput() ProviderAuthLoginAwsPtrOutput
func (ProviderAuthLoginAwsOutput) ToProviderAuthLoginAwsPtrOutputWithContext ¶
func (o ProviderAuthLoginAwsOutput) ToProviderAuthLoginAwsPtrOutputWithContext(ctx context.Context) ProviderAuthLoginAwsPtrOutput
func (ProviderAuthLoginAwsOutput) UseRootNamespace ¶
func (o ProviderAuthLoginAwsOutput) UseRootNamespace() pulumi.BoolPtrOutput
Authenticate to the root Vault namespace. Conflicts with namespace
type ProviderAuthLoginAwsPtrInput ¶
type ProviderAuthLoginAwsPtrInput interface { pulumi.Input ToProviderAuthLoginAwsPtrOutput() ProviderAuthLoginAwsPtrOutput ToProviderAuthLoginAwsPtrOutputWithContext(context.Context) ProviderAuthLoginAwsPtrOutput }
ProviderAuthLoginAwsPtrInput is an input type that accepts ProviderAuthLoginAwsArgs, ProviderAuthLoginAwsPtr and ProviderAuthLoginAwsPtrOutput values. You can construct a concrete instance of `ProviderAuthLoginAwsPtrInput` via:
ProviderAuthLoginAwsArgs{...} or: nil
func ProviderAuthLoginAwsPtr ¶
func ProviderAuthLoginAwsPtr(v *ProviderAuthLoginAwsArgs) ProviderAuthLoginAwsPtrInput
type ProviderAuthLoginAwsPtrOutput ¶
type ProviderAuthLoginAwsPtrOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginAwsPtrOutput) AwsAccessKeyId ¶
func (o ProviderAuthLoginAwsPtrOutput) AwsAccessKeyId() pulumi.StringPtrOutput
The AWS access key ID.
func (ProviderAuthLoginAwsPtrOutput) AwsIamEndpoint ¶
func (o ProviderAuthLoginAwsPtrOutput) AwsIamEndpoint() pulumi.StringPtrOutput
The IAM endpoint URL.
func (ProviderAuthLoginAwsPtrOutput) AwsProfile ¶
func (o ProviderAuthLoginAwsPtrOutput) AwsProfile() pulumi.StringPtrOutput
The name of the AWS profile.
func (ProviderAuthLoginAwsPtrOutput) AwsRegion ¶
func (o ProviderAuthLoginAwsPtrOutput) AwsRegion() pulumi.StringPtrOutput
The AWS region.
func (ProviderAuthLoginAwsPtrOutput) AwsRoleArn ¶
func (o ProviderAuthLoginAwsPtrOutput) AwsRoleArn() pulumi.StringPtrOutput
The ARN of the AWS Role to assume.Used during STS AssumeRole
func (ProviderAuthLoginAwsPtrOutput) AwsRoleSessionName ¶
func (o ProviderAuthLoginAwsPtrOutput) AwsRoleSessionName() pulumi.StringPtrOutput
Specifies the name to attach to the AWS role session. Used during STS AssumeRole
func (ProviderAuthLoginAwsPtrOutput) AwsSecretAccessKey ¶
func (o ProviderAuthLoginAwsPtrOutput) AwsSecretAccessKey() pulumi.StringPtrOutput
The AWS secret access key.
func (ProviderAuthLoginAwsPtrOutput) AwsSessionToken ¶
func (o ProviderAuthLoginAwsPtrOutput) AwsSessionToken() pulumi.StringPtrOutput
The AWS session token.
func (ProviderAuthLoginAwsPtrOutput) AwsSharedCredentialsFile ¶
func (o ProviderAuthLoginAwsPtrOutput) AwsSharedCredentialsFile() pulumi.StringPtrOutput
Path to the AWS shared credentials file.
func (ProviderAuthLoginAwsPtrOutput) AwsStsEndpoint ¶
func (o ProviderAuthLoginAwsPtrOutput) AwsStsEndpoint() pulumi.StringPtrOutput
The STS endpoint URL.
func (ProviderAuthLoginAwsPtrOutput) AwsWebIdentityTokenFile ¶
func (o ProviderAuthLoginAwsPtrOutput) AwsWebIdentityTokenFile() pulumi.StringPtrOutput
Path to the file containing an OAuth 2.0 access token or OpenID Connect ID token.
func (ProviderAuthLoginAwsPtrOutput) Elem ¶
func (o ProviderAuthLoginAwsPtrOutput) Elem() ProviderAuthLoginAwsOutput
func (ProviderAuthLoginAwsPtrOutput) ElementType ¶
func (ProviderAuthLoginAwsPtrOutput) ElementType() reflect.Type
func (ProviderAuthLoginAwsPtrOutput) HeaderValue ¶
func (o ProviderAuthLoginAwsPtrOutput) HeaderValue() pulumi.StringPtrOutput
The Vault header value to include in the STS signing request.
func (ProviderAuthLoginAwsPtrOutput) Mount ¶
func (o ProviderAuthLoginAwsPtrOutput) Mount() pulumi.StringPtrOutput
The path where the authentication engine is mounted.
func (ProviderAuthLoginAwsPtrOutput) Namespace ¶
func (o ProviderAuthLoginAwsPtrOutput) Namespace() pulumi.StringPtrOutput
The authentication engine's namespace. Conflicts with use_root_namespace
func (ProviderAuthLoginAwsPtrOutput) Role ¶
func (o ProviderAuthLoginAwsPtrOutput) Role() pulumi.StringPtrOutput
The Vault role to use when logging into Vault.
func (ProviderAuthLoginAwsPtrOutput) ToProviderAuthLoginAwsPtrOutput ¶
func (o ProviderAuthLoginAwsPtrOutput) ToProviderAuthLoginAwsPtrOutput() ProviderAuthLoginAwsPtrOutput
func (ProviderAuthLoginAwsPtrOutput) ToProviderAuthLoginAwsPtrOutputWithContext ¶
func (o ProviderAuthLoginAwsPtrOutput) ToProviderAuthLoginAwsPtrOutputWithContext(ctx context.Context) ProviderAuthLoginAwsPtrOutput
func (ProviderAuthLoginAwsPtrOutput) UseRootNamespace ¶
func (o ProviderAuthLoginAwsPtrOutput) UseRootNamespace() pulumi.BoolPtrOutput
Authenticate to the root Vault namespace. Conflicts with namespace
type ProviderAuthLoginAzure ¶
type ProviderAuthLoginAzure struct { // The identity's client ID. ClientId *string `pulumi:"clientId"` // A signed JSON Web Token. If not specified on will be created automatically Jwt *string `pulumi:"jwt"` // The path where the authentication engine is mounted. Mount *string `pulumi:"mount"` // The authentication engine's namespace. Conflicts with use_root_namespace Namespace *string `pulumi:"namespace"` // The resource group for the machine that generated the MSI token. This information can be obtained through instance metadata. ResourceGroupName string `pulumi:"resourceGroupName"` // Name of the login role. Role string `pulumi:"role"` // The scopes to include in the token request. Scope *string `pulumi:"scope"` // The subscription ID for the machine that generated the MSI token. This information can be obtained through instance metadata. SubscriptionId string `pulumi:"subscriptionId"` // Provides the tenant ID to use in a multi-tenant authentication scenario. TenantId *string `pulumi:"tenantId"` // Authenticate to the root Vault namespace. Conflicts with namespace UseRootNamespace *bool `pulumi:"useRootNamespace"` // The virtual machine name for the machine that generated the MSI token. This information can be obtained through instance metadata. VmName *string `pulumi:"vmName"` // The virtual machine scale set name for the machine that generated the MSI token. This information can be obtained through instance metadata. VmssName *string `pulumi:"vmssName"` }
type ProviderAuthLoginAzureArgs ¶
type ProviderAuthLoginAzureArgs struct { // The identity's client ID. ClientId pulumi.StringPtrInput `pulumi:"clientId"` // A signed JSON Web Token. If not specified on will be created automatically Jwt pulumi.StringPtrInput `pulumi:"jwt"` // The path where the authentication engine is mounted. Mount pulumi.StringPtrInput `pulumi:"mount"` // The authentication engine's namespace. Conflicts with use_root_namespace Namespace pulumi.StringPtrInput `pulumi:"namespace"` // The resource group for the machine that generated the MSI token. This information can be obtained through instance metadata. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` // Name of the login role. Role pulumi.StringInput `pulumi:"role"` // The scopes to include in the token request. Scope pulumi.StringPtrInput `pulumi:"scope"` // The subscription ID for the machine that generated the MSI token. This information can be obtained through instance metadata. SubscriptionId pulumi.StringInput `pulumi:"subscriptionId"` // Provides the tenant ID to use in a multi-tenant authentication scenario. TenantId pulumi.StringPtrInput `pulumi:"tenantId"` // Authenticate to the root Vault namespace. Conflicts with namespace UseRootNamespace pulumi.BoolPtrInput `pulumi:"useRootNamespace"` // The virtual machine name for the machine that generated the MSI token. This information can be obtained through instance metadata. VmName pulumi.StringPtrInput `pulumi:"vmName"` // The virtual machine scale set name for the machine that generated the MSI token. This information can be obtained through instance metadata. VmssName pulumi.StringPtrInput `pulumi:"vmssName"` }
func (ProviderAuthLoginAzureArgs) ElementType ¶
func (ProviderAuthLoginAzureArgs) ElementType() reflect.Type
func (ProviderAuthLoginAzureArgs) ToProviderAuthLoginAzureOutput ¶
func (i ProviderAuthLoginAzureArgs) ToProviderAuthLoginAzureOutput() ProviderAuthLoginAzureOutput
func (ProviderAuthLoginAzureArgs) ToProviderAuthLoginAzureOutputWithContext ¶
func (i ProviderAuthLoginAzureArgs) ToProviderAuthLoginAzureOutputWithContext(ctx context.Context) ProviderAuthLoginAzureOutput
func (ProviderAuthLoginAzureArgs) ToProviderAuthLoginAzurePtrOutput ¶
func (i ProviderAuthLoginAzureArgs) ToProviderAuthLoginAzurePtrOutput() ProviderAuthLoginAzurePtrOutput
func (ProviderAuthLoginAzureArgs) ToProviderAuthLoginAzurePtrOutputWithContext ¶
func (i ProviderAuthLoginAzureArgs) ToProviderAuthLoginAzurePtrOutputWithContext(ctx context.Context) ProviderAuthLoginAzurePtrOutput
type ProviderAuthLoginAzureInput ¶
type ProviderAuthLoginAzureInput interface { pulumi.Input ToProviderAuthLoginAzureOutput() ProviderAuthLoginAzureOutput ToProviderAuthLoginAzureOutputWithContext(context.Context) ProviderAuthLoginAzureOutput }
ProviderAuthLoginAzureInput is an input type that accepts ProviderAuthLoginAzureArgs and ProviderAuthLoginAzureOutput values. You can construct a concrete instance of `ProviderAuthLoginAzureInput` via:
ProviderAuthLoginAzureArgs{...}
type ProviderAuthLoginAzureOutput ¶
type ProviderAuthLoginAzureOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginAzureOutput) ClientId ¶
func (o ProviderAuthLoginAzureOutput) ClientId() pulumi.StringPtrOutput
The identity's client ID.
func (ProviderAuthLoginAzureOutput) ElementType ¶
func (ProviderAuthLoginAzureOutput) ElementType() reflect.Type
func (ProviderAuthLoginAzureOutput) Jwt ¶
func (o ProviderAuthLoginAzureOutput) Jwt() pulumi.StringPtrOutput
A signed JSON Web Token. If not specified on will be created automatically
func (ProviderAuthLoginAzureOutput) Mount ¶
func (o ProviderAuthLoginAzureOutput) Mount() pulumi.StringPtrOutput
The path where the authentication engine is mounted.
func (ProviderAuthLoginAzureOutput) Namespace ¶
func (o ProviderAuthLoginAzureOutput) Namespace() pulumi.StringPtrOutput
The authentication engine's namespace. Conflicts with use_root_namespace
func (ProviderAuthLoginAzureOutput) ResourceGroupName ¶
func (o ProviderAuthLoginAzureOutput) ResourceGroupName() pulumi.StringOutput
The resource group for the machine that generated the MSI token. This information can be obtained through instance metadata.
func (ProviderAuthLoginAzureOutput) Role ¶
func (o ProviderAuthLoginAzureOutput) Role() pulumi.StringOutput
Name of the login role.
func (ProviderAuthLoginAzureOutput) Scope ¶
func (o ProviderAuthLoginAzureOutput) Scope() pulumi.StringPtrOutput
The scopes to include in the token request.
func (ProviderAuthLoginAzureOutput) SubscriptionId ¶
func (o ProviderAuthLoginAzureOutput) SubscriptionId() pulumi.StringOutput
The subscription ID for the machine that generated the MSI token. This information can be obtained through instance metadata.
func (ProviderAuthLoginAzureOutput) TenantId ¶
func (o ProviderAuthLoginAzureOutput) TenantId() pulumi.StringPtrOutput
Provides the tenant ID to use in a multi-tenant authentication scenario.
func (ProviderAuthLoginAzureOutput) ToProviderAuthLoginAzureOutput ¶
func (o ProviderAuthLoginAzureOutput) ToProviderAuthLoginAzureOutput() ProviderAuthLoginAzureOutput
func (ProviderAuthLoginAzureOutput) ToProviderAuthLoginAzureOutputWithContext ¶
func (o ProviderAuthLoginAzureOutput) ToProviderAuthLoginAzureOutputWithContext(ctx context.Context) ProviderAuthLoginAzureOutput
func (ProviderAuthLoginAzureOutput) ToProviderAuthLoginAzurePtrOutput ¶
func (o ProviderAuthLoginAzureOutput) ToProviderAuthLoginAzurePtrOutput() ProviderAuthLoginAzurePtrOutput
func (ProviderAuthLoginAzureOutput) ToProviderAuthLoginAzurePtrOutputWithContext ¶
func (o ProviderAuthLoginAzureOutput) ToProviderAuthLoginAzurePtrOutputWithContext(ctx context.Context) ProviderAuthLoginAzurePtrOutput
func (ProviderAuthLoginAzureOutput) UseRootNamespace ¶
func (o ProviderAuthLoginAzureOutput) UseRootNamespace() pulumi.BoolPtrOutput
Authenticate to the root Vault namespace. Conflicts with namespace
func (ProviderAuthLoginAzureOutput) VmName ¶
func (o ProviderAuthLoginAzureOutput) VmName() pulumi.StringPtrOutput
The virtual machine name for the machine that generated the MSI token. This information can be obtained through instance metadata.
func (ProviderAuthLoginAzureOutput) VmssName ¶
func (o ProviderAuthLoginAzureOutput) VmssName() pulumi.StringPtrOutput
The virtual machine scale set name for the machine that generated the MSI token. This information can be obtained through instance metadata.
type ProviderAuthLoginAzurePtrInput ¶
type ProviderAuthLoginAzurePtrInput interface { pulumi.Input ToProviderAuthLoginAzurePtrOutput() ProviderAuthLoginAzurePtrOutput ToProviderAuthLoginAzurePtrOutputWithContext(context.Context) ProviderAuthLoginAzurePtrOutput }
ProviderAuthLoginAzurePtrInput is an input type that accepts ProviderAuthLoginAzureArgs, ProviderAuthLoginAzurePtr and ProviderAuthLoginAzurePtrOutput values. You can construct a concrete instance of `ProviderAuthLoginAzurePtrInput` via:
ProviderAuthLoginAzureArgs{...} or: nil
func ProviderAuthLoginAzurePtr ¶
func ProviderAuthLoginAzurePtr(v *ProviderAuthLoginAzureArgs) ProviderAuthLoginAzurePtrInput
type ProviderAuthLoginAzurePtrOutput ¶
type ProviderAuthLoginAzurePtrOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginAzurePtrOutput) ClientId ¶
func (o ProviderAuthLoginAzurePtrOutput) ClientId() pulumi.StringPtrOutput
The identity's client ID.
func (ProviderAuthLoginAzurePtrOutput) Elem ¶
func (o ProviderAuthLoginAzurePtrOutput) Elem() ProviderAuthLoginAzureOutput
func (ProviderAuthLoginAzurePtrOutput) ElementType ¶
func (ProviderAuthLoginAzurePtrOutput) ElementType() reflect.Type
func (ProviderAuthLoginAzurePtrOutput) Jwt ¶
func (o ProviderAuthLoginAzurePtrOutput) Jwt() pulumi.StringPtrOutput
A signed JSON Web Token. If not specified on will be created automatically
func (ProviderAuthLoginAzurePtrOutput) Mount ¶
func (o ProviderAuthLoginAzurePtrOutput) Mount() pulumi.StringPtrOutput
The path where the authentication engine is mounted.
func (ProviderAuthLoginAzurePtrOutput) Namespace ¶
func (o ProviderAuthLoginAzurePtrOutput) Namespace() pulumi.StringPtrOutput
The authentication engine's namespace. Conflicts with use_root_namespace
func (ProviderAuthLoginAzurePtrOutput) ResourceGroupName ¶
func (o ProviderAuthLoginAzurePtrOutput) ResourceGroupName() pulumi.StringPtrOutput
The resource group for the machine that generated the MSI token. This information can be obtained through instance metadata.
func (ProviderAuthLoginAzurePtrOutput) Role ¶
func (o ProviderAuthLoginAzurePtrOutput) Role() pulumi.StringPtrOutput
Name of the login role.
func (ProviderAuthLoginAzurePtrOutput) Scope ¶
func (o ProviderAuthLoginAzurePtrOutput) Scope() pulumi.StringPtrOutput
The scopes to include in the token request.
func (ProviderAuthLoginAzurePtrOutput) SubscriptionId ¶
func (o ProviderAuthLoginAzurePtrOutput) SubscriptionId() pulumi.StringPtrOutput
The subscription ID for the machine that generated the MSI token. This information can be obtained through instance metadata.
func (ProviderAuthLoginAzurePtrOutput) TenantId ¶
func (o ProviderAuthLoginAzurePtrOutput) TenantId() pulumi.StringPtrOutput
Provides the tenant ID to use in a multi-tenant authentication scenario.
func (ProviderAuthLoginAzurePtrOutput) ToProviderAuthLoginAzurePtrOutput ¶
func (o ProviderAuthLoginAzurePtrOutput) ToProviderAuthLoginAzurePtrOutput() ProviderAuthLoginAzurePtrOutput
func (ProviderAuthLoginAzurePtrOutput) ToProviderAuthLoginAzurePtrOutputWithContext ¶
func (o ProviderAuthLoginAzurePtrOutput) ToProviderAuthLoginAzurePtrOutputWithContext(ctx context.Context) ProviderAuthLoginAzurePtrOutput
func (ProviderAuthLoginAzurePtrOutput) UseRootNamespace ¶
func (o ProviderAuthLoginAzurePtrOutput) UseRootNamespace() pulumi.BoolPtrOutput
Authenticate to the root Vault namespace. Conflicts with namespace
func (ProviderAuthLoginAzurePtrOutput) VmName ¶
func (o ProviderAuthLoginAzurePtrOutput) VmName() pulumi.StringPtrOutput
The virtual machine name for the machine that generated the MSI token. This information can be obtained through instance metadata.
func (ProviderAuthLoginAzurePtrOutput) VmssName ¶
func (o ProviderAuthLoginAzurePtrOutput) VmssName() pulumi.StringPtrOutput
The virtual machine scale set name for the machine that generated the MSI token. This information can be obtained through instance metadata.
type ProviderAuthLoginCert ¶
type ProviderAuthLoginCert struct { // Path to a file containing the client certificate. CertFile string `pulumi:"certFile"` // Path to a file containing the private key that the certificate was issued for. KeyFile string `pulumi:"keyFile"` // The path where the authentication engine is mounted. Mount *string `pulumi:"mount"` // Name of the certificate's role Name *string `pulumi:"name"` // The authentication engine's namespace. Conflicts with use_root_namespace Namespace *string `pulumi:"namespace"` // Authenticate to the root Vault namespace. Conflicts with namespace UseRootNamespace *bool `pulumi:"useRootNamespace"` }
type ProviderAuthLoginCertArgs ¶
type ProviderAuthLoginCertArgs struct { // Path to a file containing the client certificate. CertFile pulumi.StringInput `pulumi:"certFile"` // Path to a file containing the private key that the certificate was issued for. KeyFile pulumi.StringInput `pulumi:"keyFile"` // The path where the authentication engine is mounted. Mount pulumi.StringPtrInput `pulumi:"mount"` // Name of the certificate's role Name pulumi.StringPtrInput `pulumi:"name"` // The authentication engine's namespace. Conflicts with use_root_namespace Namespace pulumi.StringPtrInput `pulumi:"namespace"` // Authenticate to the root Vault namespace. Conflicts with namespace UseRootNamespace pulumi.BoolPtrInput `pulumi:"useRootNamespace"` }
func (ProviderAuthLoginCertArgs) ElementType ¶
func (ProviderAuthLoginCertArgs) ElementType() reflect.Type
func (ProviderAuthLoginCertArgs) ToProviderAuthLoginCertOutput ¶
func (i ProviderAuthLoginCertArgs) ToProviderAuthLoginCertOutput() ProviderAuthLoginCertOutput
func (ProviderAuthLoginCertArgs) ToProviderAuthLoginCertOutputWithContext ¶
func (i ProviderAuthLoginCertArgs) ToProviderAuthLoginCertOutputWithContext(ctx context.Context) ProviderAuthLoginCertOutput
func (ProviderAuthLoginCertArgs) ToProviderAuthLoginCertPtrOutput ¶
func (i ProviderAuthLoginCertArgs) ToProviderAuthLoginCertPtrOutput() ProviderAuthLoginCertPtrOutput
func (ProviderAuthLoginCertArgs) ToProviderAuthLoginCertPtrOutputWithContext ¶
func (i ProviderAuthLoginCertArgs) ToProviderAuthLoginCertPtrOutputWithContext(ctx context.Context) ProviderAuthLoginCertPtrOutput
type ProviderAuthLoginCertInput ¶
type ProviderAuthLoginCertInput interface { pulumi.Input ToProviderAuthLoginCertOutput() ProviderAuthLoginCertOutput ToProviderAuthLoginCertOutputWithContext(context.Context) ProviderAuthLoginCertOutput }
ProviderAuthLoginCertInput is an input type that accepts ProviderAuthLoginCertArgs and ProviderAuthLoginCertOutput values. You can construct a concrete instance of `ProviderAuthLoginCertInput` via:
ProviderAuthLoginCertArgs{...}
type ProviderAuthLoginCertOutput ¶
type ProviderAuthLoginCertOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginCertOutput) CertFile ¶
func (o ProviderAuthLoginCertOutput) CertFile() pulumi.StringOutput
Path to a file containing the client certificate.
func (ProviderAuthLoginCertOutput) ElementType ¶
func (ProviderAuthLoginCertOutput) ElementType() reflect.Type
func (ProviderAuthLoginCertOutput) KeyFile ¶
func (o ProviderAuthLoginCertOutput) KeyFile() pulumi.StringOutput
Path to a file containing the private key that the certificate was issued for.
func (ProviderAuthLoginCertOutput) Mount ¶
func (o ProviderAuthLoginCertOutput) Mount() pulumi.StringPtrOutput
The path where the authentication engine is mounted.
func (ProviderAuthLoginCertOutput) Name ¶
func (o ProviderAuthLoginCertOutput) Name() pulumi.StringPtrOutput
Name of the certificate's role
func (ProviderAuthLoginCertOutput) Namespace ¶
func (o ProviderAuthLoginCertOutput) Namespace() pulumi.StringPtrOutput
The authentication engine's namespace. Conflicts with use_root_namespace
func (ProviderAuthLoginCertOutput) ToProviderAuthLoginCertOutput ¶
func (o ProviderAuthLoginCertOutput) ToProviderAuthLoginCertOutput() ProviderAuthLoginCertOutput
func (ProviderAuthLoginCertOutput) ToProviderAuthLoginCertOutputWithContext ¶
func (o ProviderAuthLoginCertOutput) ToProviderAuthLoginCertOutputWithContext(ctx context.Context) ProviderAuthLoginCertOutput
func (ProviderAuthLoginCertOutput) ToProviderAuthLoginCertPtrOutput ¶
func (o ProviderAuthLoginCertOutput) ToProviderAuthLoginCertPtrOutput() ProviderAuthLoginCertPtrOutput
func (ProviderAuthLoginCertOutput) ToProviderAuthLoginCertPtrOutputWithContext ¶
func (o ProviderAuthLoginCertOutput) ToProviderAuthLoginCertPtrOutputWithContext(ctx context.Context) ProviderAuthLoginCertPtrOutput
func (ProviderAuthLoginCertOutput) UseRootNamespace ¶
func (o ProviderAuthLoginCertOutput) UseRootNamespace() pulumi.BoolPtrOutput
Authenticate to the root Vault namespace. Conflicts with namespace
type ProviderAuthLoginCertPtrInput ¶
type ProviderAuthLoginCertPtrInput interface { pulumi.Input ToProviderAuthLoginCertPtrOutput() ProviderAuthLoginCertPtrOutput ToProviderAuthLoginCertPtrOutputWithContext(context.Context) ProviderAuthLoginCertPtrOutput }
ProviderAuthLoginCertPtrInput is an input type that accepts ProviderAuthLoginCertArgs, ProviderAuthLoginCertPtr and ProviderAuthLoginCertPtrOutput values. You can construct a concrete instance of `ProviderAuthLoginCertPtrInput` via:
ProviderAuthLoginCertArgs{...} or: nil
func ProviderAuthLoginCertPtr ¶
func ProviderAuthLoginCertPtr(v *ProviderAuthLoginCertArgs) ProviderAuthLoginCertPtrInput
type ProviderAuthLoginCertPtrOutput ¶
type ProviderAuthLoginCertPtrOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginCertPtrOutput) CertFile ¶
func (o ProviderAuthLoginCertPtrOutput) CertFile() pulumi.StringPtrOutput
Path to a file containing the client certificate.
func (ProviderAuthLoginCertPtrOutput) Elem ¶
func (o ProviderAuthLoginCertPtrOutput) Elem() ProviderAuthLoginCertOutput
func (ProviderAuthLoginCertPtrOutput) ElementType ¶
func (ProviderAuthLoginCertPtrOutput) ElementType() reflect.Type
func (ProviderAuthLoginCertPtrOutput) KeyFile ¶
func (o ProviderAuthLoginCertPtrOutput) KeyFile() pulumi.StringPtrOutput
Path to a file containing the private key that the certificate was issued for.
func (ProviderAuthLoginCertPtrOutput) Mount ¶
func (o ProviderAuthLoginCertPtrOutput) Mount() pulumi.StringPtrOutput
The path where the authentication engine is mounted.
func (ProviderAuthLoginCertPtrOutput) Name ¶
func (o ProviderAuthLoginCertPtrOutput) Name() pulumi.StringPtrOutput
Name of the certificate's role
func (ProviderAuthLoginCertPtrOutput) Namespace ¶
func (o ProviderAuthLoginCertPtrOutput) Namespace() pulumi.StringPtrOutput
The authentication engine's namespace. Conflicts with use_root_namespace
func (ProviderAuthLoginCertPtrOutput) ToProviderAuthLoginCertPtrOutput ¶
func (o ProviderAuthLoginCertPtrOutput) ToProviderAuthLoginCertPtrOutput() ProviderAuthLoginCertPtrOutput
func (ProviderAuthLoginCertPtrOutput) ToProviderAuthLoginCertPtrOutputWithContext ¶
func (o ProviderAuthLoginCertPtrOutput) ToProviderAuthLoginCertPtrOutputWithContext(ctx context.Context) ProviderAuthLoginCertPtrOutput
func (ProviderAuthLoginCertPtrOutput) UseRootNamespace ¶
func (o ProviderAuthLoginCertPtrOutput) UseRootNamespace() pulumi.BoolPtrOutput
Authenticate to the root Vault namespace. Conflicts with namespace
type ProviderAuthLoginGcp ¶
type ProviderAuthLoginGcp struct { // Path to the Google Cloud credentials file. Credentials *string `pulumi:"credentials"` // A signed JSON Web Token. Jwt *string `pulumi:"jwt"` // The path where the authentication engine is mounted. Mount *string `pulumi:"mount"` // The authentication engine's namespace. Conflicts with use_root_namespace Namespace *string `pulumi:"namespace"` // Name of the login role. Role string `pulumi:"role"` // IAM service account. ServiceAccount *string `pulumi:"serviceAccount"` // Authenticate to the root Vault namespace. Conflicts with namespace UseRootNamespace *bool `pulumi:"useRootNamespace"` }
type ProviderAuthLoginGcpArgs ¶
type ProviderAuthLoginGcpArgs struct { // Path to the Google Cloud credentials file. Credentials pulumi.StringPtrInput `pulumi:"credentials"` // A signed JSON Web Token. Jwt pulumi.StringPtrInput `pulumi:"jwt"` // The path where the authentication engine is mounted. Mount pulumi.StringPtrInput `pulumi:"mount"` // The authentication engine's namespace. Conflicts with use_root_namespace Namespace pulumi.StringPtrInput `pulumi:"namespace"` // Name of the login role. Role pulumi.StringInput `pulumi:"role"` // IAM service account. ServiceAccount pulumi.StringPtrInput `pulumi:"serviceAccount"` // Authenticate to the root Vault namespace. Conflicts with namespace UseRootNamespace pulumi.BoolPtrInput `pulumi:"useRootNamespace"` }
func (ProviderAuthLoginGcpArgs) ElementType ¶
func (ProviderAuthLoginGcpArgs) ElementType() reflect.Type
func (ProviderAuthLoginGcpArgs) ToProviderAuthLoginGcpOutput ¶
func (i ProviderAuthLoginGcpArgs) ToProviderAuthLoginGcpOutput() ProviderAuthLoginGcpOutput
func (ProviderAuthLoginGcpArgs) ToProviderAuthLoginGcpOutputWithContext ¶
func (i ProviderAuthLoginGcpArgs) ToProviderAuthLoginGcpOutputWithContext(ctx context.Context) ProviderAuthLoginGcpOutput
func (ProviderAuthLoginGcpArgs) ToProviderAuthLoginGcpPtrOutput ¶
func (i ProviderAuthLoginGcpArgs) ToProviderAuthLoginGcpPtrOutput() ProviderAuthLoginGcpPtrOutput
func (ProviderAuthLoginGcpArgs) ToProviderAuthLoginGcpPtrOutputWithContext ¶
func (i ProviderAuthLoginGcpArgs) ToProviderAuthLoginGcpPtrOutputWithContext(ctx context.Context) ProviderAuthLoginGcpPtrOutput
type ProviderAuthLoginGcpInput ¶
type ProviderAuthLoginGcpInput interface { pulumi.Input ToProviderAuthLoginGcpOutput() ProviderAuthLoginGcpOutput ToProviderAuthLoginGcpOutputWithContext(context.Context) ProviderAuthLoginGcpOutput }
ProviderAuthLoginGcpInput is an input type that accepts ProviderAuthLoginGcpArgs and ProviderAuthLoginGcpOutput values. You can construct a concrete instance of `ProviderAuthLoginGcpInput` via:
ProviderAuthLoginGcpArgs{...}
type ProviderAuthLoginGcpOutput ¶
type ProviderAuthLoginGcpOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginGcpOutput) Credentials ¶
func (o ProviderAuthLoginGcpOutput) Credentials() pulumi.StringPtrOutput
Path to the Google Cloud credentials file.
func (ProviderAuthLoginGcpOutput) ElementType ¶
func (ProviderAuthLoginGcpOutput) ElementType() reflect.Type
func (ProviderAuthLoginGcpOutput) Jwt ¶
func (o ProviderAuthLoginGcpOutput) Jwt() pulumi.StringPtrOutput
A signed JSON Web Token.
func (ProviderAuthLoginGcpOutput) Mount ¶
func (o ProviderAuthLoginGcpOutput) Mount() pulumi.StringPtrOutput
The path where the authentication engine is mounted.
func (ProviderAuthLoginGcpOutput) Namespace ¶
func (o ProviderAuthLoginGcpOutput) Namespace() pulumi.StringPtrOutput
The authentication engine's namespace. Conflicts with use_root_namespace
func (ProviderAuthLoginGcpOutput) Role ¶
func (o ProviderAuthLoginGcpOutput) Role() pulumi.StringOutput
Name of the login role.
func (ProviderAuthLoginGcpOutput) ServiceAccount ¶
func (o ProviderAuthLoginGcpOutput) ServiceAccount() pulumi.StringPtrOutput
IAM service account.
func (ProviderAuthLoginGcpOutput) ToProviderAuthLoginGcpOutput ¶
func (o ProviderAuthLoginGcpOutput) ToProviderAuthLoginGcpOutput() ProviderAuthLoginGcpOutput
func (ProviderAuthLoginGcpOutput) ToProviderAuthLoginGcpOutputWithContext ¶
func (o ProviderAuthLoginGcpOutput) ToProviderAuthLoginGcpOutputWithContext(ctx context.Context) ProviderAuthLoginGcpOutput
func (ProviderAuthLoginGcpOutput) ToProviderAuthLoginGcpPtrOutput ¶
func (o ProviderAuthLoginGcpOutput) ToProviderAuthLoginGcpPtrOutput() ProviderAuthLoginGcpPtrOutput
func (ProviderAuthLoginGcpOutput) ToProviderAuthLoginGcpPtrOutputWithContext ¶
func (o ProviderAuthLoginGcpOutput) ToProviderAuthLoginGcpPtrOutputWithContext(ctx context.Context) ProviderAuthLoginGcpPtrOutput
func (ProviderAuthLoginGcpOutput) UseRootNamespace ¶
func (o ProviderAuthLoginGcpOutput) UseRootNamespace() pulumi.BoolPtrOutput
Authenticate to the root Vault namespace. Conflicts with namespace
type ProviderAuthLoginGcpPtrInput ¶
type ProviderAuthLoginGcpPtrInput interface { pulumi.Input ToProviderAuthLoginGcpPtrOutput() ProviderAuthLoginGcpPtrOutput ToProviderAuthLoginGcpPtrOutputWithContext(context.Context) ProviderAuthLoginGcpPtrOutput }
ProviderAuthLoginGcpPtrInput is an input type that accepts ProviderAuthLoginGcpArgs, ProviderAuthLoginGcpPtr and ProviderAuthLoginGcpPtrOutput values. You can construct a concrete instance of `ProviderAuthLoginGcpPtrInput` via:
ProviderAuthLoginGcpArgs{...} or: nil
func ProviderAuthLoginGcpPtr ¶
func ProviderAuthLoginGcpPtr(v *ProviderAuthLoginGcpArgs) ProviderAuthLoginGcpPtrInput
type ProviderAuthLoginGcpPtrOutput ¶
type ProviderAuthLoginGcpPtrOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginGcpPtrOutput) Credentials ¶
func (o ProviderAuthLoginGcpPtrOutput) Credentials() pulumi.StringPtrOutput
Path to the Google Cloud credentials file.
func (ProviderAuthLoginGcpPtrOutput) Elem ¶
func (o ProviderAuthLoginGcpPtrOutput) Elem() ProviderAuthLoginGcpOutput
func (ProviderAuthLoginGcpPtrOutput) ElementType ¶
func (ProviderAuthLoginGcpPtrOutput) ElementType() reflect.Type
func (ProviderAuthLoginGcpPtrOutput) Jwt ¶
func (o ProviderAuthLoginGcpPtrOutput) Jwt() pulumi.StringPtrOutput
A signed JSON Web Token.
func (ProviderAuthLoginGcpPtrOutput) Mount ¶
func (o ProviderAuthLoginGcpPtrOutput) Mount() pulumi.StringPtrOutput
The path where the authentication engine is mounted.
func (ProviderAuthLoginGcpPtrOutput) Namespace ¶
func (o ProviderAuthLoginGcpPtrOutput) Namespace() pulumi.StringPtrOutput
The authentication engine's namespace. Conflicts with use_root_namespace
func (ProviderAuthLoginGcpPtrOutput) Role ¶
func (o ProviderAuthLoginGcpPtrOutput) Role() pulumi.StringPtrOutput
Name of the login role.
func (ProviderAuthLoginGcpPtrOutput) ServiceAccount ¶
func (o ProviderAuthLoginGcpPtrOutput) ServiceAccount() pulumi.StringPtrOutput
IAM service account.
func (ProviderAuthLoginGcpPtrOutput) ToProviderAuthLoginGcpPtrOutput ¶
func (o ProviderAuthLoginGcpPtrOutput) ToProviderAuthLoginGcpPtrOutput() ProviderAuthLoginGcpPtrOutput
func (ProviderAuthLoginGcpPtrOutput) ToProviderAuthLoginGcpPtrOutputWithContext ¶
func (o ProviderAuthLoginGcpPtrOutput) ToProviderAuthLoginGcpPtrOutputWithContext(ctx context.Context) ProviderAuthLoginGcpPtrOutput
func (ProviderAuthLoginGcpPtrOutput) UseRootNamespace ¶
func (o ProviderAuthLoginGcpPtrOutput) UseRootNamespace() pulumi.BoolPtrOutput
Authenticate to the root Vault namespace. Conflicts with namespace
type ProviderAuthLoginInput ¶
type ProviderAuthLoginInput interface { pulumi.Input ToProviderAuthLoginOutput() ProviderAuthLoginOutput ToProviderAuthLoginOutputWithContext(context.Context) ProviderAuthLoginOutput }
ProviderAuthLoginInput is an input type that accepts ProviderAuthLoginArgs and ProviderAuthLoginOutput values. You can construct a concrete instance of `ProviderAuthLoginInput` via:
ProviderAuthLoginArgs{...}
type ProviderAuthLoginJwt ¶
type ProviderAuthLoginJwt struct { // A signed JSON Web Token. Jwt string `pulumi:"jwt"` // The path where the authentication engine is mounted. Mount *string `pulumi:"mount"` // The authentication engine's namespace. Conflicts with use_root_namespace Namespace *string `pulumi:"namespace"` // Name of the login role. Role string `pulumi:"role"` // Authenticate to the root Vault namespace. Conflicts with namespace UseRootNamespace *bool `pulumi:"useRootNamespace"` }
type ProviderAuthLoginJwtArgs ¶
type ProviderAuthLoginJwtArgs struct { // A signed JSON Web Token. Jwt pulumi.StringInput `pulumi:"jwt"` // The path where the authentication engine is mounted. Mount pulumi.StringPtrInput `pulumi:"mount"` // The authentication engine's namespace. Conflicts with use_root_namespace Namespace pulumi.StringPtrInput `pulumi:"namespace"` // Name of the login role. Role pulumi.StringInput `pulumi:"role"` // Authenticate to the root Vault namespace. Conflicts with namespace UseRootNamespace pulumi.BoolPtrInput `pulumi:"useRootNamespace"` }
func (ProviderAuthLoginJwtArgs) ElementType ¶
func (ProviderAuthLoginJwtArgs) ElementType() reflect.Type
func (ProviderAuthLoginJwtArgs) ToProviderAuthLoginJwtOutput ¶
func (i ProviderAuthLoginJwtArgs) ToProviderAuthLoginJwtOutput() ProviderAuthLoginJwtOutput
func (ProviderAuthLoginJwtArgs) ToProviderAuthLoginJwtOutputWithContext ¶
func (i ProviderAuthLoginJwtArgs) ToProviderAuthLoginJwtOutputWithContext(ctx context.Context) ProviderAuthLoginJwtOutput
func (ProviderAuthLoginJwtArgs) ToProviderAuthLoginJwtPtrOutput ¶
func (i ProviderAuthLoginJwtArgs) ToProviderAuthLoginJwtPtrOutput() ProviderAuthLoginJwtPtrOutput
func (ProviderAuthLoginJwtArgs) ToProviderAuthLoginJwtPtrOutputWithContext ¶
func (i ProviderAuthLoginJwtArgs) ToProviderAuthLoginJwtPtrOutputWithContext(ctx context.Context) ProviderAuthLoginJwtPtrOutput
type ProviderAuthLoginJwtInput ¶
type ProviderAuthLoginJwtInput interface { pulumi.Input ToProviderAuthLoginJwtOutput() ProviderAuthLoginJwtOutput ToProviderAuthLoginJwtOutputWithContext(context.Context) ProviderAuthLoginJwtOutput }
ProviderAuthLoginJwtInput is an input type that accepts ProviderAuthLoginJwtArgs and ProviderAuthLoginJwtOutput values. You can construct a concrete instance of `ProviderAuthLoginJwtInput` via:
ProviderAuthLoginJwtArgs{...}
type ProviderAuthLoginJwtOutput ¶
type ProviderAuthLoginJwtOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginJwtOutput) ElementType ¶
func (ProviderAuthLoginJwtOutput) ElementType() reflect.Type
func (ProviderAuthLoginJwtOutput) Jwt ¶
func (o ProviderAuthLoginJwtOutput) Jwt() pulumi.StringOutput
A signed JSON Web Token.
func (ProviderAuthLoginJwtOutput) Mount ¶
func (o ProviderAuthLoginJwtOutput) Mount() pulumi.StringPtrOutput
The path where the authentication engine is mounted.
func (ProviderAuthLoginJwtOutput) Namespace ¶
func (o ProviderAuthLoginJwtOutput) Namespace() pulumi.StringPtrOutput
The authentication engine's namespace. Conflicts with use_root_namespace
func (ProviderAuthLoginJwtOutput) Role ¶
func (o ProviderAuthLoginJwtOutput) Role() pulumi.StringOutput
Name of the login role.
func (ProviderAuthLoginJwtOutput) ToProviderAuthLoginJwtOutput ¶
func (o ProviderAuthLoginJwtOutput) ToProviderAuthLoginJwtOutput() ProviderAuthLoginJwtOutput
func (ProviderAuthLoginJwtOutput) ToProviderAuthLoginJwtOutputWithContext ¶
func (o ProviderAuthLoginJwtOutput) ToProviderAuthLoginJwtOutputWithContext(ctx context.Context) ProviderAuthLoginJwtOutput
func (ProviderAuthLoginJwtOutput) ToProviderAuthLoginJwtPtrOutput ¶
func (o ProviderAuthLoginJwtOutput) ToProviderAuthLoginJwtPtrOutput() ProviderAuthLoginJwtPtrOutput
func (ProviderAuthLoginJwtOutput) ToProviderAuthLoginJwtPtrOutputWithContext ¶
func (o ProviderAuthLoginJwtOutput) ToProviderAuthLoginJwtPtrOutputWithContext(ctx context.Context) ProviderAuthLoginJwtPtrOutput
func (ProviderAuthLoginJwtOutput) UseRootNamespace ¶
func (o ProviderAuthLoginJwtOutput) UseRootNamespace() pulumi.BoolPtrOutput
Authenticate to the root Vault namespace. Conflicts with namespace
type ProviderAuthLoginJwtPtrInput ¶
type ProviderAuthLoginJwtPtrInput interface { pulumi.Input ToProviderAuthLoginJwtPtrOutput() ProviderAuthLoginJwtPtrOutput ToProviderAuthLoginJwtPtrOutputWithContext(context.Context) ProviderAuthLoginJwtPtrOutput }
ProviderAuthLoginJwtPtrInput is an input type that accepts ProviderAuthLoginJwtArgs, ProviderAuthLoginJwtPtr and ProviderAuthLoginJwtPtrOutput values. You can construct a concrete instance of `ProviderAuthLoginJwtPtrInput` via:
ProviderAuthLoginJwtArgs{...} or: nil
func ProviderAuthLoginJwtPtr ¶
func ProviderAuthLoginJwtPtr(v *ProviderAuthLoginJwtArgs) ProviderAuthLoginJwtPtrInput
type ProviderAuthLoginJwtPtrOutput ¶
type ProviderAuthLoginJwtPtrOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginJwtPtrOutput) Elem ¶
func (o ProviderAuthLoginJwtPtrOutput) Elem() ProviderAuthLoginJwtOutput
func (ProviderAuthLoginJwtPtrOutput) ElementType ¶
func (ProviderAuthLoginJwtPtrOutput) ElementType() reflect.Type
func (ProviderAuthLoginJwtPtrOutput) Jwt ¶
func (o ProviderAuthLoginJwtPtrOutput) Jwt() pulumi.StringPtrOutput
A signed JSON Web Token.
func (ProviderAuthLoginJwtPtrOutput) Mount ¶
func (o ProviderAuthLoginJwtPtrOutput) Mount() pulumi.StringPtrOutput
The path where the authentication engine is mounted.
func (ProviderAuthLoginJwtPtrOutput) Namespace ¶
func (o ProviderAuthLoginJwtPtrOutput) Namespace() pulumi.StringPtrOutput
The authentication engine's namespace. Conflicts with use_root_namespace
func (ProviderAuthLoginJwtPtrOutput) Role ¶
func (o ProviderAuthLoginJwtPtrOutput) Role() pulumi.StringPtrOutput
Name of the login role.
func (ProviderAuthLoginJwtPtrOutput) ToProviderAuthLoginJwtPtrOutput ¶
func (o ProviderAuthLoginJwtPtrOutput) ToProviderAuthLoginJwtPtrOutput() ProviderAuthLoginJwtPtrOutput
func (ProviderAuthLoginJwtPtrOutput) ToProviderAuthLoginJwtPtrOutputWithContext ¶
func (o ProviderAuthLoginJwtPtrOutput) ToProviderAuthLoginJwtPtrOutputWithContext(ctx context.Context) ProviderAuthLoginJwtPtrOutput
func (ProviderAuthLoginJwtPtrOutput) UseRootNamespace ¶
func (o ProviderAuthLoginJwtPtrOutput) UseRootNamespace() pulumi.BoolPtrOutput
Authenticate to the root Vault namespace. Conflicts with namespace
type ProviderAuthLoginKerberos ¶
type ProviderAuthLoginKerberos struct { // Disable the Kerberos FAST negotiation. DisableFastNegotiation *bool `pulumi:"disableFastNegotiation"` // The Kerberos keytab file containing the entry of the login entity. KeytabPath *string `pulumi:"keytabPath"` // A valid Kerberos configuration file e.g. /etc/krb5.conf. Krb5confPath *string `pulumi:"krb5confPath"` // The path where the authentication engine is mounted. Mount *string `pulumi:"mount"` // The authentication engine's namespace. Conflicts with use_root_namespace Namespace *string `pulumi:"namespace"` // The Kerberos server's authoritative authentication domain Realm *string `pulumi:"realm"` // Strip the host from the username found in the keytab. RemoveInstanceName *bool `pulumi:"removeInstanceName"` // The service principle name. Service *string `pulumi:"service"` // Simple and Protected GSSAPI Negotiation Mechanism (SPNEGO) token Token *string `pulumi:"token"` // Authenticate to the root Vault namespace. Conflicts with namespace UseRootNamespace *bool `pulumi:"useRootNamespace"` // The username to login into Kerberos with. Username *string `pulumi:"username"` }
type ProviderAuthLoginKerberosArgs ¶
type ProviderAuthLoginKerberosArgs struct { // Disable the Kerberos FAST negotiation. DisableFastNegotiation pulumi.BoolPtrInput `pulumi:"disableFastNegotiation"` // The Kerberos keytab file containing the entry of the login entity. KeytabPath pulumi.StringPtrInput `pulumi:"keytabPath"` // A valid Kerberos configuration file e.g. /etc/krb5.conf. Krb5confPath pulumi.StringPtrInput `pulumi:"krb5confPath"` // The path where the authentication engine is mounted. Mount pulumi.StringPtrInput `pulumi:"mount"` // The authentication engine's namespace. Conflicts with use_root_namespace Namespace pulumi.StringPtrInput `pulumi:"namespace"` // The Kerberos server's authoritative authentication domain Realm pulumi.StringPtrInput `pulumi:"realm"` // Strip the host from the username found in the keytab. RemoveInstanceName pulumi.BoolPtrInput `pulumi:"removeInstanceName"` // The service principle name. Service pulumi.StringPtrInput `pulumi:"service"` // Simple and Protected GSSAPI Negotiation Mechanism (SPNEGO) token Token pulumi.StringPtrInput `pulumi:"token"` // Authenticate to the root Vault namespace. Conflicts with namespace UseRootNamespace pulumi.BoolPtrInput `pulumi:"useRootNamespace"` // The username to login into Kerberos with. Username pulumi.StringPtrInput `pulumi:"username"` }
func (ProviderAuthLoginKerberosArgs) ElementType ¶
func (ProviderAuthLoginKerberosArgs) ElementType() reflect.Type
func (ProviderAuthLoginKerberosArgs) ToProviderAuthLoginKerberosOutput ¶
func (i ProviderAuthLoginKerberosArgs) ToProviderAuthLoginKerberosOutput() ProviderAuthLoginKerberosOutput
func (ProviderAuthLoginKerberosArgs) ToProviderAuthLoginKerberosOutputWithContext ¶
func (i ProviderAuthLoginKerberosArgs) ToProviderAuthLoginKerberosOutputWithContext(ctx context.Context) ProviderAuthLoginKerberosOutput
func (ProviderAuthLoginKerberosArgs) ToProviderAuthLoginKerberosPtrOutput ¶
func (i ProviderAuthLoginKerberosArgs) ToProviderAuthLoginKerberosPtrOutput() ProviderAuthLoginKerberosPtrOutput
func (ProviderAuthLoginKerberosArgs) ToProviderAuthLoginKerberosPtrOutputWithContext ¶
func (i ProviderAuthLoginKerberosArgs) ToProviderAuthLoginKerberosPtrOutputWithContext(ctx context.Context) ProviderAuthLoginKerberosPtrOutput
type ProviderAuthLoginKerberosInput ¶
type ProviderAuthLoginKerberosInput interface { pulumi.Input ToProviderAuthLoginKerberosOutput() ProviderAuthLoginKerberosOutput ToProviderAuthLoginKerberosOutputWithContext(context.Context) ProviderAuthLoginKerberosOutput }
ProviderAuthLoginKerberosInput is an input type that accepts ProviderAuthLoginKerberosArgs and ProviderAuthLoginKerberosOutput values. You can construct a concrete instance of `ProviderAuthLoginKerberosInput` via:
ProviderAuthLoginKerberosArgs{...}
type ProviderAuthLoginKerberosOutput ¶
type ProviderAuthLoginKerberosOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginKerberosOutput) DisableFastNegotiation ¶
func (o ProviderAuthLoginKerberosOutput) DisableFastNegotiation() pulumi.BoolPtrOutput
Disable the Kerberos FAST negotiation.
func (ProviderAuthLoginKerberosOutput) ElementType ¶
func (ProviderAuthLoginKerberosOutput) ElementType() reflect.Type
func (ProviderAuthLoginKerberosOutput) KeytabPath ¶
func (o ProviderAuthLoginKerberosOutput) KeytabPath() pulumi.StringPtrOutput
The Kerberos keytab file containing the entry of the login entity.
func (ProviderAuthLoginKerberosOutput) Krb5confPath ¶
func (o ProviderAuthLoginKerberosOutput) Krb5confPath() pulumi.StringPtrOutput
A valid Kerberos configuration file e.g. /etc/krb5.conf.
func (ProviderAuthLoginKerberosOutput) Mount ¶
func (o ProviderAuthLoginKerberosOutput) Mount() pulumi.StringPtrOutput
The path where the authentication engine is mounted.
func (ProviderAuthLoginKerberosOutput) Namespace ¶
func (o ProviderAuthLoginKerberosOutput) Namespace() pulumi.StringPtrOutput
The authentication engine's namespace. Conflicts with use_root_namespace
func (ProviderAuthLoginKerberosOutput) Realm ¶
func (o ProviderAuthLoginKerberosOutput) Realm() pulumi.StringPtrOutput
The Kerberos server's authoritative authentication domain
func (ProviderAuthLoginKerberosOutput) RemoveInstanceName ¶
func (o ProviderAuthLoginKerberosOutput) RemoveInstanceName() pulumi.BoolPtrOutput
Strip the host from the username found in the keytab.
func (ProviderAuthLoginKerberosOutput) Service ¶
func (o ProviderAuthLoginKerberosOutput) Service() pulumi.StringPtrOutput
The service principle name.
func (ProviderAuthLoginKerberosOutput) ToProviderAuthLoginKerberosOutput ¶
func (o ProviderAuthLoginKerberosOutput) ToProviderAuthLoginKerberosOutput() ProviderAuthLoginKerberosOutput
func (ProviderAuthLoginKerberosOutput) ToProviderAuthLoginKerberosOutputWithContext ¶
func (o ProviderAuthLoginKerberosOutput) ToProviderAuthLoginKerberosOutputWithContext(ctx context.Context) ProviderAuthLoginKerberosOutput
func (ProviderAuthLoginKerberosOutput) ToProviderAuthLoginKerberosPtrOutput ¶
func (o ProviderAuthLoginKerberosOutput) ToProviderAuthLoginKerberosPtrOutput() ProviderAuthLoginKerberosPtrOutput
func (ProviderAuthLoginKerberosOutput) ToProviderAuthLoginKerberosPtrOutputWithContext ¶
func (o ProviderAuthLoginKerberosOutput) ToProviderAuthLoginKerberosPtrOutputWithContext(ctx context.Context) ProviderAuthLoginKerberosPtrOutput
func (ProviderAuthLoginKerberosOutput) Token ¶
func (o ProviderAuthLoginKerberosOutput) Token() pulumi.StringPtrOutput
Simple and Protected GSSAPI Negotiation Mechanism (SPNEGO) token
func (ProviderAuthLoginKerberosOutput) UseRootNamespace ¶
func (o ProviderAuthLoginKerberosOutput) UseRootNamespace() pulumi.BoolPtrOutput
Authenticate to the root Vault namespace. Conflicts with namespace
func (ProviderAuthLoginKerberosOutput) Username ¶
func (o ProviderAuthLoginKerberosOutput) Username() pulumi.StringPtrOutput
The username to login into Kerberos with.
type ProviderAuthLoginKerberosPtrInput ¶
type ProviderAuthLoginKerberosPtrInput interface { pulumi.Input ToProviderAuthLoginKerberosPtrOutput() ProviderAuthLoginKerberosPtrOutput ToProviderAuthLoginKerberosPtrOutputWithContext(context.Context) ProviderAuthLoginKerberosPtrOutput }
ProviderAuthLoginKerberosPtrInput is an input type that accepts ProviderAuthLoginKerberosArgs, ProviderAuthLoginKerberosPtr and ProviderAuthLoginKerberosPtrOutput values. You can construct a concrete instance of `ProviderAuthLoginKerberosPtrInput` via:
ProviderAuthLoginKerberosArgs{...} or: nil
func ProviderAuthLoginKerberosPtr ¶
func ProviderAuthLoginKerberosPtr(v *ProviderAuthLoginKerberosArgs) ProviderAuthLoginKerberosPtrInput
type ProviderAuthLoginKerberosPtrOutput ¶
type ProviderAuthLoginKerberosPtrOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginKerberosPtrOutput) DisableFastNegotiation ¶
func (o ProviderAuthLoginKerberosPtrOutput) DisableFastNegotiation() pulumi.BoolPtrOutput
Disable the Kerberos FAST negotiation.
func (ProviderAuthLoginKerberosPtrOutput) Elem ¶
func (o ProviderAuthLoginKerberosPtrOutput) Elem() ProviderAuthLoginKerberosOutput
func (ProviderAuthLoginKerberosPtrOutput) ElementType ¶
func (ProviderAuthLoginKerberosPtrOutput) ElementType() reflect.Type
func (ProviderAuthLoginKerberosPtrOutput) KeytabPath ¶
func (o ProviderAuthLoginKerberosPtrOutput) KeytabPath() pulumi.StringPtrOutput
The Kerberos keytab file containing the entry of the login entity.
func (ProviderAuthLoginKerberosPtrOutput) Krb5confPath ¶
func (o ProviderAuthLoginKerberosPtrOutput) Krb5confPath() pulumi.StringPtrOutput
A valid Kerberos configuration file e.g. /etc/krb5.conf.
func (ProviderAuthLoginKerberosPtrOutput) Mount ¶
func (o ProviderAuthLoginKerberosPtrOutput) Mount() pulumi.StringPtrOutput
The path where the authentication engine is mounted.
func (ProviderAuthLoginKerberosPtrOutput) Namespace ¶
func (o ProviderAuthLoginKerberosPtrOutput) Namespace() pulumi.StringPtrOutput
The authentication engine's namespace. Conflicts with use_root_namespace
func (ProviderAuthLoginKerberosPtrOutput) Realm ¶
func (o ProviderAuthLoginKerberosPtrOutput) Realm() pulumi.StringPtrOutput
The Kerberos server's authoritative authentication domain
func (ProviderAuthLoginKerberosPtrOutput) RemoveInstanceName ¶
func (o ProviderAuthLoginKerberosPtrOutput) RemoveInstanceName() pulumi.BoolPtrOutput
Strip the host from the username found in the keytab.
func (ProviderAuthLoginKerberosPtrOutput) Service ¶
func (o ProviderAuthLoginKerberosPtrOutput) Service() pulumi.StringPtrOutput
The service principle name.
func (ProviderAuthLoginKerberosPtrOutput) ToProviderAuthLoginKerberosPtrOutput ¶
func (o ProviderAuthLoginKerberosPtrOutput) ToProviderAuthLoginKerberosPtrOutput() ProviderAuthLoginKerberosPtrOutput
func (ProviderAuthLoginKerberosPtrOutput) ToProviderAuthLoginKerberosPtrOutputWithContext ¶
func (o ProviderAuthLoginKerberosPtrOutput) ToProviderAuthLoginKerberosPtrOutputWithContext(ctx context.Context) ProviderAuthLoginKerberosPtrOutput
func (ProviderAuthLoginKerberosPtrOutput) Token ¶
func (o ProviderAuthLoginKerberosPtrOutput) Token() pulumi.StringPtrOutput
Simple and Protected GSSAPI Negotiation Mechanism (SPNEGO) token
func (ProviderAuthLoginKerberosPtrOutput) UseRootNamespace ¶
func (o ProviderAuthLoginKerberosPtrOutput) UseRootNamespace() pulumi.BoolPtrOutput
Authenticate to the root Vault namespace. Conflicts with namespace
func (ProviderAuthLoginKerberosPtrOutput) Username ¶
func (o ProviderAuthLoginKerberosPtrOutput) Username() pulumi.StringPtrOutput
The username to login into Kerberos with.
type ProviderAuthLoginOci ¶
type ProviderAuthLoginOci struct { // Authentication type to use when getting OCI credentials. AuthType string `pulumi:"authType"` // The path where the authentication engine is mounted. Mount *string `pulumi:"mount"` // The authentication engine's namespace. Conflicts with use_root_namespace Namespace *string `pulumi:"namespace"` // Name of the login role. Role string `pulumi:"role"` // Authenticate to the root Vault namespace. Conflicts with namespace UseRootNamespace *bool `pulumi:"useRootNamespace"` }
type ProviderAuthLoginOciArgs ¶
type ProviderAuthLoginOciArgs struct { // Authentication type to use when getting OCI credentials. AuthType pulumi.StringInput `pulumi:"authType"` // The path where the authentication engine is mounted. Mount pulumi.StringPtrInput `pulumi:"mount"` // The authentication engine's namespace. Conflicts with use_root_namespace Namespace pulumi.StringPtrInput `pulumi:"namespace"` // Name of the login role. Role pulumi.StringInput `pulumi:"role"` // Authenticate to the root Vault namespace. Conflicts with namespace UseRootNamespace pulumi.BoolPtrInput `pulumi:"useRootNamespace"` }
func (ProviderAuthLoginOciArgs) ElementType ¶
func (ProviderAuthLoginOciArgs) ElementType() reflect.Type
func (ProviderAuthLoginOciArgs) ToProviderAuthLoginOciOutput ¶
func (i ProviderAuthLoginOciArgs) ToProviderAuthLoginOciOutput() ProviderAuthLoginOciOutput
func (ProviderAuthLoginOciArgs) ToProviderAuthLoginOciOutputWithContext ¶
func (i ProviderAuthLoginOciArgs) ToProviderAuthLoginOciOutputWithContext(ctx context.Context) ProviderAuthLoginOciOutput
func (ProviderAuthLoginOciArgs) ToProviderAuthLoginOciPtrOutput ¶
func (i ProviderAuthLoginOciArgs) ToProviderAuthLoginOciPtrOutput() ProviderAuthLoginOciPtrOutput
func (ProviderAuthLoginOciArgs) ToProviderAuthLoginOciPtrOutputWithContext ¶
func (i ProviderAuthLoginOciArgs) ToProviderAuthLoginOciPtrOutputWithContext(ctx context.Context) ProviderAuthLoginOciPtrOutput
type ProviderAuthLoginOciInput ¶
type ProviderAuthLoginOciInput interface { pulumi.Input ToProviderAuthLoginOciOutput() ProviderAuthLoginOciOutput ToProviderAuthLoginOciOutputWithContext(context.Context) ProviderAuthLoginOciOutput }
ProviderAuthLoginOciInput is an input type that accepts ProviderAuthLoginOciArgs and ProviderAuthLoginOciOutput values. You can construct a concrete instance of `ProviderAuthLoginOciInput` via:
ProviderAuthLoginOciArgs{...}
type ProviderAuthLoginOciOutput ¶
type ProviderAuthLoginOciOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginOciOutput) AuthType ¶
func (o ProviderAuthLoginOciOutput) AuthType() pulumi.StringOutput
Authentication type to use when getting OCI credentials.
func (ProviderAuthLoginOciOutput) ElementType ¶
func (ProviderAuthLoginOciOutput) ElementType() reflect.Type
func (ProviderAuthLoginOciOutput) Mount ¶
func (o ProviderAuthLoginOciOutput) Mount() pulumi.StringPtrOutput
The path where the authentication engine is mounted.
func (ProviderAuthLoginOciOutput) Namespace ¶
func (o ProviderAuthLoginOciOutput) Namespace() pulumi.StringPtrOutput
The authentication engine's namespace. Conflicts with use_root_namespace
func (ProviderAuthLoginOciOutput) Role ¶
func (o ProviderAuthLoginOciOutput) Role() pulumi.StringOutput
Name of the login role.
func (ProviderAuthLoginOciOutput) ToProviderAuthLoginOciOutput ¶
func (o ProviderAuthLoginOciOutput) ToProviderAuthLoginOciOutput() ProviderAuthLoginOciOutput
func (ProviderAuthLoginOciOutput) ToProviderAuthLoginOciOutputWithContext ¶
func (o ProviderAuthLoginOciOutput) ToProviderAuthLoginOciOutputWithContext(ctx context.Context) ProviderAuthLoginOciOutput
func (ProviderAuthLoginOciOutput) ToProviderAuthLoginOciPtrOutput ¶
func (o ProviderAuthLoginOciOutput) ToProviderAuthLoginOciPtrOutput() ProviderAuthLoginOciPtrOutput
func (ProviderAuthLoginOciOutput) ToProviderAuthLoginOciPtrOutputWithContext ¶
func (o ProviderAuthLoginOciOutput) ToProviderAuthLoginOciPtrOutputWithContext(ctx context.Context) ProviderAuthLoginOciPtrOutput
func (ProviderAuthLoginOciOutput) UseRootNamespace ¶
func (o ProviderAuthLoginOciOutput) UseRootNamespace() pulumi.BoolPtrOutput
Authenticate to the root Vault namespace. Conflicts with namespace
type ProviderAuthLoginOciPtrInput ¶
type ProviderAuthLoginOciPtrInput interface { pulumi.Input ToProviderAuthLoginOciPtrOutput() ProviderAuthLoginOciPtrOutput ToProviderAuthLoginOciPtrOutputWithContext(context.Context) ProviderAuthLoginOciPtrOutput }
ProviderAuthLoginOciPtrInput is an input type that accepts ProviderAuthLoginOciArgs, ProviderAuthLoginOciPtr and ProviderAuthLoginOciPtrOutput values. You can construct a concrete instance of `ProviderAuthLoginOciPtrInput` via:
ProviderAuthLoginOciArgs{...} or: nil
func ProviderAuthLoginOciPtr ¶
func ProviderAuthLoginOciPtr(v *ProviderAuthLoginOciArgs) ProviderAuthLoginOciPtrInput
type ProviderAuthLoginOciPtrOutput ¶
type ProviderAuthLoginOciPtrOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginOciPtrOutput) AuthType ¶
func (o ProviderAuthLoginOciPtrOutput) AuthType() pulumi.StringPtrOutput
Authentication type to use when getting OCI credentials.
func (ProviderAuthLoginOciPtrOutput) Elem ¶
func (o ProviderAuthLoginOciPtrOutput) Elem() ProviderAuthLoginOciOutput
func (ProviderAuthLoginOciPtrOutput) ElementType ¶
func (ProviderAuthLoginOciPtrOutput) ElementType() reflect.Type
func (ProviderAuthLoginOciPtrOutput) Mount ¶
func (o ProviderAuthLoginOciPtrOutput) Mount() pulumi.StringPtrOutput
The path where the authentication engine is mounted.
func (ProviderAuthLoginOciPtrOutput) Namespace ¶
func (o ProviderAuthLoginOciPtrOutput) Namespace() pulumi.StringPtrOutput
The authentication engine's namespace. Conflicts with use_root_namespace
func (ProviderAuthLoginOciPtrOutput) Role ¶
func (o ProviderAuthLoginOciPtrOutput) Role() pulumi.StringPtrOutput
Name of the login role.
func (ProviderAuthLoginOciPtrOutput) ToProviderAuthLoginOciPtrOutput ¶
func (o ProviderAuthLoginOciPtrOutput) ToProviderAuthLoginOciPtrOutput() ProviderAuthLoginOciPtrOutput
func (ProviderAuthLoginOciPtrOutput) ToProviderAuthLoginOciPtrOutputWithContext ¶
func (o ProviderAuthLoginOciPtrOutput) ToProviderAuthLoginOciPtrOutputWithContext(ctx context.Context) ProviderAuthLoginOciPtrOutput
func (ProviderAuthLoginOciPtrOutput) UseRootNamespace ¶
func (o ProviderAuthLoginOciPtrOutput) UseRootNamespace() pulumi.BoolPtrOutput
Authenticate to the root Vault namespace. Conflicts with namespace
type ProviderAuthLoginOidc ¶
type ProviderAuthLoginOidc struct { // The callback address. Must be a valid URI without the path. CallbackAddress *string `pulumi:"callbackAddress"` // The callback listener's address. Must be a valid URI without the path. CallbackListenerAddress *string `pulumi:"callbackListenerAddress"` // The path where the authentication engine is mounted. Mount *string `pulumi:"mount"` // The authentication engine's namespace. Conflicts with use_root_namespace Namespace *string `pulumi:"namespace"` // Name of the login role. Role string `pulumi:"role"` // Authenticate to the root Vault namespace. Conflicts with namespace UseRootNamespace *bool `pulumi:"useRootNamespace"` }
type ProviderAuthLoginOidcArgs ¶
type ProviderAuthLoginOidcArgs struct { // The callback address. Must be a valid URI without the path. CallbackAddress pulumi.StringPtrInput `pulumi:"callbackAddress"` // The callback listener's address. Must be a valid URI without the path. CallbackListenerAddress pulumi.StringPtrInput `pulumi:"callbackListenerAddress"` // The path where the authentication engine is mounted. Mount pulumi.StringPtrInput `pulumi:"mount"` // The authentication engine's namespace. Conflicts with use_root_namespace Namespace pulumi.StringPtrInput `pulumi:"namespace"` // Name of the login role. Role pulumi.StringInput `pulumi:"role"` // Authenticate to the root Vault namespace. Conflicts with namespace UseRootNamespace pulumi.BoolPtrInput `pulumi:"useRootNamespace"` }
func (ProviderAuthLoginOidcArgs) ElementType ¶
func (ProviderAuthLoginOidcArgs) ElementType() reflect.Type
func (ProviderAuthLoginOidcArgs) ToProviderAuthLoginOidcOutput ¶
func (i ProviderAuthLoginOidcArgs) ToProviderAuthLoginOidcOutput() ProviderAuthLoginOidcOutput
func (ProviderAuthLoginOidcArgs) ToProviderAuthLoginOidcOutputWithContext ¶
func (i ProviderAuthLoginOidcArgs) ToProviderAuthLoginOidcOutputWithContext(ctx context.Context) ProviderAuthLoginOidcOutput
func (ProviderAuthLoginOidcArgs) ToProviderAuthLoginOidcPtrOutput ¶
func (i ProviderAuthLoginOidcArgs) ToProviderAuthLoginOidcPtrOutput() ProviderAuthLoginOidcPtrOutput
func (ProviderAuthLoginOidcArgs) ToProviderAuthLoginOidcPtrOutputWithContext ¶
func (i ProviderAuthLoginOidcArgs) ToProviderAuthLoginOidcPtrOutputWithContext(ctx context.Context) ProviderAuthLoginOidcPtrOutput
type ProviderAuthLoginOidcInput ¶
type ProviderAuthLoginOidcInput interface { pulumi.Input ToProviderAuthLoginOidcOutput() ProviderAuthLoginOidcOutput ToProviderAuthLoginOidcOutputWithContext(context.Context) ProviderAuthLoginOidcOutput }
ProviderAuthLoginOidcInput is an input type that accepts ProviderAuthLoginOidcArgs and ProviderAuthLoginOidcOutput values. You can construct a concrete instance of `ProviderAuthLoginOidcInput` via:
ProviderAuthLoginOidcArgs{...}
type ProviderAuthLoginOidcOutput ¶
type ProviderAuthLoginOidcOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginOidcOutput) CallbackAddress ¶
func (o ProviderAuthLoginOidcOutput) CallbackAddress() pulumi.StringPtrOutput
The callback address. Must be a valid URI without the path.
func (ProviderAuthLoginOidcOutput) CallbackListenerAddress ¶
func (o ProviderAuthLoginOidcOutput) CallbackListenerAddress() pulumi.StringPtrOutput
The callback listener's address. Must be a valid URI without the path.
func (ProviderAuthLoginOidcOutput) ElementType ¶
func (ProviderAuthLoginOidcOutput) ElementType() reflect.Type
func (ProviderAuthLoginOidcOutput) Mount ¶
func (o ProviderAuthLoginOidcOutput) Mount() pulumi.StringPtrOutput
The path where the authentication engine is mounted.
func (ProviderAuthLoginOidcOutput) Namespace ¶
func (o ProviderAuthLoginOidcOutput) Namespace() pulumi.StringPtrOutput
The authentication engine's namespace. Conflicts with use_root_namespace
func (ProviderAuthLoginOidcOutput) Role ¶
func (o ProviderAuthLoginOidcOutput) Role() pulumi.StringOutput
Name of the login role.
func (ProviderAuthLoginOidcOutput) ToProviderAuthLoginOidcOutput ¶
func (o ProviderAuthLoginOidcOutput) ToProviderAuthLoginOidcOutput() ProviderAuthLoginOidcOutput
func (ProviderAuthLoginOidcOutput) ToProviderAuthLoginOidcOutputWithContext ¶
func (o ProviderAuthLoginOidcOutput) ToProviderAuthLoginOidcOutputWithContext(ctx context.Context) ProviderAuthLoginOidcOutput
func (ProviderAuthLoginOidcOutput) ToProviderAuthLoginOidcPtrOutput ¶
func (o ProviderAuthLoginOidcOutput) ToProviderAuthLoginOidcPtrOutput() ProviderAuthLoginOidcPtrOutput
func (ProviderAuthLoginOidcOutput) ToProviderAuthLoginOidcPtrOutputWithContext ¶
func (o ProviderAuthLoginOidcOutput) ToProviderAuthLoginOidcPtrOutputWithContext(ctx context.Context) ProviderAuthLoginOidcPtrOutput
func (ProviderAuthLoginOidcOutput) UseRootNamespace ¶
func (o ProviderAuthLoginOidcOutput) UseRootNamespace() pulumi.BoolPtrOutput
Authenticate to the root Vault namespace. Conflicts with namespace
type ProviderAuthLoginOidcPtrInput ¶
type ProviderAuthLoginOidcPtrInput interface { pulumi.Input ToProviderAuthLoginOidcPtrOutput() ProviderAuthLoginOidcPtrOutput ToProviderAuthLoginOidcPtrOutputWithContext(context.Context) ProviderAuthLoginOidcPtrOutput }
ProviderAuthLoginOidcPtrInput is an input type that accepts ProviderAuthLoginOidcArgs, ProviderAuthLoginOidcPtr and ProviderAuthLoginOidcPtrOutput values. You can construct a concrete instance of `ProviderAuthLoginOidcPtrInput` via:
ProviderAuthLoginOidcArgs{...} or: nil
func ProviderAuthLoginOidcPtr ¶
func ProviderAuthLoginOidcPtr(v *ProviderAuthLoginOidcArgs) ProviderAuthLoginOidcPtrInput
type ProviderAuthLoginOidcPtrOutput ¶
type ProviderAuthLoginOidcPtrOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginOidcPtrOutput) CallbackAddress ¶
func (o ProviderAuthLoginOidcPtrOutput) CallbackAddress() pulumi.StringPtrOutput
The callback address. Must be a valid URI without the path.
func (ProviderAuthLoginOidcPtrOutput) CallbackListenerAddress ¶
func (o ProviderAuthLoginOidcPtrOutput) CallbackListenerAddress() pulumi.StringPtrOutput
The callback listener's address. Must be a valid URI without the path.
func (ProviderAuthLoginOidcPtrOutput) Elem ¶
func (o ProviderAuthLoginOidcPtrOutput) Elem() ProviderAuthLoginOidcOutput
func (ProviderAuthLoginOidcPtrOutput) ElementType ¶
func (ProviderAuthLoginOidcPtrOutput) ElementType() reflect.Type
func (ProviderAuthLoginOidcPtrOutput) Mount ¶
func (o ProviderAuthLoginOidcPtrOutput) Mount() pulumi.StringPtrOutput
The path where the authentication engine is mounted.
func (ProviderAuthLoginOidcPtrOutput) Namespace ¶
func (o ProviderAuthLoginOidcPtrOutput) Namespace() pulumi.StringPtrOutput
The authentication engine's namespace. Conflicts with use_root_namespace
func (ProviderAuthLoginOidcPtrOutput) Role ¶
func (o ProviderAuthLoginOidcPtrOutput) Role() pulumi.StringPtrOutput
Name of the login role.
func (ProviderAuthLoginOidcPtrOutput) ToProviderAuthLoginOidcPtrOutput ¶
func (o ProviderAuthLoginOidcPtrOutput) ToProviderAuthLoginOidcPtrOutput() ProviderAuthLoginOidcPtrOutput
func (ProviderAuthLoginOidcPtrOutput) ToProviderAuthLoginOidcPtrOutputWithContext ¶
func (o ProviderAuthLoginOidcPtrOutput) ToProviderAuthLoginOidcPtrOutputWithContext(ctx context.Context) ProviderAuthLoginOidcPtrOutput
func (ProviderAuthLoginOidcPtrOutput) UseRootNamespace ¶
func (o ProviderAuthLoginOidcPtrOutput) UseRootNamespace() pulumi.BoolPtrOutput
Authenticate to the root Vault namespace. Conflicts with namespace
type ProviderAuthLoginOutput ¶
type ProviderAuthLoginOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginOutput) ElementType ¶
func (ProviderAuthLoginOutput) ElementType() reflect.Type
func (ProviderAuthLoginOutput) Method ¶
func (o ProviderAuthLoginOutput) Method() pulumi.StringPtrOutput
func (ProviderAuthLoginOutput) Namespace ¶
func (o ProviderAuthLoginOutput) Namespace() pulumi.StringPtrOutput
The authentication engine's namespace. Conflicts with use_root_namespace
func (ProviderAuthLoginOutput) Parameters ¶
func (o ProviderAuthLoginOutput) Parameters() pulumi.StringMapOutput
func (ProviderAuthLoginOutput) Path ¶
func (o ProviderAuthLoginOutput) Path() pulumi.StringOutput
func (ProviderAuthLoginOutput) ToProviderAuthLoginOutput ¶
func (o ProviderAuthLoginOutput) ToProviderAuthLoginOutput() ProviderAuthLoginOutput
func (ProviderAuthLoginOutput) ToProviderAuthLoginOutputWithContext ¶
func (o ProviderAuthLoginOutput) ToProviderAuthLoginOutputWithContext(ctx context.Context) ProviderAuthLoginOutput
func (ProviderAuthLoginOutput) ToProviderAuthLoginPtrOutput ¶
func (o ProviderAuthLoginOutput) ToProviderAuthLoginPtrOutput() ProviderAuthLoginPtrOutput
func (ProviderAuthLoginOutput) ToProviderAuthLoginPtrOutputWithContext ¶
func (o ProviderAuthLoginOutput) ToProviderAuthLoginPtrOutputWithContext(ctx context.Context) ProviderAuthLoginPtrOutput
func (ProviderAuthLoginOutput) UseRootNamespace ¶
func (o ProviderAuthLoginOutput) UseRootNamespace() pulumi.BoolPtrOutput
Authenticate to the root Vault namespace. Conflicts with namespace
type ProviderAuthLoginPtrInput ¶
type ProviderAuthLoginPtrInput interface { pulumi.Input ToProviderAuthLoginPtrOutput() ProviderAuthLoginPtrOutput ToProviderAuthLoginPtrOutputWithContext(context.Context) ProviderAuthLoginPtrOutput }
ProviderAuthLoginPtrInput is an input type that accepts ProviderAuthLoginArgs, ProviderAuthLoginPtr and ProviderAuthLoginPtrOutput values. You can construct a concrete instance of `ProviderAuthLoginPtrInput` via:
ProviderAuthLoginArgs{...} or: nil
func ProviderAuthLoginPtr ¶
func ProviderAuthLoginPtr(v *ProviderAuthLoginArgs) ProviderAuthLoginPtrInput
type ProviderAuthLoginPtrOutput ¶
type ProviderAuthLoginPtrOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginPtrOutput) Elem ¶
func (o ProviderAuthLoginPtrOutput) Elem() ProviderAuthLoginOutput
func (ProviderAuthLoginPtrOutput) ElementType ¶
func (ProviderAuthLoginPtrOutput) ElementType() reflect.Type
func (ProviderAuthLoginPtrOutput) Method ¶
func (o ProviderAuthLoginPtrOutput) Method() pulumi.StringPtrOutput
func (ProviderAuthLoginPtrOutput) Namespace ¶
func (o ProviderAuthLoginPtrOutput) Namespace() pulumi.StringPtrOutput
The authentication engine's namespace. Conflicts with use_root_namespace
func (ProviderAuthLoginPtrOutput) Parameters ¶
func (o ProviderAuthLoginPtrOutput) Parameters() pulumi.StringMapOutput
func (ProviderAuthLoginPtrOutput) Path ¶
func (o ProviderAuthLoginPtrOutput) Path() pulumi.StringPtrOutput
func (ProviderAuthLoginPtrOutput) ToProviderAuthLoginPtrOutput ¶
func (o ProviderAuthLoginPtrOutput) ToProviderAuthLoginPtrOutput() ProviderAuthLoginPtrOutput
func (ProviderAuthLoginPtrOutput) ToProviderAuthLoginPtrOutputWithContext ¶
func (o ProviderAuthLoginPtrOutput) ToProviderAuthLoginPtrOutputWithContext(ctx context.Context) ProviderAuthLoginPtrOutput
func (ProviderAuthLoginPtrOutput) UseRootNamespace ¶
func (o ProviderAuthLoginPtrOutput) UseRootNamespace() pulumi.BoolPtrOutput
Authenticate to the root Vault namespace. Conflicts with namespace
type ProviderAuthLoginRadius ¶
type ProviderAuthLoginRadius struct { // The path where the authentication engine is mounted. Mount *string `pulumi:"mount"` // The authentication engine's namespace. Conflicts with use_root_namespace Namespace *string `pulumi:"namespace"` // The Radius password for username. Password string `pulumi:"password"` // Authenticate to the root Vault namespace. Conflicts with namespace UseRootNamespace *bool `pulumi:"useRootNamespace"` // The Radius username. Username string `pulumi:"username"` }
type ProviderAuthLoginRadiusArgs ¶
type ProviderAuthLoginRadiusArgs struct { // The path where the authentication engine is mounted. Mount pulumi.StringPtrInput `pulumi:"mount"` // The authentication engine's namespace. Conflicts with use_root_namespace Namespace pulumi.StringPtrInput `pulumi:"namespace"` // The Radius password for username. Password pulumi.StringInput `pulumi:"password"` // Authenticate to the root Vault namespace. Conflicts with namespace UseRootNamespace pulumi.BoolPtrInput `pulumi:"useRootNamespace"` // The Radius username. Username pulumi.StringInput `pulumi:"username"` }
func (ProviderAuthLoginRadiusArgs) ElementType ¶
func (ProviderAuthLoginRadiusArgs) ElementType() reflect.Type
func (ProviderAuthLoginRadiusArgs) ToProviderAuthLoginRadiusOutput ¶
func (i ProviderAuthLoginRadiusArgs) ToProviderAuthLoginRadiusOutput() ProviderAuthLoginRadiusOutput
func (ProviderAuthLoginRadiusArgs) ToProviderAuthLoginRadiusOutputWithContext ¶
func (i ProviderAuthLoginRadiusArgs) ToProviderAuthLoginRadiusOutputWithContext(ctx context.Context) ProviderAuthLoginRadiusOutput
func (ProviderAuthLoginRadiusArgs) ToProviderAuthLoginRadiusPtrOutput ¶
func (i ProviderAuthLoginRadiusArgs) ToProviderAuthLoginRadiusPtrOutput() ProviderAuthLoginRadiusPtrOutput
func (ProviderAuthLoginRadiusArgs) ToProviderAuthLoginRadiusPtrOutputWithContext ¶
func (i ProviderAuthLoginRadiusArgs) ToProviderAuthLoginRadiusPtrOutputWithContext(ctx context.Context) ProviderAuthLoginRadiusPtrOutput
type ProviderAuthLoginRadiusInput ¶
type ProviderAuthLoginRadiusInput interface { pulumi.Input ToProviderAuthLoginRadiusOutput() ProviderAuthLoginRadiusOutput ToProviderAuthLoginRadiusOutputWithContext(context.Context) ProviderAuthLoginRadiusOutput }
ProviderAuthLoginRadiusInput is an input type that accepts ProviderAuthLoginRadiusArgs and ProviderAuthLoginRadiusOutput values. You can construct a concrete instance of `ProviderAuthLoginRadiusInput` via:
ProviderAuthLoginRadiusArgs{...}
type ProviderAuthLoginRadiusOutput ¶
type ProviderAuthLoginRadiusOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginRadiusOutput) ElementType ¶
func (ProviderAuthLoginRadiusOutput) ElementType() reflect.Type
func (ProviderAuthLoginRadiusOutput) Mount ¶
func (o ProviderAuthLoginRadiusOutput) Mount() pulumi.StringPtrOutput
The path where the authentication engine is mounted.
func (ProviderAuthLoginRadiusOutput) Namespace ¶
func (o ProviderAuthLoginRadiusOutput) Namespace() pulumi.StringPtrOutput
The authentication engine's namespace. Conflicts with use_root_namespace
func (ProviderAuthLoginRadiusOutput) Password ¶
func (o ProviderAuthLoginRadiusOutput) Password() pulumi.StringOutput
The Radius password for username.
func (ProviderAuthLoginRadiusOutput) ToProviderAuthLoginRadiusOutput ¶
func (o ProviderAuthLoginRadiusOutput) ToProviderAuthLoginRadiusOutput() ProviderAuthLoginRadiusOutput
func (ProviderAuthLoginRadiusOutput) ToProviderAuthLoginRadiusOutputWithContext ¶
func (o ProviderAuthLoginRadiusOutput) ToProviderAuthLoginRadiusOutputWithContext(ctx context.Context) ProviderAuthLoginRadiusOutput
func (ProviderAuthLoginRadiusOutput) ToProviderAuthLoginRadiusPtrOutput ¶
func (o ProviderAuthLoginRadiusOutput) ToProviderAuthLoginRadiusPtrOutput() ProviderAuthLoginRadiusPtrOutput
func (ProviderAuthLoginRadiusOutput) ToProviderAuthLoginRadiusPtrOutputWithContext ¶
func (o ProviderAuthLoginRadiusOutput) ToProviderAuthLoginRadiusPtrOutputWithContext(ctx context.Context) ProviderAuthLoginRadiusPtrOutput
func (ProviderAuthLoginRadiusOutput) UseRootNamespace ¶
func (o ProviderAuthLoginRadiusOutput) UseRootNamespace() pulumi.BoolPtrOutput
Authenticate to the root Vault namespace. Conflicts with namespace
func (ProviderAuthLoginRadiusOutput) Username ¶
func (o ProviderAuthLoginRadiusOutput) Username() pulumi.StringOutput
The Radius username.
type ProviderAuthLoginRadiusPtrInput ¶
type ProviderAuthLoginRadiusPtrInput interface { pulumi.Input ToProviderAuthLoginRadiusPtrOutput() ProviderAuthLoginRadiusPtrOutput ToProviderAuthLoginRadiusPtrOutputWithContext(context.Context) ProviderAuthLoginRadiusPtrOutput }
ProviderAuthLoginRadiusPtrInput is an input type that accepts ProviderAuthLoginRadiusArgs, ProviderAuthLoginRadiusPtr and ProviderAuthLoginRadiusPtrOutput values. You can construct a concrete instance of `ProviderAuthLoginRadiusPtrInput` via:
ProviderAuthLoginRadiusArgs{...} or: nil
func ProviderAuthLoginRadiusPtr ¶
func ProviderAuthLoginRadiusPtr(v *ProviderAuthLoginRadiusArgs) ProviderAuthLoginRadiusPtrInput
type ProviderAuthLoginRadiusPtrOutput ¶
type ProviderAuthLoginRadiusPtrOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginRadiusPtrOutput) Elem ¶
func (o ProviderAuthLoginRadiusPtrOutput) Elem() ProviderAuthLoginRadiusOutput
func (ProviderAuthLoginRadiusPtrOutput) ElementType ¶
func (ProviderAuthLoginRadiusPtrOutput) ElementType() reflect.Type
func (ProviderAuthLoginRadiusPtrOutput) Mount ¶
func (o ProviderAuthLoginRadiusPtrOutput) Mount() pulumi.StringPtrOutput
The path where the authentication engine is mounted.
func (ProviderAuthLoginRadiusPtrOutput) Namespace ¶
func (o ProviderAuthLoginRadiusPtrOutput) Namespace() pulumi.StringPtrOutput
The authentication engine's namespace. Conflicts with use_root_namespace
func (ProviderAuthLoginRadiusPtrOutput) Password ¶
func (o ProviderAuthLoginRadiusPtrOutput) Password() pulumi.StringPtrOutput
The Radius password for username.
func (ProviderAuthLoginRadiusPtrOutput) ToProviderAuthLoginRadiusPtrOutput ¶
func (o ProviderAuthLoginRadiusPtrOutput) ToProviderAuthLoginRadiusPtrOutput() ProviderAuthLoginRadiusPtrOutput
func (ProviderAuthLoginRadiusPtrOutput) ToProviderAuthLoginRadiusPtrOutputWithContext ¶
func (o ProviderAuthLoginRadiusPtrOutput) ToProviderAuthLoginRadiusPtrOutputWithContext(ctx context.Context) ProviderAuthLoginRadiusPtrOutput
func (ProviderAuthLoginRadiusPtrOutput) UseRootNamespace ¶
func (o ProviderAuthLoginRadiusPtrOutput) UseRootNamespace() pulumi.BoolPtrOutput
Authenticate to the root Vault namespace. Conflicts with namespace
func (ProviderAuthLoginRadiusPtrOutput) Username ¶
func (o ProviderAuthLoginRadiusPtrOutput) Username() pulumi.StringPtrOutput
The Radius username.
type ProviderAuthLoginTokenFile ¶
type ProviderAuthLoginTokenFile struct { // The name of a file containing a single line that is a valid Vault token Filename string `pulumi:"filename"` // The authentication engine's namespace. Conflicts with use_root_namespace Namespace *string `pulumi:"namespace"` // Authenticate to the root Vault namespace. Conflicts with namespace UseRootNamespace *bool `pulumi:"useRootNamespace"` }
type ProviderAuthLoginTokenFileArgs ¶
type ProviderAuthLoginTokenFileArgs struct { // The name of a file containing a single line that is a valid Vault token Filename pulumi.StringInput `pulumi:"filename"` // The authentication engine's namespace. Conflicts with use_root_namespace Namespace pulumi.StringPtrInput `pulumi:"namespace"` // Authenticate to the root Vault namespace. Conflicts with namespace UseRootNamespace pulumi.BoolPtrInput `pulumi:"useRootNamespace"` }
func (ProviderAuthLoginTokenFileArgs) ElementType ¶
func (ProviderAuthLoginTokenFileArgs) ElementType() reflect.Type
func (ProviderAuthLoginTokenFileArgs) ToProviderAuthLoginTokenFileOutput ¶
func (i ProviderAuthLoginTokenFileArgs) ToProviderAuthLoginTokenFileOutput() ProviderAuthLoginTokenFileOutput
func (ProviderAuthLoginTokenFileArgs) ToProviderAuthLoginTokenFileOutputWithContext ¶
func (i ProviderAuthLoginTokenFileArgs) ToProviderAuthLoginTokenFileOutputWithContext(ctx context.Context) ProviderAuthLoginTokenFileOutput
func (ProviderAuthLoginTokenFileArgs) ToProviderAuthLoginTokenFilePtrOutput ¶
func (i ProviderAuthLoginTokenFileArgs) ToProviderAuthLoginTokenFilePtrOutput() ProviderAuthLoginTokenFilePtrOutput
func (ProviderAuthLoginTokenFileArgs) ToProviderAuthLoginTokenFilePtrOutputWithContext ¶
func (i ProviderAuthLoginTokenFileArgs) ToProviderAuthLoginTokenFilePtrOutputWithContext(ctx context.Context) ProviderAuthLoginTokenFilePtrOutput
type ProviderAuthLoginTokenFileInput ¶
type ProviderAuthLoginTokenFileInput interface { pulumi.Input ToProviderAuthLoginTokenFileOutput() ProviderAuthLoginTokenFileOutput ToProviderAuthLoginTokenFileOutputWithContext(context.Context) ProviderAuthLoginTokenFileOutput }
ProviderAuthLoginTokenFileInput is an input type that accepts ProviderAuthLoginTokenFileArgs and ProviderAuthLoginTokenFileOutput values. You can construct a concrete instance of `ProviderAuthLoginTokenFileInput` via:
ProviderAuthLoginTokenFileArgs{...}
type ProviderAuthLoginTokenFileOutput ¶
type ProviderAuthLoginTokenFileOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginTokenFileOutput) ElementType ¶
func (ProviderAuthLoginTokenFileOutput) ElementType() reflect.Type
func (ProviderAuthLoginTokenFileOutput) Filename ¶
func (o ProviderAuthLoginTokenFileOutput) Filename() pulumi.StringOutput
The name of a file containing a single line that is a valid Vault token
func (ProviderAuthLoginTokenFileOutput) Namespace ¶
func (o ProviderAuthLoginTokenFileOutput) Namespace() pulumi.StringPtrOutput
The authentication engine's namespace. Conflicts with use_root_namespace
func (ProviderAuthLoginTokenFileOutput) ToProviderAuthLoginTokenFileOutput ¶
func (o ProviderAuthLoginTokenFileOutput) ToProviderAuthLoginTokenFileOutput() ProviderAuthLoginTokenFileOutput
func (ProviderAuthLoginTokenFileOutput) ToProviderAuthLoginTokenFileOutputWithContext ¶
func (o ProviderAuthLoginTokenFileOutput) ToProviderAuthLoginTokenFileOutputWithContext(ctx context.Context) ProviderAuthLoginTokenFileOutput
func (ProviderAuthLoginTokenFileOutput) ToProviderAuthLoginTokenFilePtrOutput ¶
func (o ProviderAuthLoginTokenFileOutput) ToProviderAuthLoginTokenFilePtrOutput() ProviderAuthLoginTokenFilePtrOutput
func (ProviderAuthLoginTokenFileOutput) ToProviderAuthLoginTokenFilePtrOutputWithContext ¶
func (o ProviderAuthLoginTokenFileOutput) ToProviderAuthLoginTokenFilePtrOutputWithContext(ctx context.Context) ProviderAuthLoginTokenFilePtrOutput
func (ProviderAuthLoginTokenFileOutput) UseRootNamespace ¶
func (o ProviderAuthLoginTokenFileOutput) UseRootNamespace() pulumi.BoolPtrOutput
Authenticate to the root Vault namespace. Conflicts with namespace
type ProviderAuthLoginTokenFilePtrInput ¶
type ProviderAuthLoginTokenFilePtrInput interface { pulumi.Input ToProviderAuthLoginTokenFilePtrOutput() ProviderAuthLoginTokenFilePtrOutput ToProviderAuthLoginTokenFilePtrOutputWithContext(context.Context) ProviderAuthLoginTokenFilePtrOutput }
ProviderAuthLoginTokenFilePtrInput is an input type that accepts ProviderAuthLoginTokenFileArgs, ProviderAuthLoginTokenFilePtr and ProviderAuthLoginTokenFilePtrOutput values. You can construct a concrete instance of `ProviderAuthLoginTokenFilePtrInput` via:
ProviderAuthLoginTokenFileArgs{...} or: nil
func ProviderAuthLoginTokenFilePtr ¶
func ProviderAuthLoginTokenFilePtr(v *ProviderAuthLoginTokenFileArgs) ProviderAuthLoginTokenFilePtrInput
type ProviderAuthLoginTokenFilePtrOutput ¶
type ProviderAuthLoginTokenFilePtrOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginTokenFilePtrOutput) Elem ¶
func (o ProviderAuthLoginTokenFilePtrOutput) Elem() ProviderAuthLoginTokenFileOutput
func (ProviderAuthLoginTokenFilePtrOutput) ElementType ¶
func (ProviderAuthLoginTokenFilePtrOutput) ElementType() reflect.Type
func (ProviderAuthLoginTokenFilePtrOutput) Filename ¶
func (o ProviderAuthLoginTokenFilePtrOutput) Filename() pulumi.StringPtrOutput
The name of a file containing a single line that is a valid Vault token
func (ProviderAuthLoginTokenFilePtrOutput) Namespace ¶
func (o ProviderAuthLoginTokenFilePtrOutput) Namespace() pulumi.StringPtrOutput
The authentication engine's namespace. Conflicts with use_root_namespace
func (ProviderAuthLoginTokenFilePtrOutput) ToProviderAuthLoginTokenFilePtrOutput ¶
func (o ProviderAuthLoginTokenFilePtrOutput) ToProviderAuthLoginTokenFilePtrOutput() ProviderAuthLoginTokenFilePtrOutput
func (ProviderAuthLoginTokenFilePtrOutput) ToProviderAuthLoginTokenFilePtrOutputWithContext ¶
func (o ProviderAuthLoginTokenFilePtrOutput) ToProviderAuthLoginTokenFilePtrOutputWithContext(ctx context.Context) ProviderAuthLoginTokenFilePtrOutput
func (ProviderAuthLoginTokenFilePtrOutput) UseRootNamespace ¶
func (o ProviderAuthLoginTokenFilePtrOutput) UseRootNamespace() pulumi.BoolPtrOutput
Authenticate to the root Vault namespace. Conflicts with namespace
type ProviderAuthLoginUserpass ¶
type ProviderAuthLoginUserpass struct { // The path where the authentication engine is mounted. Mount *string `pulumi:"mount"` // The authentication engine's namespace. Conflicts with use_root_namespace Namespace *string `pulumi:"namespace"` // Login with password Password *string `pulumi:"password"` // Login with password from a file PasswordFile *string `pulumi:"passwordFile"` // Authenticate to the root Vault namespace. Conflicts with namespace UseRootNamespace *bool `pulumi:"useRootNamespace"` // Login with username Username string `pulumi:"username"` }
type ProviderAuthLoginUserpassArgs ¶
type ProviderAuthLoginUserpassArgs struct { // The path where the authentication engine is mounted. Mount pulumi.StringPtrInput `pulumi:"mount"` // The authentication engine's namespace. Conflicts with use_root_namespace Namespace pulumi.StringPtrInput `pulumi:"namespace"` // Login with password Password pulumi.StringPtrInput `pulumi:"password"` // Login with password from a file PasswordFile pulumi.StringPtrInput `pulumi:"passwordFile"` // Authenticate to the root Vault namespace. Conflicts with namespace UseRootNamespace pulumi.BoolPtrInput `pulumi:"useRootNamespace"` // Login with username Username pulumi.StringInput `pulumi:"username"` }
func (ProviderAuthLoginUserpassArgs) ElementType ¶
func (ProviderAuthLoginUserpassArgs) ElementType() reflect.Type
func (ProviderAuthLoginUserpassArgs) ToProviderAuthLoginUserpassOutput ¶
func (i ProviderAuthLoginUserpassArgs) ToProviderAuthLoginUserpassOutput() ProviderAuthLoginUserpassOutput
func (ProviderAuthLoginUserpassArgs) ToProviderAuthLoginUserpassOutputWithContext ¶
func (i ProviderAuthLoginUserpassArgs) ToProviderAuthLoginUserpassOutputWithContext(ctx context.Context) ProviderAuthLoginUserpassOutput
func (ProviderAuthLoginUserpassArgs) ToProviderAuthLoginUserpassPtrOutput ¶
func (i ProviderAuthLoginUserpassArgs) ToProviderAuthLoginUserpassPtrOutput() ProviderAuthLoginUserpassPtrOutput
func (ProviderAuthLoginUserpassArgs) ToProviderAuthLoginUserpassPtrOutputWithContext ¶
func (i ProviderAuthLoginUserpassArgs) ToProviderAuthLoginUserpassPtrOutputWithContext(ctx context.Context) ProviderAuthLoginUserpassPtrOutput
type ProviderAuthLoginUserpassInput ¶
type ProviderAuthLoginUserpassInput interface { pulumi.Input ToProviderAuthLoginUserpassOutput() ProviderAuthLoginUserpassOutput ToProviderAuthLoginUserpassOutputWithContext(context.Context) ProviderAuthLoginUserpassOutput }
ProviderAuthLoginUserpassInput is an input type that accepts ProviderAuthLoginUserpassArgs and ProviderAuthLoginUserpassOutput values. You can construct a concrete instance of `ProviderAuthLoginUserpassInput` via:
ProviderAuthLoginUserpassArgs{...}
type ProviderAuthLoginUserpassOutput ¶
type ProviderAuthLoginUserpassOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginUserpassOutput) ElementType ¶
func (ProviderAuthLoginUserpassOutput) ElementType() reflect.Type
func (ProviderAuthLoginUserpassOutput) Mount ¶
func (o ProviderAuthLoginUserpassOutput) Mount() pulumi.StringPtrOutput
The path where the authentication engine is mounted.
func (ProviderAuthLoginUserpassOutput) Namespace ¶
func (o ProviderAuthLoginUserpassOutput) Namespace() pulumi.StringPtrOutput
The authentication engine's namespace. Conflicts with use_root_namespace
func (ProviderAuthLoginUserpassOutput) Password ¶
func (o ProviderAuthLoginUserpassOutput) Password() pulumi.StringPtrOutput
Login with password
func (ProviderAuthLoginUserpassOutput) PasswordFile ¶
func (o ProviderAuthLoginUserpassOutput) PasswordFile() pulumi.StringPtrOutput
Login with password from a file
func (ProviderAuthLoginUserpassOutput) ToProviderAuthLoginUserpassOutput ¶
func (o ProviderAuthLoginUserpassOutput) ToProviderAuthLoginUserpassOutput() ProviderAuthLoginUserpassOutput
func (ProviderAuthLoginUserpassOutput) ToProviderAuthLoginUserpassOutputWithContext ¶
func (o ProviderAuthLoginUserpassOutput) ToProviderAuthLoginUserpassOutputWithContext(ctx context.Context) ProviderAuthLoginUserpassOutput
func (ProviderAuthLoginUserpassOutput) ToProviderAuthLoginUserpassPtrOutput ¶
func (o ProviderAuthLoginUserpassOutput) ToProviderAuthLoginUserpassPtrOutput() ProviderAuthLoginUserpassPtrOutput
func (ProviderAuthLoginUserpassOutput) ToProviderAuthLoginUserpassPtrOutputWithContext ¶
func (o ProviderAuthLoginUserpassOutput) ToProviderAuthLoginUserpassPtrOutputWithContext(ctx context.Context) ProviderAuthLoginUserpassPtrOutput
func (ProviderAuthLoginUserpassOutput) UseRootNamespace ¶
func (o ProviderAuthLoginUserpassOutput) UseRootNamespace() pulumi.BoolPtrOutput
Authenticate to the root Vault namespace. Conflicts with namespace
func (ProviderAuthLoginUserpassOutput) Username ¶
func (o ProviderAuthLoginUserpassOutput) Username() pulumi.StringOutput
Login with username
type ProviderAuthLoginUserpassPtrInput ¶
type ProviderAuthLoginUserpassPtrInput interface { pulumi.Input ToProviderAuthLoginUserpassPtrOutput() ProviderAuthLoginUserpassPtrOutput ToProviderAuthLoginUserpassPtrOutputWithContext(context.Context) ProviderAuthLoginUserpassPtrOutput }
ProviderAuthLoginUserpassPtrInput is an input type that accepts ProviderAuthLoginUserpassArgs, ProviderAuthLoginUserpassPtr and ProviderAuthLoginUserpassPtrOutput values. You can construct a concrete instance of `ProviderAuthLoginUserpassPtrInput` via:
ProviderAuthLoginUserpassArgs{...} or: nil
func ProviderAuthLoginUserpassPtr ¶
func ProviderAuthLoginUserpassPtr(v *ProviderAuthLoginUserpassArgs) ProviderAuthLoginUserpassPtrInput
type ProviderAuthLoginUserpassPtrOutput ¶
type ProviderAuthLoginUserpassPtrOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginUserpassPtrOutput) Elem ¶
func (o ProviderAuthLoginUserpassPtrOutput) Elem() ProviderAuthLoginUserpassOutput
func (ProviderAuthLoginUserpassPtrOutput) ElementType ¶
func (ProviderAuthLoginUserpassPtrOutput) ElementType() reflect.Type
func (ProviderAuthLoginUserpassPtrOutput) Mount ¶
func (o ProviderAuthLoginUserpassPtrOutput) Mount() pulumi.StringPtrOutput
The path where the authentication engine is mounted.
func (ProviderAuthLoginUserpassPtrOutput) Namespace ¶
func (o ProviderAuthLoginUserpassPtrOutput) Namespace() pulumi.StringPtrOutput
The authentication engine's namespace. Conflicts with use_root_namespace
func (ProviderAuthLoginUserpassPtrOutput) Password ¶
func (o ProviderAuthLoginUserpassPtrOutput) Password() pulumi.StringPtrOutput
Login with password
func (ProviderAuthLoginUserpassPtrOutput) PasswordFile ¶
func (o ProviderAuthLoginUserpassPtrOutput) PasswordFile() pulumi.StringPtrOutput
Login with password from a file
func (ProviderAuthLoginUserpassPtrOutput) ToProviderAuthLoginUserpassPtrOutput ¶
func (o ProviderAuthLoginUserpassPtrOutput) ToProviderAuthLoginUserpassPtrOutput() ProviderAuthLoginUserpassPtrOutput
func (ProviderAuthLoginUserpassPtrOutput) ToProviderAuthLoginUserpassPtrOutputWithContext ¶
func (o ProviderAuthLoginUserpassPtrOutput) ToProviderAuthLoginUserpassPtrOutputWithContext(ctx context.Context) ProviderAuthLoginUserpassPtrOutput
func (ProviderAuthLoginUserpassPtrOutput) UseRootNamespace ¶
func (o ProviderAuthLoginUserpassPtrOutput) UseRootNamespace() pulumi.BoolPtrOutput
Authenticate to the root Vault namespace. Conflicts with namespace
func (ProviderAuthLoginUserpassPtrOutput) Username ¶
func (o ProviderAuthLoginUserpassPtrOutput) Username() pulumi.StringPtrOutput
Login with username
type ProviderClientAuth ¶
type ProviderClientAuthArgs ¶
type ProviderClientAuthArgs struct { // Path to a file containing the client certificate. CertFile pulumi.StringInput `pulumi:"certFile"` // Path to a file containing the private key that the certificate was issued for. KeyFile pulumi.StringInput `pulumi:"keyFile"` }
func (ProviderClientAuthArgs) ElementType ¶
func (ProviderClientAuthArgs) ElementType() reflect.Type
func (ProviderClientAuthArgs) ToProviderClientAuthOutput ¶
func (i ProviderClientAuthArgs) ToProviderClientAuthOutput() ProviderClientAuthOutput
func (ProviderClientAuthArgs) ToProviderClientAuthOutputWithContext ¶
func (i ProviderClientAuthArgs) ToProviderClientAuthOutputWithContext(ctx context.Context) ProviderClientAuthOutput
func (ProviderClientAuthArgs) ToProviderClientAuthPtrOutput ¶
func (i ProviderClientAuthArgs) ToProviderClientAuthPtrOutput() ProviderClientAuthPtrOutput
func (ProviderClientAuthArgs) ToProviderClientAuthPtrOutputWithContext ¶
func (i ProviderClientAuthArgs) ToProviderClientAuthPtrOutputWithContext(ctx context.Context) ProviderClientAuthPtrOutput
type ProviderClientAuthInput ¶
type ProviderClientAuthInput interface { pulumi.Input ToProviderClientAuthOutput() ProviderClientAuthOutput ToProviderClientAuthOutputWithContext(context.Context) ProviderClientAuthOutput }
ProviderClientAuthInput is an input type that accepts ProviderClientAuthArgs and ProviderClientAuthOutput values. You can construct a concrete instance of `ProviderClientAuthInput` via:
ProviderClientAuthArgs{...}
type ProviderClientAuthOutput ¶
type ProviderClientAuthOutput struct{ *pulumi.OutputState }
func (ProviderClientAuthOutput) CertFile ¶
func (o ProviderClientAuthOutput) CertFile() pulumi.StringOutput
Path to a file containing the client certificate.
func (ProviderClientAuthOutput) ElementType ¶
func (ProviderClientAuthOutput) ElementType() reflect.Type
func (ProviderClientAuthOutput) KeyFile ¶
func (o ProviderClientAuthOutput) KeyFile() pulumi.StringOutput
Path to a file containing the private key that the certificate was issued for.
func (ProviderClientAuthOutput) ToProviderClientAuthOutput ¶
func (o ProviderClientAuthOutput) ToProviderClientAuthOutput() ProviderClientAuthOutput
func (ProviderClientAuthOutput) ToProviderClientAuthOutputWithContext ¶
func (o ProviderClientAuthOutput) ToProviderClientAuthOutputWithContext(ctx context.Context) ProviderClientAuthOutput
func (ProviderClientAuthOutput) ToProviderClientAuthPtrOutput ¶
func (o ProviderClientAuthOutput) ToProviderClientAuthPtrOutput() ProviderClientAuthPtrOutput
func (ProviderClientAuthOutput) ToProviderClientAuthPtrOutputWithContext ¶
func (o ProviderClientAuthOutput) ToProviderClientAuthPtrOutputWithContext(ctx context.Context) ProviderClientAuthPtrOutput
type ProviderClientAuthPtrInput ¶
type ProviderClientAuthPtrInput interface { pulumi.Input ToProviderClientAuthPtrOutput() ProviderClientAuthPtrOutput ToProviderClientAuthPtrOutputWithContext(context.Context) ProviderClientAuthPtrOutput }
ProviderClientAuthPtrInput is an input type that accepts ProviderClientAuthArgs, ProviderClientAuthPtr and ProviderClientAuthPtrOutput values. You can construct a concrete instance of `ProviderClientAuthPtrInput` via:
ProviderClientAuthArgs{...} or: nil
func ProviderClientAuthPtr ¶
func ProviderClientAuthPtr(v *ProviderClientAuthArgs) ProviderClientAuthPtrInput
type ProviderClientAuthPtrOutput ¶
type ProviderClientAuthPtrOutput struct{ *pulumi.OutputState }
func (ProviderClientAuthPtrOutput) CertFile ¶
func (o ProviderClientAuthPtrOutput) CertFile() pulumi.StringPtrOutput
Path to a file containing the client certificate.
func (ProviderClientAuthPtrOutput) Elem ¶
func (o ProviderClientAuthPtrOutput) Elem() ProviderClientAuthOutput
func (ProviderClientAuthPtrOutput) ElementType ¶
func (ProviderClientAuthPtrOutput) ElementType() reflect.Type
func (ProviderClientAuthPtrOutput) KeyFile ¶
func (o ProviderClientAuthPtrOutput) KeyFile() pulumi.StringPtrOutput
Path to a file containing the private key that the certificate was issued for.
func (ProviderClientAuthPtrOutput) ToProviderClientAuthPtrOutput ¶
func (o ProviderClientAuthPtrOutput) ToProviderClientAuthPtrOutput() ProviderClientAuthPtrOutput
func (ProviderClientAuthPtrOutput) ToProviderClientAuthPtrOutputWithContext ¶
func (o ProviderClientAuthPtrOutput) ToProviderClientAuthPtrOutputWithContext(ctx context.Context) ProviderClientAuthPtrOutput
type ProviderHeader ¶
type ProviderHeaderArgs ¶
type ProviderHeaderArgs struct { // The header name Name pulumi.StringInput `pulumi:"name"` // The header value Value pulumi.StringInput `pulumi:"value"` }
func (ProviderHeaderArgs) ElementType ¶
func (ProviderHeaderArgs) ElementType() reflect.Type
func (ProviderHeaderArgs) ToProviderHeaderOutput ¶
func (i ProviderHeaderArgs) ToProviderHeaderOutput() ProviderHeaderOutput
func (ProviderHeaderArgs) ToProviderHeaderOutputWithContext ¶
func (i ProviderHeaderArgs) ToProviderHeaderOutputWithContext(ctx context.Context) ProviderHeaderOutput
type ProviderHeaderArray ¶
type ProviderHeaderArray []ProviderHeaderInput
func (ProviderHeaderArray) ElementType ¶
func (ProviderHeaderArray) ElementType() reflect.Type
func (ProviderHeaderArray) ToProviderHeaderArrayOutput ¶
func (i ProviderHeaderArray) ToProviderHeaderArrayOutput() ProviderHeaderArrayOutput
func (ProviderHeaderArray) ToProviderHeaderArrayOutputWithContext ¶
func (i ProviderHeaderArray) ToProviderHeaderArrayOutputWithContext(ctx context.Context) ProviderHeaderArrayOutput
type ProviderHeaderArrayInput ¶
type ProviderHeaderArrayInput interface { pulumi.Input ToProviderHeaderArrayOutput() ProviderHeaderArrayOutput ToProviderHeaderArrayOutputWithContext(context.Context) ProviderHeaderArrayOutput }
ProviderHeaderArrayInput is an input type that accepts ProviderHeaderArray and ProviderHeaderArrayOutput values. You can construct a concrete instance of `ProviderHeaderArrayInput` via:
ProviderHeaderArray{ ProviderHeaderArgs{...} }
type ProviderHeaderArrayOutput ¶
type ProviderHeaderArrayOutput struct{ *pulumi.OutputState }
func (ProviderHeaderArrayOutput) ElementType ¶
func (ProviderHeaderArrayOutput) ElementType() reflect.Type
func (ProviderHeaderArrayOutput) Index ¶
func (o ProviderHeaderArrayOutput) Index(i pulumi.IntInput) ProviderHeaderOutput
func (ProviderHeaderArrayOutput) ToProviderHeaderArrayOutput ¶
func (o ProviderHeaderArrayOutput) ToProviderHeaderArrayOutput() ProviderHeaderArrayOutput
func (ProviderHeaderArrayOutput) ToProviderHeaderArrayOutputWithContext ¶
func (o ProviderHeaderArrayOutput) ToProviderHeaderArrayOutputWithContext(ctx context.Context) ProviderHeaderArrayOutput
type ProviderHeaderInput ¶
type ProviderHeaderInput interface { pulumi.Input ToProviderHeaderOutput() ProviderHeaderOutput ToProviderHeaderOutputWithContext(context.Context) ProviderHeaderOutput }
ProviderHeaderInput is an input type that accepts ProviderHeaderArgs and ProviderHeaderOutput values. You can construct a concrete instance of `ProviderHeaderInput` via:
ProviderHeaderArgs{...}
type ProviderHeaderOutput ¶
type ProviderHeaderOutput struct{ *pulumi.OutputState }
func (ProviderHeaderOutput) ElementType ¶
func (ProviderHeaderOutput) ElementType() reflect.Type
func (ProviderHeaderOutput) Name ¶
func (o ProviderHeaderOutput) Name() pulumi.StringOutput
The header name
func (ProviderHeaderOutput) ToProviderHeaderOutput ¶
func (o ProviderHeaderOutput) ToProviderHeaderOutput() ProviderHeaderOutput
func (ProviderHeaderOutput) ToProviderHeaderOutputWithContext ¶
func (o ProviderHeaderOutput) ToProviderHeaderOutputWithContext(ctx context.Context) ProviderHeaderOutput
func (ProviderHeaderOutput) Value ¶
func (o ProviderHeaderOutput) Value() pulumi.StringOutput
The header value
type ProviderInput ¶
type ProviderInput interface { pulumi.Input ToProviderOutput() ProviderOutput ToProviderOutputWithContext(ctx context.Context) ProviderOutput }
type ProviderOutput ¶
type ProviderOutput struct{ *pulumi.OutputState }
func (ProviderOutput) AddAddressToEnv ¶
func (o ProviderOutput) AddAddressToEnv() pulumi.StringPtrOutput
func (ProviderOutput) Address ¶
func (o ProviderOutput) Address() pulumi.StringOutput
URL of the root of the target Vault server.
func (ProviderOutput) CaCertDir ¶
func (o ProviderOutput) CaCertDir() pulumi.StringPtrOutput
Path to directory containing CA certificate files to validate the server's certificate.
func (ProviderOutput) CaCertFile ¶
func (o ProviderOutput) CaCertFile() pulumi.StringPtrOutput
Path to a CA certificate file to validate the server's certificate.
func (ProviderOutput) ElementType ¶
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) Namespace ¶
func (o ProviderOutput) Namespace() pulumi.StringPtrOutput
The namespace to use. Available only for Vault Enterprise.
func (ProviderOutput) TlsServerName ¶
func (o ProviderOutput) TlsServerName() pulumi.StringPtrOutput
Name to use as the SNI host when connecting via TLS.
func (ProviderOutput) ToProviderOutput ¶
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
func (ProviderOutput) Token ¶
func (o ProviderOutput) Token() pulumi.StringOutput
Token to use to authenticate to Vault.
func (ProviderOutput) TokenName ¶
func (o ProviderOutput) TokenName() pulumi.StringPtrOutput
Token name to use for creating the Vault child token.
func (ProviderOutput) VaultVersionOverride ¶
func (o ProviderOutput) VaultVersionOverride() pulumi.StringPtrOutput
Override the Vault server version, which is normally determined dynamically from the target Vault server
type QuotaLeaseCount ¶
type QuotaLeaseCount struct { pulumi.CustomResourceState // If set to `true` on a quota where path is set to a namespace, the same quota will be cumulatively applied to all child namespace. The inheritable parameter cannot be set to `true` if the path does not specify a namespace. Only the quotas associated with the root namespace are inheritable by default. Requires Vault 1.15+. Inheritable pulumi.BoolPtrOutput `pulumi:"inheritable"` // The maximum number of leases to be allowed by the quota // rule. The `maxLeases` must be positive. MaxLeases pulumi.IntOutput `pulumi:"maxLeases"` // Name of the rate limit quota Name pulumi.StringOutput `pulumi:"name"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured namespace. // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // Path of the mount or namespace to apply the quota. A blank path configures a // global rate limit quota. For example `namespace1/` adds a quota to a full namespace, // `namespace1/auth/userpass` adds a `quota` to `userpass` in `namespace1`. // Updating this field on an existing quota can have "moving" effects. For example, updating // `auth/userpass` to `namespace1/auth/userpass` moves this quota from being a global mount quota to // a namespace specific mount quota. **Note, namespaces are supported in Enterprise only.** Path pulumi.StringPtrOutput `pulumi:"path"` // If set on a quota where `path` is set to an auth mount with a concept of roles (such as /auth/approle/), this will make the quota restrict login requests to that mount that are made with the specified role. Role pulumi.StringPtrOutput `pulumi:"role"` }
Manage lease count quotas which enforce the number of leases that can be created. A lease count quota can be created at the root level or defined on a namespace or mount by specifying a path when creating the quota.
See [Vault's Documentation](https://www.vaultproject.io/docs/enterprise/lease-count-quotas) for more information.
**Note** this feature is available only with Vault Enterprise.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.NewQuotaLeaseCount(ctx, "global", &vault.QuotaLeaseCountArgs{ Name: pulumi.String("global"), Path: pulumi.String(""), MaxLeases: pulumi.Int(100), }) if err != nil { return err } return nil }) }
```
## Import
Lease count quotas can be imported using their names ¶
```sh $ pulumi import vault:index/quotaLeaseCount:QuotaLeaseCount global global ```
func GetQuotaLeaseCount ¶
func GetQuotaLeaseCount(ctx *pulumi.Context, name string, id pulumi.IDInput, state *QuotaLeaseCountState, opts ...pulumi.ResourceOption) (*QuotaLeaseCount, error)
GetQuotaLeaseCount gets an existing QuotaLeaseCount 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 NewQuotaLeaseCount ¶
func NewQuotaLeaseCount(ctx *pulumi.Context, name string, args *QuotaLeaseCountArgs, opts ...pulumi.ResourceOption) (*QuotaLeaseCount, error)
NewQuotaLeaseCount registers a new resource with the given unique name, arguments, and options.
func (*QuotaLeaseCount) ElementType ¶
func (*QuotaLeaseCount) ElementType() reflect.Type
func (*QuotaLeaseCount) ToQuotaLeaseCountOutput ¶
func (i *QuotaLeaseCount) ToQuotaLeaseCountOutput() QuotaLeaseCountOutput
func (*QuotaLeaseCount) ToQuotaLeaseCountOutputWithContext ¶
func (i *QuotaLeaseCount) ToQuotaLeaseCountOutputWithContext(ctx context.Context) QuotaLeaseCountOutput
type QuotaLeaseCountArgs ¶
type QuotaLeaseCountArgs struct { // If set to `true` on a quota where path is set to a namespace, the same quota will be cumulatively applied to all child namespace. The inheritable parameter cannot be set to `true` if the path does not specify a namespace. Only the quotas associated with the root namespace are inheritable by default. Requires Vault 1.15+. Inheritable pulumi.BoolPtrInput // The maximum number of leases to be allowed by the quota // rule. The `maxLeases` must be positive. MaxLeases pulumi.IntInput // Name of the rate limit quota Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured namespace. // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // Path of the mount or namespace to apply the quota. A blank path configures a // global rate limit quota. For example `namespace1/` adds a quota to a full namespace, // `namespace1/auth/userpass` adds a `quota` to `userpass` in `namespace1`. // Updating this field on an existing quota can have "moving" effects. For example, updating // `auth/userpass` to `namespace1/auth/userpass` moves this quota from being a global mount quota to // a namespace specific mount quota. **Note, namespaces are supported in Enterprise only.** Path pulumi.StringPtrInput // If set on a quota where `path` is set to an auth mount with a concept of roles (such as /auth/approle/), this will make the quota restrict login requests to that mount that are made with the specified role. Role pulumi.StringPtrInput }
The set of arguments for constructing a QuotaLeaseCount resource.
func (QuotaLeaseCountArgs) ElementType ¶
func (QuotaLeaseCountArgs) ElementType() reflect.Type
type QuotaLeaseCountArray ¶
type QuotaLeaseCountArray []QuotaLeaseCountInput
func (QuotaLeaseCountArray) ElementType ¶
func (QuotaLeaseCountArray) ElementType() reflect.Type
func (QuotaLeaseCountArray) ToQuotaLeaseCountArrayOutput ¶
func (i QuotaLeaseCountArray) ToQuotaLeaseCountArrayOutput() QuotaLeaseCountArrayOutput
func (QuotaLeaseCountArray) ToQuotaLeaseCountArrayOutputWithContext ¶
func (i QuotaLeaseCountArray) ToQuotaLeaseCountArrayOutputWithContext(ctx context.Context) QuotaLeaseCountArrayOutput
type QuotaLeaseCountArrayInput ¶
type QuotaLeaseCountArrayInput interface { pulumi.Input ToQuotaLeaseCountArrayOutput() QuotaLeaseCountArrayOutput ToQuotaLeaseCountArrayOutputWithContext(context.Context) QuotaLeaseCountArrayOutput }
QuotaLeaseCountArrayInput is an input type that accepts QuotaLeaseCountArray and QuotaLeaseCountArrayOutput values. You can construct a concrete instance of `QuotaLeaseCountArrayInput` via:
QuotaLeaseCountArray{ QuotaLeaseCountArgs{...} }
type QuotaLeaseCountArrayOutput ¶
type QuotaLeaseCountArrayOutput struct{ *pulumi.OutputState }
func (QuotaLeaseCountArrayOutput) ElementType ¶
func (QuotaLeaseCountArrayOutput) ElementType() reflect.Type
func (QuotaLeaseCountArrayOutput) Index ¶
func (o QuotaLeaseCountArrayOutput) Index(i pulumi.IntInput) QuotaLeaseCountOutput
func (QuotaLeaseCountArrayOutput) ToQuotaLeaseCountArrayOutput ¶
func (o QuotaLeaseCountArrayOutput) ToQuotaLeaseCountArrayOutput() QuotaLeaseCountArrayOutput
func (QuotaLeaseCountArrayOutput) ToQuotaLeaseCountArrayOutputWithContext ¶
func (o QuotaLeaseCountArrayOutput) ToQuotaLeaseCountArrayOutputWithContext(ctx context.Context) QuotaLeaseCountArrayOutput
type QuotaLeaseCountInput ¶
type QuotaLeaseCountInput interface { pulumi.Input ToQuotaLeaseCountOutput() QuotaLeaseCountOutput ToQuotaLeaseCountOutputWithContext(ctx context.Context) QuotaLeaseCountOutput }
type QuotaLeaseCountMap ¶
type QuotaLeaseCountMap map[string]QuotaLeaseCountInput
func (QuotaLeaseCountMap) ElementType ¶
func (QuotaLeaseCountMap) ElementType() reflect.Type
func (QuotaLeaseCountMap) ToQuotaLeaseCountMapOutput ¶
func (i QuotaLeaseCountMap) ToQuotaLeaseCountMapOutput() QuotaLeaseCountMapOutput
func (QuotaLeaseCountMap) ToQuotaLeaseCountMapOutputWithContext ¶
func (i QuotaLeaseCountMap) ToQuotaLeaseCountMapOutputWithContext(ctx context.Context) QuotaLeaseCountMapOutput
type QuotaLeaseCountMapInput ¶
type QuotaLeaseCountMapInput interface { pulumi.Input ToQuotaLeaseCountMapOutput() QuotaLeaseCountMapOutput ToQuotaLeaseCountMapOutputWithContext(context.Context) QuotaLeaseCountMapOutput }
QuotaLeaseCountMapInput is an input type that accepts QuotaLeaseCountMap and QuotaLeaseCountMapOutput values. You can construct a concrete instance of `QuotaLeaseCountMapInput` via:
QuotaLeaseCountMap{ "key": QuotaLeaseCountArgs{...} }
type QuotaLeaseCountMapOutput ¶
type QuotaLeaseCountMapOutput struct{ *pulumi.OutputState }
func (QuotaLeaseCountMapOutput) ElementType ¶
func (QuotaLeaseCountMapOutput) ElementType() reflect.Type
func (QuotaLeaseCountMapOutput) MapIndex ¶
func (o QuotaLeaseCountMapOutput) MapIndex(k pulumi.StringInput) QuotaLeaseCountOutput
func (QuotaLeaseCountMapOutput) ToQuotaLeaseCountMapOutput ¶
func (o QuotaLeaseCountMapOutput) ToQuotaLeaseCountMapOutput() QuotaLeaseCountMapOutput
func (QuotaLeaseCountMapOutput) ToQuotaLeaseCountMapOutputWithContext ¶
func (o QuotaLeaseCountMapOutput) ToQuotaLeaseCountMapOutputWithContext(ctx context.Context) QuotaLeaseCountMapOutput
type QuotaLeaseCountOutput ¶
type QuotaLeaseCountOutput struct{ *pulumi.OutputState }
func (QuotaLeaseCountOutput) ElementType ¶
func (QuotaLeaseCountOutput) ElementType() reflect.Type
func (QuotaLeaseCountOutput) Inheritable ¶ added in v6.2.0
func (o QuotaLeaseCountOutput) Inheritable() pulumi.BoolPtrOutput
If set to `true` on a quota where path is set to a namespace, the same quota will be cumulatively applied to all child namespace. The inheritable parameter cannot be set to `true` if the path does not specify a namespace. Only the quotas associated with the root namespace are inheritable by default. Requires Vault 1.15+.
func (QuotaLeaseCountOutput) MaxLeases ¶
func (o QuotaLeaseCountOutput) MaxLeases() pulumi.IntOutput
The maximum number of leases to be allowed by the quota rule. The `maxLeases` must be positive.
func (QuotaLeaseCountOutput) Name ¶
func (o QuotaLeaseCountOutput) Name() pulumi.StringOutput
Name of the rate limit quota
func (QuotaLeaseCountOutput) Namespace ¶
func (o QuotaLeaseCountOutput) Namespace() pulumi.StringPtrOutput
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured namespace. *Available only for Vault Enterprise*.
func (QuotaLeaseCountOutput) Path ¶
func (o QuotaLeaseCountOutput) Path() pulumi.StringPtrOutput
Path of the mount or namespace to apply the quota. A blank path configures a global rate limit quota. For example `namespace1/` adds a quota to a full namespace, `namespace1/auth/userpass` adds a `quota` to `userpass` in `namespace1`. Updating this field on an existing quota can have "moving" effects. For example, updating `auth/userpass` to `namespace1/auth/userpass` moves this quota from being a global mount quota to a namespace specific mount quota. **Note, namespaces are supported in Enterprise only.**
func (QuotaLeaseCountOutput) Role ¶
func (o QuotaLeaseCountOutput) Role() pulumi.StringPtrOutput
If set on a quota where `path` is set to an auth mount with a concept of roles (such as /auth/approle/), this will make the quota restrict login requests to that mount that are made with the specified role.
func (QuotaLeaseCountOutput) ToQuotaLeaseCountOutput ¶
func (o QuotaLeaseCountOutput) ToQuotaLeaseCountOutput() QuotaLeaseCountOutput
func (QuotaLeaseCountOutput) ToQuotaLeaseCountOutputWithContext ¶
func (o QuotaLeaseCountOutput) ToQuotaLeaseCountOutputWithContext(ctx context.Context) QuotaLeaseCountOutput
type QuotaLeaseCountState ¶
type QuotaLeaseCountState struct { // If set to `true` on a quota where path is set to a namespace, the same quota will be cumulatively applied to all child namespace. The inheritable parameter cannot be set to `true` if the path does not specify a namespace. Only the quotas associated with the root namespace are inheritable by default. Requires Vault 1.15+. Inheritable pulumi.BoolPtrInput // The maximum number of leases to be allowed by the quota // rule. The `maxLeases` must be positive. MaxLeases pulumi.IntPtrInput // Name of the rate limit quota Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured namespace. // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // Path of the mount or namespace to apply the quota. A blank path configures a // global rate limit quota. For example `namespace1/` adds a quota to a full namespace, // `namespace1/auth/userpass` adds a `quota` to `userpass` in `namespace1`. // Updating this field on an existing quota can have "moving" effects. For example, updating // `auth/userpass` to `namespace1/auth/userpass` moves this quota from being a global mount quota to // a namespace specific mount quota. **Note, namespaces are supported in Enterprise only.** Path pulumi.StringPtrInput // If set on a quota where `path` is set to an auth mount with a concept of roles (such as /auth/approle/), this will make the quota restrict login requests to that mount that are made with the specified role. Role pulumi.StringPtrInput }
func (QuotaLeaseCountState) ElementType ¶
func (QuotaLeaseCountState) ElementType() reflect.Type
type QuotaRateLimit ¶
type QuotaRateLimit struct { pulumi.CustomResourceState // If set, when a client reaches a rate limit threshold, the client will // be prohibited from any further requests until after the 'block_interval' in seconds has elapsed. BlockInterval pulumi.IntPtrOutput `pulumi:"blockInterval"` // If set to `true` on a quota where path is set to a namespace, the same quota will be cumulatively applied to all child namespace. The inheritable parameter cannot be set to `true` if the path does not specify a namespace. Only the quotas associated with the root namespace are inheritable by default. Requires Vault 1.15+. Inheritable pulumi.BoolPtrOutput `pulumi:"inheritable"` // The duration in seconds to enforce rate limiting for. Interval pulumi.IntOutput `pulumi:"interval"` // Name of the rate limit quota Name pulumi.StringOutput `pulumi:"name"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured namespace. // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // Path of the mount or namespace to apply the quota. A blank path configures a // global rate limit quota. For example `namespace1/` adds a quota to a full namespace, // `namespace1/auth/userpass` adds a `quota` to `userpass` in `namespace1`. // Updating this field on an existing quota can have "moving" effects. For example, updating // `auth/userpass` to `namespace1/auth/userpass` moves this quota from being a global mount quota to // a namespace specific mount quota. **Note, namespaces are supported in Enterprise only.** Path pulumi.StringPtrOutput `pulumi:"path"` // The maximum number of requests at any given second to be allowed by the quota // rule. The `rate` must be positive. Rate pulumi.Float64Output `pulumi:"rate"` // If set on a quota where `path` is set to an auth mount with a concept of roles (such as /auth/approle/), this will make the quota restrict login requests to that mount that are made with the specified role. Role pulumi.StringPtrOutput `pulumi:"role"` }
Manage rate limit quotas which enforce API rate limiting using a token bucket algorithm. A rate limit quota can be created at the root level or defined on a namespace or mount by specifying a path when creating the quota.
See [Vault's Documentation](https://www.vaultproject.io/docs/concepts/resource-quotas) for more information.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.NewQuotaRateLimit(ctx, "global", &vault.QuotaRateLimitArgs{ Name: pulumi.String("global"), Path: pulumi.String(""), Rate: pulumi.Float64(100), }) if err != nil { return err } return nil }) }
```
## Import
Rate limit quotas can be imported using their names ¶
```sh $ pulumi import vault:index/quotaRateLimit:QuotaRateLimit global global ```
func GetQuotaRateLimit ¶
func GetQuotaRateLimit(ctx *pulumi.Context, name string, id pulumi.IDInput, state *QuotaRateLimitState, opts ...pulumi.ResourceOption) (*QuotaRateLimit, error)
GetQuotaRateLimit gets an existing QuotaRateLimit 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 NewQuotaRateLimit ¶
func NewQuotaRateLimit(ctx *pulumi.Context, name string, args *QuotaRateLimitArgs, opts ...pulumi.ResourceOption) (*QuotaRateLimit, error)
NewQuotaRateLimit registers a new resource with the given unique name, arguments, and options.
func (*QuotaRateLimit) ElementType ¶
func (*QuotaRateLimit) ElementType() reflect.Type
func (*QuotaRateLimit) ToQuotaRateLimitOutput ¶
func (i *QuotaRateLimit) ToQuotaRateLimitOutput() QuotaRateLimitOutput
func (*QuotaRateLimit) ToQuotaRateLimitOutputWithContext ¶
func (i *QuotaRateLimit) ToQuotaRateLimitOutputWithContext(ctx context.Context) QuotaRateLimitOutput
type QuotaRateLimitArgs ¶
type QuotaRateLimitArgs struct { // If set, when a client reaches a rate limit threshold, the client will // be prohibited from any further requests until after the 'block_interval' in seconds has elapsed. BlockInterval pulumi.IntPtrInput // If set to `true` on a quota where path is set to a namespace, the same quota will be cumulatively applied to all child namespace. The inheritable parameter cannot be set to `true` if the path does not specify a namespace. Only the quotas associated with the root namespace are inheritable by default. Requires Vault 1.15+. Inheritable pulumi.BoolPtrInput // The duration in seconds to enforce rate limiting for. Interval pulumi.IntPtrInput // Name of the rate limit quota Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured namespace. // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // Path of the mount or namespace to apply the quota. A blank path configures a // global rate limit quota. For example `namespace1/` adds a quota to a full namespace, // `namespace1/auth/userpass` adds a `quota` to `userpass` in `namespace1`. // Updating this field on an existing quota can have "moving" effects. For example, updating // `auth/userpass` to `namespace1/auth/userpass` moves this quota from being a global mount quota to // a namespace specific mount quota. **Note, namespaces are supported in Enterprise only.** Path pulumi.StringPtrInput // The maximum number of requests at any given second to be allowed by the quota // rule. The `rate` must be positive. Rate pulumi.Float64Input // If set on a quota where `path` is set to an auth mount with a concept of roles (such as /auth/approle/), this will make the quota restrict login requests to that mount that are made with the specified role. Role pulumi.StringPtrInput }
The set of arguments for constructing a QuotaRateLimit resource.
func (QuotaRateLimitArgs) ElementType ¶
func (QuotaRateLimitArgs) ElementType() reflect.Type
type QuotaRateLimitArray ¶
type QuotaRateLimitArray []QuotaRateLimitInput
func (QuotaRateLimitArray) ElementType ¶
func (QuotaRateLimitArray) ElementType() reflect.Type
func (QuotaRateLimitArray) ToQuotaRateLimitArrayOutput ¶
func (i QuotaRateLimitArray) ToQuotaRateLimitArrayOutput() QuotaRateLimitArrayOutput
func (QuotaRateLimitArray) ToQuotaRateLimitArrayOutputWithContext ¶
func (i QuotaRateLimitArray) ToQuotaRateLimitArrayOutputWithContext(ctx context.Context) QuotaRateLimitArrayOutput
type QuotaRateLimitArrayInput ¶
type QuotaRateLimitArrayInput interface { pulumi.Input ToQuotaRateLimitArrayOutput() QuotaRateLimitArrayOutput ToQuotaRateLimitArrayOutputWithContext(context.Context) QuotaRateLimitArrayOutput }
QuotaRateLimitArrayInput is an input type that accepts QuotaRateLimitArray and QuotaRateLimitArrayOutput values. You can construct a concrete instance of `QuotaRateLimitArrayInput` via:
QuotaRateLimitArray{ QuotaRateLimitArgs{...} }
type QuotaRateLimitArrayOutput ¶
type QuotaRateLimitArrayOutput struct{ *pulumi.OutputState }
func (QuotaRateLimitArrayOutput) ElementType ¶
func (QuotaRateLimitArrayOutput) ElementType() reflect.Type
func (QuotaRateLimitArrayOutput) Index ¶
func (o QuotaRateLimitArrayOutput) Index(i pulumi.IntInput) QuotaRateLimitOutput
func (QuotaRateLimitArrayOutput) ToQuotaRateLimitArrayOutput ¶
func (o QuotaRateLimitArrayOutput) ToQuotaRateLimitArrayOutput() QuotaRateLimitArrayOutput
func (QuotaRateLimitArrayOutput) ToQuotaRateLimitArrayOutputWithContext ¶
func (o QuotaRateLimitArrayOutput) ToQuotaRateLimitArrayOutputWithContext(ctx context.Context) QuotaRateLimitArrayOutput
type QuotaRateLimitInput ¶
type QuotaRateLimitInput interface { pulumi.Input ToQuotaRateLimitOutput() QuotaRateLimitOutput ToQuotaRateLimitOutputWithContext(ctx context.Context) QuotaRateLimitOutput }
type QuotaRateLimitMap ¶
type QuotaRateLimitMap map[string]QuotaRateLimitInput
func (QuotaRateLimitMap) ElementType ¶
func (QuotaRateLimitMap) ElementType() reflect.Type
func (QuotaRateLimitMap) ToQuotaRateLimitMapOutput ¶
func (i QuotaRateLimitMap) ToQuotaRateLimitMapOutput() QuotaRateLimitMapOutput
func (QuotaRateLimitMap) ToQuotaRateLimitMapOutputWithContext ¶
func (i QuotaRateLimitMap) ToQuotaRateLimitMapOutputWithContext(ctx context.Context) QuotaRateLimitMapOutput
type QuotaRateLimitMapInput ¶
type QuotaRateLimitMapInput interface { pulumi.Input ToQuotaRateLimitMapOutput() QuotaRateLimitMapOutput ToQuotaRateLimitMapOutputWithContext(context.Context) QuotaRateLimitMapOutput }
QuotaRateLimitMapInput is an input type that accepts QuotaRateLimitMap and QuotaRateLimitMapOutput values. You can construct a concrete instance of `QuotaRateLimitMapInput` via:
QuotaRateLimitMap{ "key": QuotaRateLimitArgs{...} }
type QuotaRateLimitMapOutput ¶
type QuotaRateLimitMapOutput struct{ *pulumi.OutputState }
func (QuotaRateLimitMapOutput) ElementType ¶
func (QuotaRateLimitMapOutput) ElementType() reflect.Type
func (QuotaRateLimitMapOutput) MapIndex ¶
func (o QuotaRateLimitMapOutput) MapIndex(k pulumi.StringInput) QuotaRateLimitOutput
func (QuotaRateLimitMapOutput) ToQuotaRateLimitMapOutput ¶
func (o QuotaRateLimitMapOutput) ToQuotaRateLimitMapOutput() QuotaRateLimitMapOutput
func (QuotaRateLimitMapOutput) ToQuotaRateLimitMapOutputWithContext ¶
func (o QuotaRateLimitMapOutput) ToQuotaRateLimitMapOutputWithContext(ctx context.Context) QuotaRateLimitMapOutput
type QuotaRateLimitOutput ¶
type QuotaRateLimitOutput struct{ *pulumi.OutputState }
func (QuotaRateLimitOutput) BlockInterval ¶
func (o QuotaRateLimitOutput) BlockInterval() pulumi.IntPtrOutput
If set, when a client reaches a rate limit threshold, the client will be prohibited from any further requests until after the 'block_interval' in seconds has elapsed.
func (QuotaRateLimitOutput) ElementType ¶
func (QuotaRateLimitOutput) ElementType() reflect.Type
func (QuotaRateLimitOutput) Inheritable ¶ added in v6.2.0
func (o QuotaRateLimitOutput) Inheritable() pulumi.BoolPtrOutput
If set to `true` on a quota where path is set to a namespace, the same quota will be cumulatively applied to all child namespace. The inheritable parameter cannot be set to `true` if the path does not specify a namespace. Only the quotas associated with the root namespace are inheritable by default. Requires Vault 1.15+.
func (QuotaRateLimitOutput) Interval ¶
func (o QuotaRateLimitOutput) Interval() pulumi.IntOutput
The duration in seconds to enforce rate limiting for.
func (QuotaRateLimitOutput) Name ¶
func (o QuotaRateLimitOutput) Name() pulumi.StringOutput
Name of the rate limit quota
func (QuotaRateLimitOutput) Namespace ¶
func (o QuotaRateLimitOutput) Namespace() pulumi.StringPtrOutput
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured namespace. *Available only for Vault Enterprise*.
func (QuotaRateLimitOutput) Path ¶
func (o QuotaRateLimitOutput) Path() pulumi.StringPtrOutput
Path of the mount or namespace to apply the quota. A blank path configures a global rate limit quota. For example `namespace1/` adds a quota to a full namespace, `namespace1/auth/userpass` adds a `quota` to `userpass` in `namespace1`. Updating this field on an existing quota can have "moving" effects. For example, updating `auth/userpass` to `namespace1/auth/userpass` moves this quota from being a global mount quota to a namespace specific mount quota. **Note, namespaces are supported in Enterprise only.**
func (QuotaRateLimitOutput) Rate ¶
func (o QuotaRateLimitOutput) Rate() pulumi.Float64Output
The maximum number of requests at any given second to be allowed by the quota rule. The `rate` must be positive.
func (QuotaRateLimitOutput) Role ¶
func (o QuotaRateLimitOutput) Role() pulumi.StringPtrOutput
If set on a quota where `path` is set to an auth mount with a concept of roles (such as /auth/approle/), this will make the quota restrict login requests to that mount that are made with the specified role.
func (QuotaRateLimitOutput) ToQuotaRateLimitOutput ¶
func (o QuotaRateLimitOutput) ToQuotaRateLimitOutput() QuotaRateLimitOutput
func (QuotaRateLimitOutput) ToQuotaRateLimitOutputWithContext ¶
func (o QuotaRateLimitOutput) ToQuotaRateLimitOutputWithContext(ctx context.Context) QuotaRateLimitOutput
type QuotaRateLimitState ¶
type QuotaRateLimitState struct { // If set, when a client reaches a rate limit threshold, the client will // be prohibited from any further requests until after the 'block_interval' in seconds has elapsed. BlockInterval pulumi.IntPtrInput // If set to `true` on a quota where path is set to a namespace, the same quota will be cumulatively applied to all child namespace. The inheritable parameter cannot be set to `true` if the path does not specify a namespace. Only the quotas associated with the root namespace are inheritable by default. Requires Vault 1.15+. Inheritable pulumi.BoolPtrInput // The duration in seconds to enforce rate limiting for. Interval pulumi.IntPtrInput // Name of the rate limit quota Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured namespace. // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // Path of the mount or namespace to apply the quota. A blank path configures a // global rate limit quota. For example `namespace1/` adds a quota to a full namespace, // `namespace1/auth/userpass` adds a `quota` to `userpass` in `namespace1`. // Updating this field on an existing quota can have "moving" effects. For example, updating // `auth/userpass` to `namespace1/auth/userpass` moves this quota from being a global mount quota to // a namespace specific mount quota. **Note, namespaces are supported in Enterprise only.** Path pulumi.StringPtrInput // The maximum number of requests at any given second to be allowed by the quota // rule. The `rate` must be positive. Rate pulumi.Float64PtrInput // If set on a quota where `path` is set to an auth mount with a concept of roles (such as /auth/approle/), this will make the quota restrict login requests to that mount that are made with the specified role. Role pulumi.StringPtrInput }
func (QuotaRateLimitState) ElementType ¶
func (QuotaRateLimitState) ElementType() reflect.Type
type RaftAutopilot ¶
type RaftAutopilot struct { pulumi.CustomResourceState // Specifies whether to remove dead server nodes // periodically or when a new server joins. This requires that `min-quorum` is also set. CleanupDeadServers pulumi.BoolPtrOutput `pulumi:"cleanupDeadServers"` // Limit the amount of time a // server can go without leader contact before being considered failed. This only takes // effect when `cleanupDeadServers` is set. DeadServerLastContactThreshold pulumi.StringPtrOutput `pulumi:"deadServerLastContactThreshold"` // Disables automatically upgrading Vault using autopilot. (Enterprise-only) DisableUpgradeMigration pulumi.BoolPtrOutput `pulumi:"disableUpgradeMigration"` // Limit the amount of time a server can go // without leader contact before being considered unhealthy. LastContactThreshold pulumi.StringPtrOutput `pulumi:"lastContactThreshold"` // Maximum number of log entries in the Raft log // that a server can be behind its leader before being considered unhealthy. MaxTrailingLogs pulumi.IntPtrOutput `pulumi:"maxTrailingLogs"` // Minimum number of servers allowed in a cluster before // autopilot can prune dead servers. This should at least be 3. Applicable only for // voting nodes. MinQuorum pulumi.IntPtrOutput `pulumi:"minQuorum"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // Minimum amount of time a server must be // stable in the 'healthy' state before being added to the cluster. ServerStabilizationTime pulumi.StringPtrOutput `pulumi:"serverStabilizationTime"` }
Autopilot enables automated workflows for managing Raft clusters. The current feature set includes 3 main features: Server Stabilization, Dead Server Cleanup and State API. **These three features are introduced in Vault 1.7.**
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.NewRaftAutopilot(ctx, "autopilot", &vault.RaftAutopilotArgs{ CleanupDeadServers: pulumi.Bool(true), DeadServerLastContactThreshold: pulumi.String("24h0m0s"), LastContactThreshold: pulumi.String("10s"), MaxTrailingLogs: pulumi.Int(1000), MinQuorum: pulumi.Int(3), ServerStabilizationTime: pulumi.String("10s"), }) if err != nil { return err } return nil }) }
```
## Import
Raft Autopilot config can be imported using the ID, e.g.
```sh $ pulumi import vault:index/raftAutopilot:RaftAutopilot autopilot sys/storage/raft/autopilot/configuration ```
func GetRaftAutopilot ¶
func GetRaftAutopilot(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RaftAutopilotState, opts ...pulumi.ResourceOption) (*RaftAutopilot, error)
GetRaftAutopilot gets an existing RaftAutopilot 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 NewRaftAutopilot ¶
func NewRaftAutopilot(ctx *pulumi.Context, name string, args *RaftAutopilotArgs, opts ...pulumi.ResourceOption) (*RaftAutopilot, error)
NewRaftAutopilot registers a new resource with the given unique name, arguments, and options.
func (*RaftAutopilot) ElementType ¶
func (*RaftAutopilot) ElementType() reflect.Type
func (*RaftAutopilot) ToRaftAutopilotOutput ¶
func (i *RaftAutopilot) ToRaftAutopilotOutput() RaftAutopilotOutput
func (*RaftAutopilot) ToRaftAutopilotOutputWithContext ¶
func (i *RaftAutopilot) ToRaftAutopilotOutputWithContext(ctx context.Context) RaftAutopilotOutput
type RaftAutopilotArgs ¶
type RaftAutopilotArgs struct { // Specifies whether to remove dead server nodes // periodically or when a new server joins. This requires that `min-quorum` is also set. CleanupDeadServers pulumi.BoolPtrInput // Limit the amount of time a // server can go without leader contact before being considered failed. This only takes // effect when `cleanupDeadServers` is set. DeadServerLastContactThreshold pulumi.StringPtrInput // Disables automatically upgrading Vault using autopilot. (Enterprise-only) DisableUpgradeMigration pulumi.BoolPtrInput // Limit the amount of time a server can go // without leader contact before being considered unhealthy. LastContactThreshold pulumi.StringPtrInput // Maximum number of log entries in the Raft log // that a server can be behind its leader before being considered unhealthy. MaxTrailingLogs pulumi.IntPtrInput // Minimum number of servers allowed in a cluster before // autopilot can prune dead servers. This should at least be 3. Applicable only for // voting nodes. MinQuorum pulumi.IntPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // Minimum amount of time a server must be // stable in the 'healthy' state before being added to the cluster. ServerStabilizationTime pulumi.StringPtrInput }
The set of arguments for constructing a RaftAutopilot resource.
func (RaftAutopilotArgs) ElementType ¶
func (RaftAutopilotArgs) ElementType() reflect.Type
type RaftAutopilotArray ¶
type RaftAutopilotArray []RaftAutopilotInput
func (RaftAutopilotArray) ElementType ¶
func (RaftAutopilotArray) ElementType() reflect.Type
func (RaftAutopilotArray) ToRaftAutopilotArrayOutput ¶
func (i RaftAutopilotArray) ToRaftAutopilotArrayOutput() RaftAutopilotArrayOutput
func (RaftAutopilotArray) ToRaftAutopilotArrayOutputWithContext ¶
func (i RaftAutopilotArray) ToRaftAutopilotArrayOutputWithContext(ctx context.Context) RaftAutopilotArrayOutput
type RaftAutopilotArrayInput ¶
type RaftAutopilotArrayInput interface { pulumi.Input ToRaftAutopilotArrayOutput() RaftAutopilotArrayOutput ToRaftAutopilotArrayOutputWithContext(context.Context) RaftAutopilotArrayOutput }
RaftAutopilotArrayInput is an input type that accepts RaftAutopilotArray and RaftAutopilotArrayOutput values. You can construct a concrete instance of `RaftAutopilotArrayInput` via:
RaftAutopilotArray{ RaftAutopilotArgs{...} }
type RaftAutopilotArrayOutput ¶
type RaftAutopilotArrayOutput struct{ *pulumi.OutputState }
func (RaftAutopilotArrayOutput) ElementType ¶
func (RaftAutopilotArrayOutput) ElementType() reflect.Type
func (RaftAutopilotArrayOutput) Index ¶
func (o RaftAutopilotArrayOutput) Index(i pulumi.IntInput) RaftAutopilotOutput
func (RaftAutopilotArrayOutput) ToRaftAutopilotArrayOutput ¶
func (o RaftAutopilotArrayOutput) ToRaftAutopilotArrayOutput() RaftAutopilotArrayOutput
func (RaftAutopilotArrayOutput) ToRaftAutopilotArrayOutputWithContext ¶
func (o RaftAutopilotArrayOutput) ToRaftAutopilotArrayOutputWithContext(ctx context.Context) RaftAutopilotArrayOutput
type RaftAutopilotInput ¶
type RaftAutopilotInput interface { pulumi.Input ToRaftAutopilotOutput() RaftAutopilotOutput ToRaftAutopilotOutputWithContext(ctx context.Context) RaftAutopilotOutput }
type RaftAutopilotMap ¶
type RaftAutopilotMap map[string]RaftAutopilotInput
func (RaftAutopilotMap) ElementType ¶
func (RaftAutopilotMap) ElementType() reflect.Type
func (RaftAutopilotMap) ToRaftAutopilotMapOutput ¶
func (i RaftAutopilotMap) ToRaftAutopilotMapOutput() RaftAutopilotMapOutput
func (RaftAutopilotMap) ToRaftAutopilotMapOutputWithContext ¶
func (i RaftAutopilotMap) ToRaftAutopilotMapOutputWithContext(ctx context.Context) RaftAutopilotMapOutput
type RaftAutopilotMapInput ¶
type RaftAutopilotMapInput interface { pulumi.Input ToRaftAutopilotMapOutput() RaftAutopilotMapOutput ToRaftAutopilotMapOutputWithContext(context.Context) RaftAutopilotMapOutput }
RaftAutopilotMapInput is an input type that accepts RaftAutopilotMap and RaftAutopilotMapOutput values. You can construct a concrete instance of `RaftAutopilotMapInput` via:
RaftAutopilotMap{ "key": RaftAutopilotArgs{...} }
type RaftAutopilotMapOutput ¶
type RaftAutopilotMapOutput struct{ *pulumi.OutputState }
func (RaftAutopilotMapOutput) ElementType ¶
func (RaftAutopilotMapOutput) ElementType() reflect.Type
func (RaftAutopilotMapOutput) MapIndex ¶
func (o RaftAutopilotMapOutput) MapIndex(k pulumi.StringInput) RaftAutopilotOutput
func (RaftAutopilotMapOutput) ToRaftAutopilotMapOutput ¶
func (o RaftAutopilotMapOutput) ToRaftAutopilotMapOutput() RaftAutopilotMapOutput
func (RaftAutopilotMapOutput) ToRaftAutopilotMapOutputWithContext ¶
func (o RaftAutopilotMapOutput) ToRaftAutopilotMapOutputWithContext(ctx context.Context) RaftAutopilotMapOutput
type RaftAutopilotOutput ¶
type RaftAutopilotOutput struct{ *pulumi.OutputState }
func (RaftAutopilotOutput) CleanupDeadServers ¶
func (o RaftAutopilotOutput) CleanupDeadServers() pulumi.BoolPtrOutput
Specifies whether to remove dead server nodes periodically or when a new server joins. This requires that `min-quorum` is also set.
func (RaftAutopilotOutput) DeadServerLastContactThreshold ¶
func (o RaftAutopilotOutput) DeadServerLastContactThreshold() pulumi.StringPtrOutput
Limit the amount of time a server can go without leader contact before being considered failed. This only takes effect when `cleanupDeadServers` is set.
func (RaftAutopilotOutput) DisableUpgradeMigration ¶
func (o RaftAutopilotOutput) DisableUpgradeMigration() pulumi.BoolPtrOutput
Disables automatically upgrading Vault using autopilot. (Enterprise-only)
func (RaftAutopilotOutput) ElementType ¶
func (RaftAutopilotOutput) ElementType() reflect.Type
func (RaftAutopilotOutput) LastContactThreshold ¶
func (o RaftAutopilotOutput) LastContactThreshold() pulumi.StringPtrOutput
Limit the amount of time a server can go without leader contact before being considered unhealthy.
func (RaftAutopilotOutput) MaxTrailingLogs ¶
func (o RaftAutopilotOutput) MaxTrailingLogs() pulumi.IntPtrOutput
Maximum number of log entries in the Raft log that a server can be behind its leader before being considered unhealthy.
func (RaftAutopilotOutput) MinQuorum ¶
func (o RaftAutopilotOutput) MinQuorum() pulumi.IntPtrOutput
Minimum number of servers allowed in a cluster before autopilot can prune dead servers. This should at least be 3. Applicable only for voting nodes.
func (RaftAutopilotOutput) Namespace ¶
func (o RaftAutopilotOutput) Namespace() pulumi.StringPtrOutput
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). *Available only for Vault Enterprise*.
func (RaftAutopilotOutput) ServerStabilizationTime ¶
func (o RaftAutopilotOutput) ServerStabilizationTime() pulumi.StringPtrOutput
Minimum amount of time a server must be stable in the 'healthy' state before being added to the cluster.
func (RaftAutopilotOutput) ToRaftAutopilotOutput ¶
func (o RaftAutopilotOutput) ToRaftAutopilotOutput() RaftAutopilotOutput
func (RaftAutopilotOutput) ToRaftAutopilotOutputWithContext ¶
func (o RaftAutopilotOutput) ToRaftAutopilotOutputWithContext(ctx context.Context) RaftAutopilotOutput
type RaftAutopilotState ¶
type RaftAutopilotState struct { // Specifies whether to remove dead server nodes // periodically or when a new server joins. This requires that `min-quorum` is also set. CleanupDeadServers pulumi.BoolPtrInput // Limit the amount of time a // server can go without leader contact before being considered failed. This only takes // effect when `cleanupDeadServers` is set. DeadServerLastContactThreshold pulumi.StringPtrInput // Disables automatically upgrading Vault using autopilot. (Enterprise-only) DisableUpgradeMigration pulumi.BoolPtrInput // Limit the amount of time a server can go // without leader contact before being considered unhealthy. LastContactThreshold pulumi.StringPtrInput // Maximum number of log entries in the Raft log // that a server can be behind its leader before being considered unhealthy. MaxTrailingLogs pulumi.IntPtrInput // Minimum number of servers allowed in a cluster before // autopilot can prune dead servers. This should at least be 3. Applicable only for // voting nodes. MinQuorum pulumi.IntPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // Minimum amount of time a server must be // stable in the 'healthy' state before being added to the cluster. ServerStabilizationTime pulumi.StringPtrInput }
func (RaftAutopilotState) ElementType ¶
func (RaftAutopilotState) ElementType() reflect.Type
type RaftSnapshotAgentConfig ¶
type RaftSnapshotAgentConfig struct { pulumi.CustomResourceState // AWS access key ID. AwsAccessKeyId pulumi.StringPtrOutput `pulumi:"awsAccessKeyId"` // S3 bucket to write snapshots to. AwsS3Bucket pulumi.StringPtrOutput `pulumi:"awsS3Bucket"` // Disable TLS for the S3 endpoint. This should only be used for testing purposes. AwsS3DisableTls pulumi.BoolPtrOutput `pulumi:"awsS3DisableTls"` // Use KMS to encrypt bucket contents. AwsS3EnableKms pulumi.BoolPtrOutput `pulumi:"awsS3EnableKms"` // AWS endpoint. This is typically only set when using a non-AWS S3 implementation like Minio. AwsS3Endpoint pulumi.StringPtrOutput `pulumi:"awsS3Endpoint"` // Use the endpoint/bucket URL style instead of bucket.endpoint. AwsS3ForcePathStyle pulumi.BoolPtrOutput `pulumi:"awsS3ForcePathStyle"` // Use named KMS key, when aws_s3_enable_kms=true AwsS3KmsKey pulumi.StringPtrOutput `pulumi:"awsS3KmsKey"` // AWS region bucket is in. AwsS3Region pulumi.StringPtrOutput `pulumi:"awsS3Region"` // Use AES256 to encrypt bucket contents. AwsS3ServerSideEncryption pulumi.BoolPtrOutput `pulumi:"awsS3ServerSideEncryption"` // AWS secret access key. AwsSecretAccessKey pulumi.StringPtrOutput `pulumi:"awsSecretAccessKey"` // AWS session token. AwsSessionToken pulumi.StringPtrOutput `pulumi:"awsSessionToken"` // Azure account key. AzureAccountKey pulumi.StringPtrOutput `pulumi:"azureAccountKey"` // Azure account name. AzureAccountName pulumi.StringPtrOutput `pulumi:"azureAccountName"` // Azure blob environment. AzureBlobEnvironment pulumi.StringPtrOutput `pulumi:"azureBlobEnvironment"` // Azure container name to write snapshots to. AzureContainerName pulumi.StringPtrOutput `pulumi:"azureContainerName"` // Azure blob storage endpoint. This is typically only set when using a non-Azure implementation like Azurite. AzureEndpoint pulumi.StringPtrOutput `pulumi:"azureEndpoint"` // Within the directory or bucket // prefix given by `pathPrefix`, the file or object name of snapshot files // will start with this string. FilePrefix pulumi.StringPtrOutput `pulumi:"filePrefix"` // Disable TLS for the GCS endpoint. GoogleDisableTls pulumi.BoolPtrOutput `pulumi:"googleDisableTls"` // GCS endpoint. This is typically only set when using a non-Google GCS implementation like fake-gcs-server. GoogleEndpoint pulumi.StringPtrOutput `pulumi:"googleEndpoint"` // GCS bucket to write snapshots to. GoogleGcsBucket pulumi.StringPtrOutput `pulumi:"googleGcsBucket"` // Google service account key in JSON format. GoogleServiceAccountKey pulumi.StringPtrOutput `pulumi:"googleServiceAccountKey"` // `<required>` - Time (in seconds) between snapshots. IntervalSeconds pulumi.IntOutput `pulumi:"intervalSeconds"` // The maximum space, in bytes, to use for snapshots. LocalMaxSpace pulumi.IntPtrOutput `pulumi:"localMaxSpace"` // `<required>` – Name of the configuration to modify. Name pulumi.StringOutput `pulumi:"name"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // `<required>` - For `storageType = "local"`, the directory to // write the snapshots in. For cloud storage types, the bucket prefix to use. // Types `azure-s3` and `google-gcs` require a trailing `/` (slash). // Types `local` and `aws-s3` the trailing `/` is optional. PathPrefix pulumi.StringOutput `pulumi:"pathPrefix"` // How many snapshots are to be kept; when writing a // snapshot, if there are more snapshots already stored than this number, the // oldest ones will be deleted. Retain pulumi.IntPtrOutput `pulumi:"retain"` // `<required>` - One of "local", "azure-blob", "aws-s3", // or "google-gcs". The remaining parameters described below are all specific to // the selected `storageType` and prefixed accordingly. StorageType pulumi.StringOutput `pulumi:"storageType"` }
## Example Usage
### Local Storage ```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.NewRaftSnapshotAgentConfig(ctx, "local_backups", &vault.RaftSnapshotAgentConfigArgs{ Name: pulumi.String("local"), IntervalSeconds: pulumi.Int(86400), Retain: pulumi.Int(7), PathPrefix: pulumi.String("/opt/vault/snapshots/"), StorageType: pulumi.String("local"), LocalMaxSpace: pulumi.Int(10000000), }) if err != nil { return err } return nil }) }
```
### AWS S3 ```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws" "github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") awsAccessKeyId := cfg.RequireObject("awsAccessKeyId") awsSecretAccessKey := cfg.RequireObject("awsSecretAccessKey") current, err := aws.GetRegion(ctx, &aws.GetRegionArgs{}, nil) if err != nil { return err } _, err = vault.NewRaftSnapshotAgentConfig(ctx, "s3_backups", &vault.RaftSnapshotAgentConfigArgs{ Name: pulumi.String("s3"), IntervalSeconds: pulumi.Int(86400), Retain: pulumi.Int(7), PathPrefix: pulumi.String("/path/in/bucket"), StorageType: pulumi.String("aws-s3"), AwsS3Bucket: pulumi.String("my-bucket"), AwsS3Region: pulumi.String(current.Name), AwsAccessKeyId: pulumi.Any(awsAccessKeyId), AwsSecretAccessKey: pulumi.Any(awsSecretAccessKey), AwsS3EnableKms: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
```
### Azure BLOB
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") azureAccountName := cfg.RequireObject("azureAccountName") azureAccountKey := cfg.RequireObject("azureAccountKey") _, err := vault.NewRaftSnapshotAgentConfig(ctx, "azure_backups", &vault.RaftSnapshotAgentConfigArgs{ Name: pulumi.String("azure_backup"), IntervalSeconds: pulumi.Int(86400), Retain: pulumi.Int(7), PathPrefix: pulumi.String("/"), StorageType: pulumi.String("azure-blob"), AzureContainerName: pulumi.String("vault-blob"), AzureAccountName: pulumi.Any(azureAccountName), AzureAccountKey: pulumi.Any(azureAccountKey), }) if err != nil { return err } return nil }) }
```
## Import
Raft Snapshot Agent Configurations can be imported using the `name`, e.g.
```sh $ pulumi import vault:index/raftSnapshotAgentConfig:RaftSnapshotAgentConfig local local ```
func GetRaftSnapshotAgentConfig ¶
func GetRaftSnapshotAgentConfig(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RaftSnapshotAgentConfigState, opts ...pulumi.ResourceOption) (*RaftSnapshotAgentConfig, error)
GetRaftSnapshotAgentConfig gets an existing RaftSnapshotAgentConfig 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 NewRaftSnapshotAgentConfig ¶
func NewRaftSnapshotAgentConfig(ctx *pulumi.Context, name string, args *RaftSnapshotAgentConfigArgs, opts ...pulumi.ResourceOption) (*RaftSnapshotAgentConfig, error)
NewRaftSnapshotAgentConfig registers a new resource with the given unique name, arguments, and options.
func (*RaftSnapshotAgentConfig) ElementType ¶
func (*RaftSnapshotAgentConfig) ElementType() reflect.Type
func (*RaftSnapshotAgentConfig) ToRaftSnapshotAgentConfigOutput ¶
func (i *RaftSnapshotAgentConfig) ToRaftSnapshotAgentConfigOutput() RaftSnapshotAgentConfigOutput
func (*RaftSnapshotAgentConfig) ToRaftSnapshotAgentConfigOutputWithContext ¶
func (i *RaftSnapshotAgentConfig) ToRaftSnapshotAgentConfigOutputWithContext(ctx context.Context) RaftSnapshotAgentConfigOutput
type RaftSnapshotAgentConfigArgs ¶
type RaftSnapshotAgentConfigArgs struct { // AWS access key ID. AwsAccessKeyId pulumi.StringPtrInput // S3 bucket to write snapshots to. AwsS3Bucket pulumi.StringPtrInput // Disable TLS for the S3 endpoint. This should only be used for testing purposes. AwsS3DisableTls pulumi.BoolPtrInput // Use KMS to encrypt bucket contents. AwsS3EnableKms pulumi.BoolPtrInput // AWS endpoint. This is typically only set when using a non-AWS S3 implementation like Minio. AwsS3Endpoint pulumi.StringPtrInput // Use the endpoint/bucket URL style instead of bucket.endpoint. AwsS3ForcePathStyle pulumi.BoolPtrInput // Use named KMS key, when aws_s3_enable_kms=true AwsS3KmsKey pulumi.StringPtrInput // AWS region bucket is in. AwsS3Region pulumi.StringPtrInput // Use AES256 to encrypt bucket contents. AwsS3ServerSideEncryption pulumi.BoolPtrInput // AWS secret access key. AwsSecretAccessKey pulumi.StringPtrInput // AWS session token. AwsSessionToken pulumi.StringPtrInput // Azure account key. AzureAccountKey pulumi.StringPtrInput // Azure account name. AzureAccountName pulumi.StringPtrInput // Azure blob environment. AzureBlobEnvironment pulumi.StringPtrInput // Azure container name to write snapshots to. AzureContainerName pulumi.StringPtrInput // Azure blob storage endpoint. This is typically only set when using a non-Azure implementation like Azurite. AzureEndpoint pulumi.StringPtrInput // Within the directory or bucket // prefix given by `pathPrefix`, the file or object name of snapshot files // will start with this string. FilePrefix pulumi.StringPtrInput // Disable TLS for the GCS endpoint. GoogleDisableTls pulumi.BoolPtrInput // GCS endpoint. This is typically only set when using a non-Google GCS implementation like fake-gcs-server. GoogleEndpoint pulumi.StringPtrInput // GCS bucket to write snapshots to. GoogleGcsBucket pulumi.StringPtrInput // Google service account key in JSON format. GoogleServiceAccountKey pulumi.StringPtrInput // `<required>` - Time (in seconds) between snapshots. IntervalSeconds pulumi.IntInput // The maximum space, in bytes, to use for snapshots. LocalMaxSpace pulumi.IntPtrInput // `<required>` – Name of the configuration to modify. Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // `<required>` - For `storageType = "local"`, the directory to // write the snapshots in. For cloud storage types, the bucket prefix to use. // Types `azure-s3` and `google-gcs` require a trailing `/` (slash). // Types `local` and `aws-s3` the trailing `/` is optional. PathPrefix pulumi.StringInput // How many snapshots are to be kept; when writing a // snapshot, if there are more snapshots already stored than this number, the // oldest ones will be deleted. Retain pulumi.IntPtrInput // `<required>` - One of "local", "azure-blob", "aws-s3", // or "google-gcs". The remaining parameters described below are all specific to // the selected `storageType` and prefixed accordingly. StorageType pulumi.StringInput }
The set of arguments for constructing a RaftSnapshotAgentConfig resource.
func (RaftSnapshotAgentConfigArgs) ElementType ¶
func (RaftSnapshotAgentConfigArgs) ElementType() reflect.Type
type RaftSnapshotAgentConfigArray ¶
type RaftSnapshotAgentConfigArray []RaftSnapshotAgentConfigInput
func (RaftSnapshotAgentConfigArray) ElementType ¶
func (RaftSnapshotAgentConfigArray) ElementType() reflect.Type
func (RaftSnapshotAgentConfigArray) ToRaftSnapshotAgentConfigArrayOutput ¶
func (i RaftSnapshotAgentConfigArray) ToRaftSnapshotAgentConfigArrayOutput() RaftSnapshotAgentConfigArrayOutput
func (RaftSnapshotAgentConfigArray) ToRaftSnapshotAgentConfigArrayOutputWithContext ¶
func (i RaftSnapshotAgentConfigArray) ToRaftSnapshotAgentConfigArrayOutputWithContext(ctx context.Context) RaftSnapshotAgentConfigArrayOutput
type RaftSnapshotAgentConfigArrayInput ¶
type RaftSnapshotAgentConfigArrayInput interface { pulumi.Input ToRaftSnapshotAgentConfigArrayOutput() RaftSnapshotAgentConfigArrayOutput ToRaftSnapshotAgentConfigArrayOutputWithContext(context.Context) RaftSnapshotAgentConfigArrayOutput }
RaftSnapshotAgentConfigArrayInput is an input type that accepts RaftSnapshotAgentConfigArray and RaftSnapshotAgentConfigArrayOutput values. You can construct a concrete instance of `RaftSnapshotAgentConfigArrayInput` via:
RaftSnapshotAgentConfigArray{ RaftSnapshotAgentConfigArgs{...} }
type RaftSnapshotAgentConfigArrayOutput ¶
type RaftSnapshotAgentConfigArrayOutput struct{ *pulumi.OutputState }
func (RaftSnapshotAgentConfigArrayOutput) ElementType ¶
func (RaftSnapshotAgentConfigArrayOutput) ElementType() reflect.Type
func (RaftSnapshotAgentConfigArrayOutput) Index ¶
func (o RaftSnapshotAgentConfigArrayOutput) Index(i pulumi.IntInput) RaftSnapshotAgentConfigOutput
func (RaftSnapshotAgentConfigArrayOutput) ToRaftSnapshotAgentConfigArrayOutput ¶
func (o RaftSnapshotAgentConfigArrayOutput) ToRaftSnapshotAgentConfigArrayOutput() RaftSnapshotAgentConfigArrayOutput
func (RaftSnapshotAgentConfigArrayOutput) ToRaftSnapshotAgentConfigArrayOutputWithContext ¶
func (o RaftSnapshotAgentConfigArrayOutput) ToRaftSnapshotAgentConfigArrayOutputWithContext(ctx context.Context) RaftSnapshotAgentConfigArrayOutput
type RaftSnapshotAgentConfigInput ¶
type RaftSnapshotAgentConfigInput interface { pulumi.Input ToRaftSnapshotAgentConfigOutput() RaftSnapshotAgentConfigOutput ToRaftSnapshotAgentConfigOutputWithContext(ctx context.Context) RaftSnapshotAgentConfigOutput }
type RaftSnapshotAgentConfigMap ¶
type RaftSnapshotAgentConfigMap map[string]RaftSnapshotAgentConfigInput
func (RaftSnapshotAgentConfigMap) ElementType ¶
func (RaftSnapshotAgentConfigMap) ElementType() reflect.Type
func (RaftSnapshotAgentConfigMap) ToRaftSnapshotAgentConfigMapOutput ¶
func (i RaftSnapshotAgentConfigMap) ToRaftSnapshotAgentConfigMapOutput() RaftSnapshotAgentConfigMapOutput
func (RaftSnapshotAgentConfigMap) ToRaftSnapshotAgentConfigMapOutputWithContext ¶
func (i RaftSnapshotAgentConfigMap) ToRaftSnapshotAgentConfigMapOutputWithContext(ctx context.Context) RaftSnapshotAgentConfigMapOutput
type RaftSnapshotAgentConfigMapInput ¶
type RaftSnapshotAgentConfigMapInput interface { pulumi.Input ToRaftSnapshotAgentConfigMapOutput() RaftSnapshotAgentConfigMapOutput ToRaftSnapshotAgentConfigMapOutputWithContext(context.Context) RaftSnapshotAgentConfigMapOutput }
RaftSnapshotAgentConfigMapInput is an input type that accepts RaftSnapshotAgentConfigMap and RaftSnapshotAgentConfigMapOutput values. You can construct a concrete instance of `RaftSnapshotAgentConfigMapInput` via:
RaftSnapshotAgentConfigMap{ "key": RaftSnapshotAgentConfigArgs{...} }
type RaftSnapshotAgentConfigMapOutput ¶
type RaftSnapshotAgentConfigMapOutput struct{ *pulumi.OutputState }
func (RaftSnapshotAgentConfigMapOutput) ElementType ¶
func (RaftSnapshotAgentConfigMapOutput) ElementType() reflect.Type
func (RaftSnapshotAgentConfigMapOutput) MapIndex ¶
func (o RaftSnapshotAgentConfigMapOutput) MapIndex(k pulumi.StringInput) RaftSnapshotAgentConfigOutput
func (RaftSnapshotAgentConfigMapOutput) ToRaftSnapshotAgentConfigMapOutput ¶
func (o RaftSnapshotAgentConfigMapOutput) ToRaftSnapshotAgentConfigMapOutput() RaftSnapshotAgentConfigMapOutput
func (RaftSnapshotAgentConfigMapOutput) ToRaftSnapshotAgentConfigMapOutputWithContext ¶
func (o RaftSnapshotAgentConfigMapOutput) ToRaftSnapshotAgentConfigMapOutputWithContext(ctx context.Context) RaftSnapshotAgentConfigMapOutput
type RaftSnapshotAgentConfigOutput ¶
type RaftSnapshotAgentConfigOutput struct{ *pulumi.OutputState }
func (RaftSnapshotAgentConfigOutput) AwsAccessKeyId ¶
func (o RaftSnapshotAgentConfigOutput) AwsAccessKeyId() pulumi.StringPtrOutput
AWS access key ID.
func (RaftSnapshotAgentConfigOutput) AwsS3Bucket ¶
func (o RaftSnapshotAgentConfigOutput) AwsS3Bucket() pulumi.StringPtrOutput
S3 bucket to write snapshots to.
func (RaftSnapshotAgentConfigOutput) AwsS3DisableTls ¶
func (o RaftSnapshotAgentConfigOutput) AwsS3DisableTls() pulumi.BoolPtrOutput
Disable TLS for the S3 endpoint. This should only be used for testing purposes.
func (RaftSnapshotAgentConfigOutput) AwsS3EnableKms ¶
func (o RaftSnapshotAgentConfigOutput) AwsS3EnableKms() pulumi.BoolPtrOutput
Use KMS to encrypt bucket contents.
func (RaftSnapshotAgentConfigOutput) AwsS3Endpoint ¶
func (o RaftSnapshotAgentConfigOutput) AwsS3Endpoint() pulumi.StringPtrOutput
AWS endpoint. This is typically only set when using a non-AWS S3 implementation like Minio.
func (RaftSnapshotAgentConfigOutput) AwsS3ForcePathStyle ¶
func (o RaftSnapshotAgentConfigOutput) AwsS3ForcePathStyle() pulumi.BoolPtrOutput
Use the endpoint/bucket URL style instead of bucket.endpoint.
func (RaftSnapshotAgentConfigOutput) AwsS3KmsKey ¶
func (o RaftSnapshotAgentConfigOutput) AwsS3KmsKey() pulumi.StringPtrOutput
Use named KMS key, when aws_s3_enable_kms=true
func (RaftSnapshotAgentConfigOutput) AwsS3Region ¶
func (o RaftSnapshotAgentConfigOutput) AwsS3Region() pulumi.StringPtrOutput
AWS region bucket is in.
func (RaftSnapshotAgentConfigOutput) AwsS3ServerSideEncryption ¶
func (o RaftSnapshotAgentConfigOutput) AwsS3ServerSideEncryption() pulumi.BoolPtrOutput
Use AES256 to encrypt bucket contents.
func (RaftSnapshotAgentConfigOutput) AwsSecretAccessKey ¶
func (o RaftSnapshotAgentConfigOutput) AwsSecretAccessKey() pulumi.StringPtrOutput
AWS secret access key.
func (RaftSnapshotAgentConfigOutput) AwsSessionToken ¶
func (o RaftSnapshotAgentConfigOutput) AwsSessionToken() pulumi.StringPtrOutput
AWS session token.
func (RaftSnapshotAgentConfigOutput) AzureAccountKey ¶
func (o RaftSnapshotAgentConfigOutput) AzureAccountKey() pulumi.StringPtrOutput
Azure account key.
func (RaftSnapshotAgentConfigOutput) AzureAccountName ¶
func (o RaftSnapshotAgentConfigOutput) AzureAccountName() pulumi.StringPtrOutput
Azure account name.
func (RaftSnapshotAgentConfigOutput) AzureBlobEnvironment ¶
func (o RaftSnapshotAgentConfigOutput) AzureBlobEnvironment() pulumi.StringPtrOutput
Azure blob environment.
func (RaftSnapshotAgentConfigOutput) AzureContainerName ¶
func (o RaftSnapshotAgentConfigOutput) AzureContainerName() pulumi.StringPtrOutput
Azure container name to write snapshots to.
func (RaftSnapshotAgentConfigOutput) AzureEndpoint ¶
func (o RaftSnapshotAgentConfigOutput) AzureEndpoint() pulumi.StringPtrOutput
Azure blob storage endpoint. This is typically only set when using a non-Azure implementation like Azurite.
func (RaftSnapshotAgentConfigOutput) ElementType ¶
func (RaftSnapshotAgentConfigOutput) ElementType() reflect.Type
func (RaftSnapshotAgentConfigOutput) FilePrefix ¶
func (o RaftSnapshotAgentConfigOutput) FilePrefix() pulumi.StringPtrOutput
Within the directory or bucket prefix given by `pathPrefix`, the file or object name of snapshot files will start with this string.
func (RaftSnapshotAgentConfigOutput) GoogleDisableTls ¶
func (o RaftSnapshotAgentConfigOutput) GoogleDisableTls() pulumi.BoolPtrOutput
Disable TLS for the GCS endpoint.
func (RaftSnapshotAgentConfigOutput) GoogleEndpoint ¶
func (o RaftSnapshotAgentConfigOutput) GoogleEndpoint() pulumi.StringPtrOutput
GCS endpoint. This is typically only set when using a non-Google GCS implementation like fake-gcs-server.
func (RaftSnapshotAgentConfigOutput) GoogleGcsBucket ¶
func (o RaftSnapshotAgentConfigOutput) GoogleGcsBucket() pulumi.StringPtrOutput
GCS bucket to write snapshots to.
func (RaftSnapshotAgentConfigOutput) GoogleServiceAccountKey ¶
func (o RaftSnapshotAgentConfigOutput) GoogleServiceAccountKey() pulumi.StringPtrOutput
Google service account key in JSON format.
func (RaftSnapshotAgentConfigOutput) IntervalSeconds ¶
func (o RaftSnapshotAgentConfigOutput) IntervalSeconds() pulumi.IntOutput
`<required>` - Time (in seconds) between snapshots.
func (RaftSnapshotAgentConfigOutput) LocalMaxSpace ¶
func (o RaftSnapshotAgentConfigOutput) LocalMaxSpace() pulumi.IntPtrOutput
The maximum space, in bytes, to use for snapshots.
func (RaftSnapshotAgentConfigOutput) Name ¶
func (o RaftSnapshotAgentConfigOutput) Name() pulumi.StringOutput
`<required>` – Name of the configuration to modify.
func (RaftSnapshotAgentConfigOutput) Namespace ¶
func (o RaftSnapshotAgentConfigOutput) Namespace() pulumi.StringPtrOutput
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). *Available only for Vault Enterprise*.
func (RaftSnapshotAgentConfigOutput) PathPrefix ¶
func (o RaftSnapshotAgentConfigOutput) PathPrefix() pulumi.StringOutput
`<required>` - For `storageType = "local"`, the directory to write the snapshots in. For cloud storage types, the bucket prefix to use. Types `azure-s3` and `google-gcs` require a trailing `/` (slash). Types `local` and `aws-s3` the trailing `/` is optional.
func (RaftSnapshotAgentConfigOutput) Retain ¶
func (o RaftSnapshotAgentConfigOutput) Retain() pulumi.IntPtrOutput
How many snapshots are to be kept; when writing a snapshot, if there are more snapshots already stored than this number, the oldest ones will be deleted.
func (RaftSnapshotAgentConfigOutput) StorageType ¶
func (o RaftSnapshotAgentConfigOutput) StorageType() pulumi.StringOutput
`<required>` - One of "local", "azure-blob", "aws-s3", or "google-gcs". The remaining parameters described below are all specific to the selected `storageType` and prefixed accordingly.
func (RaftSnapshotAgentConfigOutput) ToRaftSnapshotAgentConfigOutput ¶
func (o RaftSnapshotAgentConfigOutput) ToRaftSnapshotAgentConfigOutput() RaftSnapshotAgentConfigOutput
func (RaftSnapshotAgentConfigOutput) ToRaftSnapshotAgentConfigOutputWithContext ¶
func (o RaftSnapshotAgentConfigOutput) ToRaftSnapshotAgentConfigOutputWithContext(ctx context.Context) RaftSnapshotAgentConfigOutput
type RaftSnapshotAgentConfigState ¶
type RaftSnapshotAgentConfigState struct { // AWS access key ID. AwsAccessKeyId pulumi.StringPtrInput // S3 bucket to write snapshots to. AwsS3Bucket pulumi.StringPtrInput // Disable TLS for the S3 endpoint. This should only be used for testing purposes. AwsS3DisableTls pulumi.BoolPtrInput // Use KMS to encrypt bucket contents. AwsS3EnableKms pulumi.BoolPtrInput // AWS endpoint. This is typically only set when using a non-AWS S3 implementation like Minio. AwsS3Endpoint pulumi.StringPtrInput // Use the endpoint/bucket URL style instead of bucket.endpoint. AwsS3ForcePathStyle pulumi.BoolPtrInput // Use named KMS key, when aws_s3_enable_kms=true AwsS3KmsKey pulumi.StringPtrInput // AWS region bucket is in. AwsS3Region pulumi.StringPtrInput // Use AES256 to encrypt bucket contents. AwsS3ServerSideEncryption pulumi.BoolPtrInput // AWS secret access key. AwsSecretAccessKey pulumi.StringPtrInput // AWS session token. AwsSessionToken pulumi.StringPtrInput // Azure account key. AzureAccountKey pulumi.StringPtrInput // Azure account name. AzureAccountName pulumi.StringPtrInput // Azure blob environment. AzureBlobEnvironment pulumi.StringPtrInput // Azure container name to write snapshots to. AzureContainerName pulumi.StringPtrInput // Azure blob storage endpoint. This is typically only set when using a non-Azure implementation like Azurite. AzureEndpoint pulumi.StringPtrInput // Within the directory or bucket // prefix given by `pathPrefix`, the file or object name of snapshot files // will start with this string. FilePrefix pulumi.StringPtrInput // Disable TLS for the GCS endpoint. GoogleDisableTls pulumi.BoolPtrInput // GCS endpoint. This is typically only set when using a non-Google GCS implementation like fake-gcs-server. GoogleEndpoint pulumi.StringPtrInput // GCS bucket to write snapshots to. GoogleGcsBucket pulumi.StringPtrInput // Google service account key in JSON format. GoogleServiceAccountKey pulumi.StringPtrInput // `<required>` - Time (in seconds) between snapshots. IntervalSeconds pulumi.IntPtrInput // The maximum space, in bytes, to use for snapshots. LocalMaxSpace pulumi.IntPtrInput // `<required>` – Name of the configuration to modify. Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // `<required>` - For `storageType = "local"`, the directory to // write the snapshots in. For cloud storage types, the bucket prefix to use. // Types `azure-s3` and `google-gcs` require a trailing `/` (slash). // Types `local` and `aws-s3` the trailing `/` is optional. PathPrefix pulumi.StringPtrInput // How many snapshots are to be kept; when writing a // snapshot, if there are more snapshots already stored than this number, the // oldest ones will be deleted. Retain pulumi.IntPtrInput // `<required>` - One of "local", "azure-blob", "aws-s3", // or "google-gcs". The remaining parameters described below are all specific to // the selected `storageType` and prefixed accordingly. StorageType pulumi.StringPtrInput }
func (RaftSnapshotAgentConfigState) ElementType ¶
func (RaftSnapshotAgentConfigState) ElementType() reflect.Type
type RgpPolicy ¶
type RgpPolicy struct { pulumi.CustomResourceState // Enforcement level of Sentinel policy. Can be either `advisory` or `soft-mandatory` or `hard-mandatory` EnforcementLevel pulumi.StringOutput `pulumi:"enforcementLevel"` // The name of the policy Name pulumi.StringOutput `pulumi:"name"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // String containing a Sentinel policy Policy pulumi.StringOutput `pulumi:"policy"` }
Provides a resource to manage Role Governing Policy (RGP) via [Sentinel](https://www.vaultproject.io/docs/enterprise/sentinel/index.html).
**Note** this feature is available only with Vault Enterprise.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.NewRgpPolicy(ctx, "allow-all", &vault.RgpPolicyArgs{ Name: pulumi.String("allow-all"), EnforcementLevel: pulumi.String("soft-mandatory"), Policy: pulumi.String("main = rule {\n true\n}\n"), }) if err != nil { return err } return nil }) }
```
func GetRgpPolicy ¶
func GetRgpPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RgpPolicyState, opts ...pulumi.ResourceOption) (*RgpPolicy, error)
GetRgpPolicy gets an existing RgpPolicy 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 NewRgpPolicy ¶
func NewRgpPolicy(ctx *pulumi.Context, name string, args *RgpPolicyArgs, opts ...pulumi.ResourceOption) (*RgpPolicy, error)
NewRgpPolicy registers a new resource with the given unique name, arguments, and options.
func (*RgpPolicy) ElementType ¶
func (*RgpPolicy) ToRgpPolicyOutput ¶
func (i *RgpPolicy) ToRgpPolicyOutput() RgpPolicyOutput
func (*RgpPolicy) ToRgpPolicyOutputWithContext ¶
func (i *RgpPolicy) ToRgpPolicyOutputWithContext(ctx context.Context) RgpPolicyOutput
type RgpPolicyArgs ¶
type RgpPolicyArgs struct { // Enforcement level of Sentinel policy. Can be either `advisory` or `soft-mandatory` or `hard-mandatory` EnforcementLevel pulumi.StringInput // The name of the policy Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // String containing a Sentinel policy Policy pulumi.StringInput }
The set of arguments for constructing a RgpPolicy resource.
func (RgpPolicyArgs) ElementType ¶
func (RgpPolicyArgs) ElementType() reflect.Type
type RgpPolicyArray ¶
type RgpPolicyArray []RgpPolicyInput
func (RgpPolicyArray) ElementType ¶
func (RgpPolicyArray) ElementType() reflect.Type
func (RgpPolicyArray) ToRgpPolicyArrayOutput ¶
func (i RgpPolicyArray) ToRgpPolicyArrayOutput() RgpPolicyArrayOutput
func (RgpPolicyArray) ToRgpPolicyArrayOutputWithContext ¶
func (i RgpPolicyArray) ToRgpPolicyArrayOutputWithContext(ctx context.Context) RgpPolicyArrayOutput
type RgpPolicyArrayInput ¶
type RgpPolicyArrayInput interface { pulumi.Input ToRgpPolicyArrayOutput() RgpPolicyArrayOutput ToRgpPolicyArrayOutputWithContext(context.Context) RgpPolicyArrayOutput }
RgpPolicyArrayInput is an input type that accepts RgpPolicyArray and RgpPolicyArrayOutput values. You can construct a concrete instance of `RgpPolicyArrayInput` via:
RgpPolicyArray{ RgpPolicyArgs{...} }
type RgpPolicyArrayOutput ¶
type RgpPolicyArrayOutput struct{ *pulumi.OutputState }
func (RgpPolicyArrayOutput) ElementType ¶
func (RgpPolicyArrayOutput) ElementType() reflect.Type
func (RgpPolicyArrayOutput) Index ¶
func (o RgpPolicyArrayOutput) Index(i pulumi.IntInput) RgpPolicyOutput
func (RgpPolicyArrayOutput) ToRgpPolicyArrayOutput ¶
func (o RgpPolicyArrayOutput) ToRgpPolicyArrayOutput() RgpPolicyArrayOutput
func (RgpPolicyArrayOutput) ToRgpPolicyArrayOutputWithContext ¶
func (o RgpPolicyArrayOutput) ToRgpPolicyArrayOutputWithContext(ctx context.Context) RgpPolicyArrayOutput
type RgpPolicyInput ¶
type RgpPolicyInput interface { pulumi.Input ToRgpPolicyOutput() RgpPolicyOutput ToRgpPolicyOutputWithContext(ctx context.Context) RgpPolicyOutput }
type RgpPolicyMap ¶
type RgpPolicyMap map[string]RgpPolicyInput
func (RgpPolicyMap) ElementType ¶
func (RgpPolicyMap) ElementType() reflect.Type
func (RgpPolicyMap) ToRgpPolicyMapOutput ¶
func (i RgpPolicyMap) ToRgpPolicyMapOutput() RgpPolicyMapOutput
func (RgpPolicyMap) ToRgpPolicyMapOutputWithContext ¶
func (i RgpPolicyMap) ToRgpPolicyMapOutputWithContext(ctx context.Context) RgpPolicyMapOutput
type RgpPolicyMapInput ¶
type RgpPolicyMapInput interface { pulumi.Input ToRgpPolicyMapOutput() RgpPolicyMapOutput ToRgpPolicyMapOutputWithContext(context.Context) RgpPolicyMapOutput }
RgpPolicyMapInput is an input type that accepts RgpPolicyMap and RgpPolicyMapOutput values. You can construct a concrete instance of `RgpPolicyMapInput` via:
RgpPolicyMap{ "key": RgpPolicyArgs{...} }
type RgpPolicyMapOutput ¶
type RgpPolicyMapOutput struct{ *pulumi.OutputState }
func (RgpPolicyMapOutput) ElementType ¶
func (RgpPolicyMapOutput) ElementType() reflect.Type
func (RgpPolicyMapOutput) MapIndex ¶
func (o RgpPolicyMapOutput) MapIndex(k pulumi.StringInput) RgpPolicyOutput
func (RgpPolicyMapOutput) ToRgpPolicyMapOutput ¶
func (o RgpPolicyMapOutput) ToRgpPolicyMapOutput() RgpPolicyMapOutput
func (RgpPolicyMapOutput) ToRgpPolicyMapOutputWithContext ¶
func (o RgpPolicyMapOutput) ToRgpPolicyMapOutputWithContext(ctx context.Context) RgpPolicyMapOutput
type RgpPolicyOutput ¶
type RgpPolicyOutput struct{ *pulumi.OutputState }
func (RgpPolicyOutput) ElementType ¶
func (RgpPolicyOutput) ElementType() reflect.Type
func (RgpPolicyOutput) EnforcementLevel ¶
func (o RgpPolicyOutput) EnforcementLevel() pulumi.StringOutput
Enforcement level of Sentinel policy. Can be either `advisory` or `soft-mandatory` or `hard-mandatory`
func (RgpPolicyOutput) Name ¶
func (o RgpPolicyOutput) Name() pulumi.StringOutput
The name of the policy
func (RgpPolicyOutput) Namespace ¶
func (o RgpPolicyOutput) Namespace() pulumi.StringPtrOutput
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). *Available only for Vault Enterprise*.
func (RgpPolicyOutput) Policy ¶
func (o RgpPolicyOutput) Policy() pulumi.StringOutput
String containing a Sentinel policy
func (RgpPolicyOutput) ToRgpPolicyOutput ¶
func (o RgpPolicyOutput) ToRgpPolicyOutput() RgpPolicyOutput
func (RgpPolicyOutput) ToRgpPolicyOutputWithContext ¶
func (o RgpPolicyOutput) ToRgpPolicyOutputWithContext(ctx context.Context) RgpPolicyOutput
type RgpPolicyState ¶
type RgpPolicyState struct { // Enforcement level of Sentinel policy. Can be either `advisory` or `soft-mandatory` or `hard-mandatory` EnforcementLevel pulumi.StringPtrInput // The name of the policy Name pulumi.StringPtrInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // String containing a Sentinel policy Policy pulumi.StringPtrInput }
func (RgpPolicyState) ElementType ¶
func (RgpPolicyState) ElementType() reflect.Type
type Token ¶
type Token struct { pulumi.CustomResourceState // String containing the client token if stored in present file ClientToken pulumi.StringOutput `pulumi:"clientToken"` // String containing the token display name DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` // The explicit max TTL of this token. This is specified as a numeric string with suffix like "30s" ro "5m" ExplicitMaxTtl pulumi.StringPtrOutput `pulumi:"explicitMaxTtl"` // String containing the token lease duration if present in state file LeaseDuration pulumi.IntOutput `pulumi:"leaseDuration"` // String containing the token lease started time if present in state file LeaseStarted pulumi.StringOutput `pulumi:"leaseStarted"` // Metadata to be set on this token Metadata pulumi.StringMapOutput `pulumi:"metadata"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // Flag to not attach the default policy to this token NoDefaultPolicy pulumi.BoolPtrOutput `pulumi:"noDefaultPolicy"` // Flag to create a token without parent NoParent pulumi.BoolOutput `pulumi:"noParent"` // The number of allowed uses of this token NumUses pulumi.IntOutput `pulumi:"numUses"` // The period of this token. This is specified as a numeric string with suffix like "30s" ro "5m" Period pulumi.StringPtrOutput `pulumi:"period"` // List of policies to attach to this token Policies pulumi.StringArrayOutput `pulumi:"policies"` // The renew increment. This is specified in seconds RenewIncrement pulumi.IntPtrOutput `pulumi:"renewIncrement"` // The minimal lease to renew this token RenewMinLease pulumi.IntPtrOutput `pulumi:"renewMinLease"` // Flag to allow to renew this token Renewable pulumi.BoolOutput `pulumi:"renewable"` // The token role name RoleName pulumi.StringPtrOutput `pulumi:"roleName"` // The TTL period of this token. This is specified as a numeric string with suffix like "30s" ro "5m" Ttl pulumi.StringPtrOutput `pulumi:"ttl"` // The client wrapped token. WrappedToken pulumi.StringOutput `pulumi:"wrappedToken"` // The client wrapping accessor. WrappingAccessor pulumi.StringOutput `pulumi:"wrappingAccessor"` // The TTL period of the wrapped token. WrappingTtl pulumi.StringPtrOutput `pulumi:"wrappingTtl"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.NewToken(ctx, "example", &vault.TokenArgs{ RoleName: pulumi.String("app"), Policies: pulumi.StringArray{ pulumi.String("policy1"), pulumi.String("policy2"), }, Renewable: pulumi.Bool(true), Ttl: pulumi.String("24h"), RenewMinLease: pulumi.Int(43200), RenewIncrement: pulumi.Int(86400), Metadata: pulumi.StringMap{ "purpose": pulumi.String("service-account"), }, }) if err != nil { return err } return nil }) }
```
## Import
Tokens can be imported using its `id` as accessor id, e.g.
```sh $ pulumi import vault:index/token:Token example <accessor_id> ```
func GetToken ¶
func GetToken(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TokenState, opts ...pulumi.ResourceOption) (*Token, error)
GetToken gets an existing Token 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 NewToken ¶
func NewToken(ctx *pulumi.Context, name string, args *TokenArgs, opts ...pulumi.ResourceOption) (*Token, error)
NewToken registers a new resource with the given unique name, arguments, and options.
func (*Token) ElementType ¶
func (*Token) ToTokenOutput ¶
func (i *Token) ToTokenOutput() TokenOutput
func (*Token) ToTokenOutputWithContext ¶
func (i *Token) ToTokenOutputWithContext(ctx context.Context) TokenOutput
type TokenArgs ¶
type TokenArgs struct { // String containing the token display name DisplayName pulumi.StringPtrInput // The explicit max TTL of this token. This is specified as a numeric string with suffix like "30s" ro "5m" ExplicitMaxTtl pulumi.StringPtrInput // Metadata to be set on this token Metadata pulumi.StringMapInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // Flag to not attach the default policy to this token NoDefaultPolicy pulumi.BoolPtrInput // Flag to create a token without parent NoParent pulumi.BoolPtrInput // The number of allowed uses of this token NumUses pulumi.IntPtrInput // The period of this token. This is specified as a numeric string with suffix like "30s" ro "5m" Period pulumi.StringPtrInput // List of policies to attach to this token Policies pulumi.StringArrayInput // The renew increment. This is specified in seconds RenewIncrement pulumi.IntPtrInput // The minimal lease to renew this token RenewMinLease pulumi.IntPtrInput // Flag to allow to renew this token Renewable pulumi.BoolPtrInput // The token role name RoleName pulumi.StringPtrInput // The TTL period of this token. This is specified as a numeric string with suffix like "30s" ro "5m" Ttl pulumi.StringPtrInput // The TTL period of the wrapped token. WrappingTtl pulumi.StringPtrInput }
The set of arguments for constructing a Token resource.
func (TokenArgs) ElementType ¶
type TokenArray ¶
type TokenArray []TokenInput
func (TokenArray) ElementType ¶
func (TokenArray) ElementType() reflect.Type
func (TokenArray) ToTokenArrayOutput ¶
func (i TokenArray) ToTokenArrayOutput() TokenArrayOutput
func (TokenArray) ToTokenArrayOutputWithContext ¶
func (i TokenArray) ToTokenArrayOutputWithContext(ctx context.Context) TokenArrayOutput
type TokenArrayInput ¶
type TokenArrayInput interface { pulumi.Input ToTokenArrayOutput() TokenArrayOutput ToTokenArrayOutputWithContext(context.Context) TokenArrayOutput }
TokenArrayInput is an input type that accepts TokenArray and TokenArrayOutput values. You can construct a concrete instance of `TokenArrayInput` via:
TokenArray{ TokenArgs{...} }
type TokenArrayOutput ¶
type TokenArrayOutput struct{ *pulumi.OutputState }
func (TokenArrayOutput) ElementType ¶
func (TokenArrayOutput) ElementType() reflect.Type
func (TokenArrayOutput) Index ¶
func (o TokenArrayOutput) Index(i pulumi.IntInput) TokenOutput
func (TokenArrayOutput) ToTokenArrayOutput ¶
func (o TokenArrayOutput) ToTokenArrayOutput() TokenArrayOutput
func (TokenArrayOutput) ToTokenArrayOutputWithContext ¶
func (o TokenArrayOutput) ToTokenArrayOutputWithContext(ctx context.Context) TokenArrayOutput
type TokenInput ¶
type TokenInput interface { pulumi.Input ToTokenOutput() TokenOutput ToTokenOutputWithContext(ctx context.Context) TokenOutput }
type TokenMap ¶
type TokenMap map[string]TokenInput
func (TokenMap) ElementType ¶
func (TokenMap) ToTokenMapOutput ¶
func (i TokenMap) ToTokenMapOutput() TokenMapOutput
func (TokenMap) ToTokenMapOutputWithContext ¶
func (i TokenMap) ToTokenMapOutputWithContext(ctx context.Context) TokenMapOutput
type TokenMapInput ¶
type TokenMapInput interface { pulumi.Input ToTokenMapOutput() TokenMapOutput ToTokenMapOutputWithContext(context.Context) TokenMapOutput }
TokenMapInput is an input type that accepts TokenMap and TokenMapOutput values. You can construct a concrete instance of `TokenMapInput` via:
TokenMap{ "key": TokenArgs{...} }
type TokenMapOutput ¶
type TokenMapOutput struct{ *pulumi.OutputState }
func (TokenMapOutput) ElementType ¶
func (TokenMapOutput) ElementType() reflect.Type
func (TokenMapOutput) MapIndex ¶
func (o TokenMapOutput) MapIndex(k pulumi.StringInput) TokenOutput
func (TokenMapOutput) ToTokenMapOutput ¶
func (o TokenMapOutput) ToTokenMapOutput() TokenMapOutput
func (TokenMapOutput) ToTokenMapOutputWithContext ¶
func (o TokenMapOutput) ToTokenMapOutputWithContext(ctx context.Context) TokenMapOutput
type TokenOutput ¶
type TokenOutput struct{ *pulumi.OutputState }
func (TokenOutput) ClientToken ¶
func (o TokenOutput) ClientToken() pulumi.StringOutput
String containing the client token if stored in present file
func (TokenOutput) DisplayName ¶
func (o TokenOutput) DisplayName() pulumi.StringPtrOutput
String containing the token display name
func (TokenOutput) ElementType ¶
func (TokenOutput) ElementType() reflect.Type
func (TokenOutput) ExplicitMaxTtl ¶
func (o TokenOutput) ExplicitMaxTtl() pulumi.StringPtrOutput
The explicit max TTL of this token. This is specified as a numeric string with suffix like "30s" ro "5m"
func (TokenOutput) LeaseDuration ¶
func (o TokenOutput) LeaseDuration() pulumi.IntOutput
String containing the token lease duration if present in state file
func (TokenOutput) LeaseStarted ¶
func (o TokenOutput) LeaseStarted() pulumi.StringOutput
String containing the token lease started time if present in state file
func (TokenOutput) Metadata ¶
func (o TokenOutput) Metadata() pulumi.StringMapOutput
Metadata to be set on this token
func (TokenOutput) Namespace ¶
func (o TokenOutput) Namespace() pulumi.StringPtrOutput
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). *Available only for Vault Enterprise*.
func (TokenOutput) NoDefaultPolicy ¶
func (o TokenOutput) NoDefaultPolicy() pulumi.BoolPtrOutput
Flag to not attach the default policy to this token
func (TokenOutput) NoParent ¶
func (o TokenOutput) NoParent() pulumi.BoolOutput
Flag to create a token without parent
func (TokenOutput) NumUses ¶
func (o TokenOutput) NumUses() pulumi.IntOutput
The number of allowed uses of this token
func (TokenOutput) Period ¶
func (o TokenOutput) Period() pulumi.StringPtrOutput
The period of this token. This is specified as a numeric string with suffix like "30s" ro "5m"
func (TokenOutput) Policies ¶
func (o TokenOutput) Policies() pulumi.StringArrayOutput
List of policies to attach to this token
func (TokenOutput) RenewIncrement ¶
func (o TokenOutput) RenewIncrement() pulumi.IntPtrOutput
The renew increment. This is specified in seconds
func (TokenOutput) RenewMinLease ¶
func (o TokenOutput) RenewMinLease() pulumi.IntPtrOutput
The minimal lease to renew this token
func (TokenOutput) Renewable ¶
func (o TokenOutput) Renewable() pulumi.BoolOutput
Flag to allow to renew this token
func (TokenOutput) RoleName ¶
func (o TokenOutput) RoleName() pulumi.StringPtrOutput
The token role name
func (TokenOutput) ToTokenOutput ¶
func (o TokenOutput) ToTokenOutput() TokenOutput
func (TokenOutput) ToTokenOutputWithContext ¶
func (o TokenOutput) ToTokenOutputWithContext(ctx context.Context) TokenOutput
func (TokenOutput) Ttl ¶
func (o TokenOutput) Ttl() pulumi.StringPtrOutput
The TTL period of this token. This is specified as a numeric string with suffix like "30s" ro "5m"
func (TokenOutput) WrappedToken ¶
func (o TokenOutput) WrappedToken() pulumi.StringOutput
The client wrapped token.
func (TokenOutput) WrappingAccessor ¶
func (o TokenOutput) WrappingAccessor() pulumi.StringOutput
The client wrapping accessor.
func (TokenOutput) WrappingTtl ¶
func (o TokenOutput) WrappingTtl() pulumi.StringPtrOutput
The TTL period of the wrapped token.
type TokenState ¶
type TokenState struct { // String containing the client token if stored in present file ClientToken pulumi.StringPtrInput // String containing the token display name DisplayName pulumi.StringPtrInput // The explicit max TTL of this token. This is specified as a numeric string with suffix like "30s" ro "5m" ExplicitMaxTtl pulumi.StringPtrInput // String containing the token lease duration if present in state file LeaseDuration pulumi.IntPtrInput // String containing the token lease started time if present in state file LeaseStarted pulumi.StringPtrInput // Metadata to be set on this token Metadata pulumi.StringMapInput // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace). // *Available only for Vault Enterprise*. Namespace pulumi.StringPtrInput // Flag to not attach the default policy to this token NoDefaultPolicy pulumi.BoolPtrInput // Flag to create a token without parent NoParent pulumi.BoolPtrInput // The number of allowed uses of this token NumUses pulumi.IntPtrInput // The period of this token. This is specified as a numeric string with suffix like "30s" ro "5m" Period pulumi.StringPtrInput // List of policies to attach to this token Policies pulumi.StringArrayInput // The renew increment. This is specified in seconds RenewIncrement pulumi.IntPtrInput // The minimal lease to renew this token RenewMinLease pulumi.IntPtrInput // Flag to allow to renew this token Renewable pulumi.BoolPtrInput // The token role name RoleName pulumi.StringPtrInput // The TTL period of this token. This is specified as a numeric string with suffix like "30s" ro "5m" Ttl pulumi.StringPtrInput // The client wrapped token. WrappedToken pulumi.StringPtrInput // The client wrapping accessor. WrappingAccessor pulumi.StringPtrInput // The TTL period of the wrapped token. WrappingTtl pulumi.StringPtrInput }
func (TokenState) ElementType ¶
func (TokenState) ElementType() reflect.Type
Source Files
¶
- audit.go
- auditRequestHeader.go
- authBackend.go
- certAuthBackendRole.go
- doc.go
- egpPolicy.go
- getAuthBackend.go
- getAuthBackends.go
- getNamespace.go
- getNamespaces.go
- getNomadAccessToken.go
- getPolicyDocument.go
- getRaftAutopilotState.go
- init.go
- mfaDuo.go
- mfaOkta.go
- mfaPingid.go
- mfaTotp.go
- mount.go
- namespace.go
- nomadSecretBackend.go
- nomadSecretRole.go
- passwordPolicy.go
- plugin.go
- pluginPinnedVersion.go
- policy.go
- provider.go
- pulumiTypes.go
- quotaLeaseCount.go
- quotaRateLimit.go
- raftAutopilot.go
- raftSnapshotAgentConfig.go
- rgpPolicy.go
- token.go