Documentation ¶
Overview ¶
A Pulumi package for creating and managing vault cloud resources.
Index ¶
- func PkgVersion() (semver.Version, error)
- type Audit
- type AuditArgs
- type AuditArray
- type AuditArrayInput
- type AuditArrayOutput
- type AuditInput
- type AuditMap
- type AuditMapInput
- type AuditMapOutput
- type AuditOutput
- func (AuditOutput) ElementType() reflect.Type
- func (o AuditOutput) ToAuditOutput() AuditOutput
- func (o AuditOutput) ToAuditOutputWithContext(ctx context.Context) AuditOutput
- func (o AuditOutput) ToAuditPtrOutput() AuditPtrOutput
- func (o AuditOutput) ToAuditPtrOutputWithContext(ctx context.Context) AuditPtrOutput
- type AuditPtrInput
- type AuditPtrOutput
- type AuditState
- type AuthBackend
- func (*AuthBackend) ElementType() reflect.Type
- func (i *AuthBackend) ToAuthBackendOutput() AuthBackendOutput
- func (i *AuthBackend) ToAuthBackendOutputWithContext(ctx context.Context) AuthBackendOutput
- func (i *AuthBackend) ToAuthBackendPtrOutput() AuthBackendPtrOutput
- func (i *AuthBackend) ToAuthBackendPtrOutputWithContext(ctx context.Context) AuthBackendPtrOutput
- 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 (AuthBackendOutput) ElementType() reflect.Type
- func (o AuthBackendOutput) ToAuthBackendOutput() AuthBackendOutput
- func (o AuthBackendOutput) ToAuthBackendOutputWithContext(ctx context.Context) AuthBackendOutput
- func (o AuthBackendOutput) ToAuthBackendPtrOutput() AuthBackendPtrOutput
- func (o AuthBackendOutput) ToAuthBackendPtrOutputWithContext(ctx context.Context) AuthBackendPtrOutput
- type AuthBackendPtrInput
- type AuthBackendPtrOutput
- 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
- func (*CertAuthBackendRole) ElementType() reflect.Type
- func (i *CertAuthBackendRole) ToCertAuthBackendRoleOutput() CertAuthBackendRoleOutput
- func (i *CertAuthBackendRole) ToCertAuthBackendRoleOutputWithContext(ctx context.Context) CertAuthBackendRoleOutput
- func (i *CertAuthBackendRole) ToCertAuthBackendRolePtrOutput() CertAuthBackendRolePtrOutput
- func (i *CertAuthBackendRole) ToCertAuthBackendRolePtrOutputWithContext(ctx context.Context) CertAuthBackendRolePtrOutput
- 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 (CertAuthBackendRoleOutput) ElementType() reflect.Type
- func (o CertAuthBackendRoleOutput) ToCertAuthBackendRoleOutput() CertAuthBackendRoleOutput
- func (o CertAuthBackendRoleOutput) ToCertAuthBackendRoleOutputWithContext(ctx context.Context) CertAuthBackendRoleOutput
- func (o CertAuthBackendRoleOutput) ToCertAuthBackendRolePtrOutput() CertAuthBackendRolePtrOutput
- func (o CertAuthBackendRoleOutput) ToCertAuthBackendRolePtrOutputWithContext(ctx context.Context) CertAuthBackendRolePtrOutput
- type CertAuthBackendRolePtrInput
- type CertAuthBackendRolePtrOutput
- type CertAuthBackendRoleState
- type EgpPolicy
- func (*EgpPolicy) ElementType() reflect.Type
- func (i *EgpPolicy) ToEgpPolicyOutput() EgpPolicyOutput
- func (i *EgpPolicy) ToEgpPolicyOutputWithContext(ctx context.Context) EgpPolicyOutput
- func (i *EgpPolicy) ToEgpPolicyPtrOutput() EgpPolicyPtrOutput
- func (i *EgpPolicy) ToEgpPolicyPtrOutputWithContext(ctx context.Context) EgpPolicyPtrOutput
- 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) ToEgpPolicyOutput() EgpPolicyOutput
- func (o EgpPolicyOutput) ToEgpPolicyOutputWithContext(ctx context.Context) EgpPolicyOutput
- func (o EgpPolicyOutput) ToEgpPolicyPtrOutput() EgpPolicyPtrOutput
- func (o EgpPolicyOutput) ToEgpPolicyPtrOutputWithContext(ctx context.Context) EgpPolicyPtrOutput
- type EgpPolicyPtrInput
- type EgpPolicyPtrOutput
- type EgpPolicyState
- type GetNomadAccessTokenArgs
- type GetNomadAccessTokenResult
- type GetPolicyDocumentArgs
- type GetPolicyDocumentResult
- 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 LookupAuthBackendArgs
- type LookupAuthBackendResult
- type MfaDuo
- func (*MfaDuo) ElementType() reflect.Type
- func (i *MfaDuo) ToMfaDuoOutput() MfaDuoOutput
- func (i *MfaDuo) ToMfaDuoOutputWithContext(ctx context.Context) MfaDuoOutput
- func (i *MfaDuo) ToMfaDuoPtrOutput() MfaDuoPtrOutput
- func (i *MfaDuo) ToMfaDuoPtrOutputWithContext(ctx context.Context) MfaDuoPtrOutput
- type MfaDuoArgs
- type MfaDuoArray
- type MfaDuoArrayInput
- type MfaDuoArrayOutput
- type MfaDuoInput
- type MfaDuoMap
- type MfaDuoMapInput
- type MfaDuoMapOutput
- type MfaDuoOutput
- func (MfaDuoOutput) ElementType() reflect.Type
- func (o MfaDuoOutput) ToMfaDuoOutput() MfaDuoOutput
- func (o MfaDuoOutput) ToMfaDuoOutputWithContext(ctx context.Context) MfaDuoOutput
- func (o MfaDuoOutput) ToMfaDuoPtrOutput() MfaDuoPtrOutput
- func (o MfaDuoOutput) ToMfaDuoPtrOutputWithContext(ctx context.Context) MfaDuoPtrOutput
- type MfaDuoPtrInput
- type MfaDuoPtrOutput
- type MfaDuoState
- type Mount
- type MountArgs
- type MountArray
- type MountArrayInput
- type MountArrayOutput
- type MountInput
- type MountMap
- type MountMapInput
- type MountMapOutput
- type MountOutput
- func (MountOutput) ElementType() reflect.Type
- func (o MountOutput) ToMountOutput() MountOutput
- func (o MountOutput) ToMountOutputWithContext(ctx context.Context) MountOutput
- func (o MountOutput) ToMountPtrOutput() MountPtrOutput
- func (o MountOutput) ToMountPtrOutputWithContext(ctx context.Context) MountPtrOutput
- type MountPtrInput
- type MountPtrOutput
- type MountState
- type Namespace
- func (*Namespace) ElementType() reflect.Type
- func (i *Namespace) ToNamespaceOutput() NamespaceOutput
- func (i *Namespace) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput
- func (i *Namespace) ToNamespacePtrOutput() NamespacePtrOutput
- func (i *Namespace) ToNamespacePtrOutputWithContext(ctx context.Context) NamespacePtrOutput
- 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 (NamespaceOutput) ElementType() reflect.Type
- func (o NamespaceOutput) ToNamespaceOutput() NamespaceOutput
- func (o NamespaceOutput) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput
- func (o NamespaceOutput) ToNamespacePtrOutput() NamespacePtrOutput
- func (o NamespaceOutput) ToNamespacePtrOutputWithContext(ctx context.Context) NamespacePtrOutput
- type NamespacePtrInput
- type NamespacePtrOutput
- type NamespaceState
- type NomadSecretBackend
- func (*NomadSecretBackend) ElementType() reflect.Type
- func (i *NomadSecretBackend) ToNomadSecretBackendOutput() NomadSecretBackendOutput
- func (i *NomadSecretBackend) ToNomadSecretBackendOutputWithContext(ctx context.Context) NomadSecretBackendOutput
- func (i *NomadSecretBackend) ToNomadSecretBackendPtrOutput() NomadSecretBackendPtrOutput
- func (i *NomadSecretBackend) ToNomadSecretBackendPtrOutputWithContext(ctx context.Context) NomadSecretBackendPtrOutput
- 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 (NomadSecretBackendOutput) ElementType() reflect.Type
- func (o NomadSecretBackendOutput) ToNomadSecretBackendOutput() NomadSecretBackendOutput
- func (o NomadSecretBackendOutput) ToNomadSecretBackendOutputWithContext(ctx context.Context) NomadSecretBackendOutput
- func (o NomadSecretBackendOutput) ToNomadSecretBackendPtrOutput() NomadSecretBackendPtrOutput
- func (o NomadSecretBackendOutput) ToNomadSecretBackendPtrOutputWithContext(ctx context.Context) NomadSecretBackendPtrOutput
- type NomadSecretBackendPtrInput
- type NomadSecretBackendPtrOutput
- type NomadSecretBackendState
- type NomadSecretRole
- func (*NomadSecretRole) ElementType() reflect.Type
- func (i *NomadSecretRole) ToNomadSecretRoleOutput() NomadSecretRoleOutput
- func (i *NomadSecretRole) ToNomadSecretRoleOutputWithContext(ctx context.Context) NomadSecretRoleOutput
- func (i *NomadSecretRole) ToNomadSecretRolePtrOutput() NomadSecretRolePtrOutput
- func (i *NomadSecretRole) ToNomadSecretRolePtrOutputWithContext(ctx context.Context) NomadSecretRolePtrOutput
- 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 (NomadSecretRoleOutput) ElementType() reflect.Type
- func (o NomadSecretRoleOutput) ToNomadSecretRoleOutput() NomadSecretRoleOutput
- func (o NomadSecretRoleOutput) ToNomadSecretRoleOutputWithContext(ctx context.Context) NomadSecretRoleOutput
- func (o NomadSecretRoleOutput) ToNomadSecretRolePtrOutput() NomadSecretRolePtrOutput
- func (o NomadSecretRoleOutput) ToNomadSecretRolePtrOutputWithContext(ctx context.Context) NomadSecretRolePtrOutput
- type NomadSecretRolePtrInput
- type NomadSecretRolePtrOutput
- type NomadSecretRoleState
- type PasswordPolicy
- func (*PasswordPolicy) ElementType() reflect.Type
- func (i *PasswordPolicy) ToPasswordPolicyOutput() PasswordPolicyOutput
- func (i *PasswordPolicy) ToPasswordPolicyOutputWithContext(ctx context.Context) PasswordPolicyOutput
- func (i *PasswordPolicy) ToPasswordPolicyPtrOutput() PasswordPolicyPtrOutput
- func (i *PasswordPolicy) ToPasswordPolicyPtrOutputWithContext(ctx context.Context) PasswordPolicyPtrOutput
- 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) ToPasswordPolicyOutput() PasswordPolicyOutput
- func (o PasswordPolicyOutput) ToPasswordPolicyOutputWithContext(ctx context.Context) PasswordPolicyOutput
- func (o PasswordPolicyOutput) ToPasswordPolicyPtrOutput() PasswordPolicyPtrOutput
- func (o PasswordPolicyOutput) ToPasswordPolicyPtrOutputWithContext(ctx context.Context) PasswordPolicyPtrOutput
- type PasswordPolicyPtrInput
- type PasswordPolicyPtrOutput
- type PasswordPolicyState
- type Policy
- func (*Policy) ElementType() reflect.Type
- func (i *Policy) ToPolicyOutput() PolicyOutput
- func (i *Policy) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
- func (i *Policy) ToPolicyPtrOutput() PolicyPtrOutput
- func (i *Policy) ToPolicyPtrOutputWithContext(ctx context.Context) PolicyPtrOutput
- 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) ToPolicyOutput() PolicyOutput
- func (o PolicyOutput) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
- func (o PolicyOutput) ToPolicyPtrOutput() PolicyPtrOutput
- func (o PolicyOutput) ToPolicyPtrOutputWithContext(ctx context.Context) PolicyPtrOutput
- type PolicyPtrInput
- type PolicyPtrOutput
- type PolicyState
- type Provider
- func (*Provider) ElementType() reflect.Type
- func (i *Provider) ToProviderOutput() ProviderOutput
- func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
- func (i *Provider) ToProviderPtrOutput() ProviderPtrOutput
- func (i *Provider) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
- type ProviderArgs
- type ProviderAuthLogin
- type ProviderAuthLoginArgs
- type ProviderAuthLoginArray
- type ProviderAuthLoginArrayInput
- type ProviderAuthLoginArrayOutput
- func (ProviderAuthLoginArrayOutput) ElementType() reflect.Type
- func (o ProviderAuthLoginArrayOutput) Index(i pulumi.IntInput) ProviderAuthLoginOutput
- func (o ProviderAuthLoginArrayOutput) ToProviderAuthLoginArrayOutput() ProviderAuthLoginArrayOutput
- func (o ProviderAuthLoginArrayOutput) ToProviderAuthLoginArrayOutputWithContext(ctx context.Context) ProviderAuthLoginArrayOutput
- type ProviderAuthLoginInput
- type ProviderAuthLoginOutput
- func (ProviderAuthLoginOutput) ElementType() reflect.Type
- 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
- type ProviderClientAuth
- type ProviderClientAuthArgs
- type ProviderClientAuthArray
- type ProviderClientAuthArrayInput
- type ProviderClientAuthArrayOutput
- func (ProviderClientAuthArrayOutput) ElementType() reflect.Type
- func (o ProviderClientAuthArrayOutput) Index(i pulumi.IntInput) ProviderClientAuthOutput
- func (o ProviderClientAuthArrayOutput) ToProviderClientAuthArrayOutput() ProviderClientAuthArrayOutput
- func (o ProviderClientAuthArrayOutput) ToProviderClientAuthArrayOutputWithContext(ctx context.Context) ProviderClientAuthArrayOutput
- 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
- 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 (ProviderOutput) ElementType() reflect.Type
- func (o ProviderOutput) ToProviderOutput() ProviderOutput
- func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
- func (o ProviderOutput) ToProviderPtrOutput() ProviderPtrOutput
- func (o ProviderOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
- type ProviderPtrInput
- type ProviderPtrOutput
- type QuotaRateLimit
- func (*QuotaRateLimit) ElementType() reflect.Type
- func (i *QuotaRateLimit) ToQuotaRateLimitOutput() QuotaRateLimitOutput
- func (i *QuotaRateLimit) ToQuotaRateLimitOutputWithContext(ctx context.Context) QuotaRateLimitOutput
- func (i *QuotaRateLimit) ToQuotaRateLimitPtrOutput() QuotaRateLimitPtrOutput
- func (i *QuotaRateLimit) ToQuotaRateLimitPtrOutputWithContext(ctx context.Context) QuotaRateLimitPtrOutput
- 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 (QuotaRateLimitOutput) ElementType() reflect.Type
- func (o QuotaRateLimitOutput) ToQuotaRateLimitOutput() QuotaRateLimitOutput
- func (o QuotaRateLimitOutput) ToQuotaRateLimitOutputWithContext(ctx context.Context) QuotaRateLimitOutput
- func (o QuotaRateLimitOutput) ToQuotaRateLimitPtrOutput() QuotaRateLimitPtrOutput
- func (o QuotaRateLimitOutput) ToQuotaRateLimitPtrOutputWithContext(ctx context.Context) QuotaRateLimitPtrOutput
- type QuotaRateLimitPtrInput
- type QuotaRateLimitPtrOutput
- type QuotaRateLimitState
- type RgpPolicy
- func (*RgpPolicy) ElementType() reflect.Type
- func (i *RgpPolicy) ToRgpPolicyOutput() RgpPolicyOutput
- func (i *RgpPolicy) ToRgpPolicyOutputWithContext(ctx context.Context) RgpPolicyOutput
- func (i *RgpPolicy) ToRgpPolicyPtrOutput() RgpPolicyPtrOutput
- func (i *RgpPolicy) ToRgpPolicyPtrOutputWithContext(ctx context.Context) RgpPolicyPtrOutput
- 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) ToRgpPolicyOutput() RgpPolicyOutput
- func (o RgpPolicyOutput) ToRgpPolicyOutputWithContext(ctx context.Context) RgpPolicyOutput
- func (o RgpPolicyOutput) ToRgpPolicyPtrOutput() RgpPolicyPtrOutput
- func (o RgpPolicyOutput) ToRgpPolicyPtrOutputWithContext(ctx context.Context) RgpPolicyPtrOutput
- type RgpPolicyPtrInput
- type RgpPolicyPtrOutput
- type RgpPolicyState
- type Token
- type TokenArgs
- type TokenArray
- type TokenArrayInput
- type TokenArrayOutput
- type TokenInput
- type TokenMap
- type TokenMapInput
- type TokenMapOutput
- type TokenOutput
- func (TokenOutput) ElementType() reflect.Type
- func (o TokenOutput) ToTokenOutput() TokenOutput
- func (o TokenOutput) ToTokenOutputWithContext(ctx context.Context) TokenOutput
- func (o TokenOutput) ToTokenPtrOutput() TokenPtrOutput
- func (o TokenOutput) ToTokenPtrOutputWithContext(ctx context.Context) TokenPtrOutput
- type TokenPtrInput
- type TokenPtrOutput
- type TokenState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶ added in v3.4.0
PkgVersion uses reflection to determine the version of the current package.
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"` // Configuration options to pass to the audit device itself. 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/v3/go/vault" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.NewAudit(ctx, "test", &vault.AuditArgs{ Options: pulumi.StringMap{ "file_path": pulumi.String("C:/temp/audit.txt"), }, Type: pulumi.String("file"), }) if err != nil { return err } return nil }) }
``` ### Socket Audit Device)
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v3/go/vault" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.NewAudit(ctx, "test", &vault.AuditArgs{ Local: pulumi.Bool(false), Options: pulumi.StringMap{ "address": pulumi.String("127.0.0.1:8000"), "description": pulumi.String("application x socket"), "socket_type": pulumi.String("tcp"), }, Path: pulumi.String("app_socket"), Type: pulumi.String("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 ¶ added in v3.0.2
func (*Audit) ToAuditOutput ¶ added in v3.0.2
func (i *Audit) ToAuditOutput() AuditOutput
func (*Audit) ToAuditOutputWithContext ¶ added in v3.0.2
func (i *Audit) ToAuditOutputWithContext(ctx context.Context) AuditOutput
func (*Audit) ToAuditPtrOutput ¶ added in v3.4.1
func (i *Audit) ToAuditPtrOutput() AuditPtrOutput
func (*Audit) ToAuditPtrOutputWithContext ¶ added in v3.4.1
func (i *Audit) ToAuditPtrOutputWithContext(ctx context.Context) AuditPtrOutput
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 // Configuration options to pass to the audit device itself. 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 ¶ added in v3.4.1
type AuditArray []AuditInput
func (AuditArray) ElementType ¶ added in v3.4.1
func (AuditArray) ElementType() reflect.Type
func (AuditArray) ToAuditArrayOutput ¶ added in v3.4.1
func (i AuditArray) ToAuditArrayOutput() AuditArrayOutput
func (AuditArray) ToAuditArrayOutputWithContext ¶ added in v3.4.1
func (i AuditArray) ToAuditArrayOutputWithContext(ctx context.Context) AuditArrayOutput
type AuditArrayInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type AuditArrayOutput struct{ *pulumi.OutputState }
func (AuditArrayOutput) ElementType ¶ added in v3.4.1
func (AuditArrayOutput) ElementType() reflect.Type
func (AuditArrayOutput) Index ¶ added in v3.4.1
func (o AuditArrayOutput) Index(i pulumi.IntInput) AuditOutput
func (AuditArrayOutput) ToAuditArrayOutput ¶ added in v3.4.1
func (o AuditArrayOutput) ToAuditArrayOutput() AuditArrayOutput
func (AuditArrayOutput) ToAuditArrayOutputWithContext ¶ added in v3.4.1
func (o AuditArrayOutput) ToAuditArrayOutputWithContext(ctx context.Context) AuditArrayOutput
type AuditInput ¶ added in v3.0.2
type AuditInput interface { pulumi.Input ToAuditOutput() AuditOutput ToAuditOutputWithContext(ctx context.Context) AuditOutput }
type AuditMap ¶ added in v3.4.1
type AuditMap map[string]AuditInput
func (AuditMap) ElementType ¶ added in v3.4.1
func (AuditMap) ToAuditMapOutput ¶ added in v3.4.1
func (i AuditMap) ToAuditMapOutput() AuditMapOutput
func (AuditMap) ToAuditMapOutputWithContext ¶ added in v3.4.1
func (i AuditMap) ToAuditMapOutputWithContext(ctx context.Context) AuditMapOutput
type AuditMapInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type AuditMapOutput struct{ *pulumi.OutputState }
func (AuditMapOutput) ElementType ¶ added in v3.4.1
func (AuditMapOutput) ElementType() reflect.Type
func (AuditMapOutput) MapIndex ¶ added in v3.4.1
func (o AuditMapOutput) MapIndex(k pulumi.StringInput) AuditOutput
func (AuditMapOutput) ToAuditMapOutput ¶ added in v3.4.1
func (o AuditMapOutput) ToAuditMapOutput() AuditMapOutput
func (AuditMapOutput) ToAuditMapOutputWithContext ¶ added in v3.4.1
func (o AuditMapOutput) ToAuditMapOutputWithContext(ctx context.Context) AuditMapOutput
type AuditOutput ¶ added in v3.0.2
type AuditOutput struct {
*pulumi.OutputState
}
func (AuditOutput) ElementType ¶ added in v3.0.2
func (AuditOutput) ElementType() reflect.Type
func (AuditOutput) ToAuditOutput ¶ added in v3.0.2
func (o AuditOutput) ToAuditOutput() AuditOutput
func (AuditOutput) ToAuditOutputWithContext ¶ added in v3.0.2
func (o AuditOutput) ToAuditOutputWithContext(ctx context.Context) AuditOutput
func (AuditOutput) ToAuditPtrOutput ¶ added in v3.4.1
func (o AuditOutput) ToAuditPtrOutput() AuditPtrOutput
func (AuditOutput) ToAuditPtrOutputWithContext ¶ added in v3.4.1
func (o AuditOutput) ToAuditPtrOutputWithContext(ctx context.Context) AuditPtrOutput
type AuditPtrInput ¶ added in v3.4.1
type AuditPtrInput interface { pulumi.Input ToAuditPtrOutput() AuditPtrOutput ToAuditPtrOutputWithContext(ctx context.Context) AuditPtrOutput }
type AuditPtrOutput ¶ added in v3.4.1
type AuditPtrOutput struct {
*pulumi.OutputState
}
func (AuditPtrOutput) ElementType ¶ added in v3.4.1
func (AuditPtrOutput) ElementType() reflect.Type
func (AuditPtrOutput) ToAuditPtrOutput ¶ added in v3.4.1
func (o AuditPtrOutput) ToAuditPtrOutput() AuditPtrOutput
func (AuditPtrOutput) ToAuditPtrOutputWithContext ¶ added in v3.4.1
func (o AuditPtrOutput) ToAuditPtrOutputWithContext(ctx context.Context) AuditPtrOutput
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 // Configuration options to pass to the audit device itself. 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"` // (Optional; Deprecated, use `tune.default_lease_ttl` if you are using Vault provider version >= 1.8) The default lease duration in seconds. // // Deprecated: Use the tune configuration block to avoid forcing creation of new resource on an update DefaultLeaseTtlSeconds pulumi.IntOutput `pulumi:"defaultLeaseTtlSeconds"` // A description of the auth method Description pulumi.StringPtrOutput `pulumi:"description"` // Specifies whether to show this mount in // the UI-specific listing endpoint. Valid values are "unauth" or "hidden". // // Deprecated: Use the tune configuration block to avoid forcing creation of new resource on an update ListingVisibility pulumi.StringOutput `pulumi:"listingVisibility"` // Specifies if the auth method is local only. Local pulumi.BoolPtrOutput `pulumi:"local"` // (Optional; Deprecated, use `tune.max_lease_ttl` if you are using Vault provider version >= 1.8) The maximum lease duration in seconds. // // Deprecated: Use the tune configuration block to avoid forcing creation of new resource on an update MaxLeaseTtlSeconds pulumi.IntOutput `pulumi:"maxLeaseTtlSeconds"` // 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. Tune AuthBackendTuneOutput `pulumi:"tune"` // The name of the auth method type Type pulumi.StringOutput `pulumi:"type"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v3/go/vault" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.NewAuthBackend(ctx, "example", &vault.AuthBackendArgs{ Tune: &vault.AuthBackendTuneArgs{ ListingVisibility: pulumi.String("unauth"), MaxLeaseTtl: pulumi.String("90000s"), }, Type: pulumi.String("github"), }) if err != nil { return err } return nil }) }
```
## 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 ¶ added in v3.0.2
func (*AuthBackend) ElementType() reflect.Type
func (*AuthBackend) ToAuthBackendOutput ¶ added in v3.0.2
func (i *AuthBackend) ToAuthBackendOutput() AuthBackendOutput
func (*AuthBackend) ToAuthBackendOutputWithContext ¶ added in v3.0.2
func (i *AuthBackend) ToAuthBackendOutputWithContext(ctx context.Context) AuthBackendOutput
func (*AuthBackend) ToAuthBackendPtrOutput ¶ added in v3.4.1
func (i *AuthBackend) ToAuthBackendPtrOutput() AuthBackendPtrOutput
func (*AuthBackend) ToAuthBackendPtrOutputWithContext ¶ added in v3.4.1
func (i *AuthBackend) ToAuthBackendPtrOutputWithContext(ctx context.Context) AuthBackendPtrOutput
type AuthBackendArgs ¶
type AuthBackendArgs struct { // (Optional; Deprecated, use `tune.default_lease_ttl` if you are using Vault provider version >= 1.8) The default lease duration in seconds. // // Deprecated: Use the tune configuration block to avoid forcing creation of new resource on an update DefaultLeaseTtlSeconds pulumi.IntPtrInput // A description of the auth method Description pulumi.StringPtrInput // Specifies whether to show this mount in // the UI-specific listing endpoint. Valid values are "unauth" or "hidden". // // Deprecated: Use the tune configuration block to avoid forcing creation of new resource on an update ListingVisibility pulumi.StringPtrInput // Specifies if the auth method is local only. Local pulumi.BoolPtrInput // (Optional; Deprecated, use `tune.max_lease_ttl` if you are using Vault provider version >= 1.8) The maximum lease duration in seconds. // // Deprecated: Use the tune configuration block to avoid forcing creation of new resource on an update MaxLeaseTtlSeconds pulumi.IntPtrInput // 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. 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 ¶ added in v3.4.1
type AuthBackendArray []AuthBackendInput
func (AuthBackendArray) ElementType ¶ added in v3.4.1
func (AuthBackendArray) ElementType() reflect.Type
func (AuthBackendArray) ToAuthBackendArrayOutput ¶ added in v3.4.1
func (i AuthBackendArray) ToAuthBackendArrayOutput() AuthBackendArrayOutput
func (AuthBackendArray) ToAuthBackendArrayOutputWithContext ¶ added in v3.4.1
func (i AuthBackendArray) ToAuthBackendArrayOutputWithContext(ctx context.Context) AuthBackendArrayOutput
type AuthBackendArrayInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type AuthBackendArrayOutput struct{ *pulumi.OutputState }
func (AuthBackendArrayOutput) ElementType ¶ added in v3.4.1
func (AuthBackendArrayOutput) ElementType() reflect.Type
func (AuthBackendArrayOutput) Index ¶ added in v3.4.1
func (o AuthBackendArrayOutput) Index(i pulumi.IntInput) AuthBackendOutput
func (AuthBackendArrayOutput) ToAuthBackendArrayOutput ¶ added in v3.4.1
func (o AuthBackendArrayOutput) ToAuthBackendArrayOutput() AuthBackendArrayOutput
func (AuthBackendArrayOutput) ToAuthBackendArrayOutputWithContext ¶ added in v3.4.1
func (o AuthBackendArrayOutput) ToAuthBackendArrayOutputWithContext(ctx context.Context) AuthBackendArrayOutput
type AuthBackendInput ¶ added in v3.0.2
type AuthBackendInput interface { pulumi.Input ToAuthBackendOutput() AuthBackendOutput ToAuthBackendOutputWithContext(ctx context.Context) AuthBackendOutput }
type AuthBackendMap ¶ added in v3.4.1
type AuthBackendMap map[string]AuthBackendInput
func (AuthBackendMap) ElementType ¶ added in v3.4.1
func (AuthBackendMap) ElementType() reflect.Type
func (AuthBackendMap) ToAuthBackendMapOutput ¶ added in v3.4.1
func (i AuthBackendMap) ToAuthBackendMapOutput() AuthBackendMapOutput
func (AuthBackendMap) ToAuthBackendMapOutputWithContext ¶ added in v3.4.1
func (i AuthBackendMap) ToAuthBackendMapOutputWithContext(ctx context.Context) AuthBackendMapOutput
type AuthBackendMapInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type AuthBackendMapOutput struct{ *pulumi.OutputState }
func (AuthBackendMapOutput) ElementType ¶ added in v3.4.1
func (AuthBackendMapOutput) ElementType() reflect.Type
func (AuthBackendMapOutput) MapIndex ¶ added in v3.4.1
func (o AuthBackendMapOutput) MapIndex(k pulumi.StringInput) AuthBackendOutput
func (AuthBackendMapOutput) ToAuthBackendMapOutput ¶ added in v3.4.1
func (o AuthBackendMapOutput) ToAuthBackendMapOutput() AuthBackendMapOutput
func (AuthBackendMapOutput) ToAuthBackendMapOutputWithContext ¶ added in v3.4.1
func (o AuthBackendMapOutput) ToAuthBackendMapOutputWithContext(ctx context.Context) AuthBackendMapOutput
type AuthBackendOutput ¶ added in v3.0.2
type AuthBackendOutput struct {
*pulumi.OutputState
}
func (AuthBackendOutput) ElementType ¶ added in v3.0.2
func (AuthBackendOutput) ElementType() reflect.Type
func (AuthBackendOutput) ToAuthBackendOutput ¶ added in v3.0.2
func (o AuthBackendOutput) ToAuthBackendOutput() AuthBackendOutput
func (AuthBackendOutput) ToAuthBackendOutputWithContext ¶ added in v3.0.2
func (o AuthBackendOutput) ToAuthBackendOutputWithContext(ctx context.Context) AuthBackendOutput
func (AuthBackendOutput) ToAuthBackendPtrOutput ¶ added in v3.4.1
func (o AuthBackendOutput) ToAuthBackendPtrOutput() AuthBackendPtrOutput
func (AuthBackendOutput) ToAuthBackendPtrOutputWithContext ¶ added in v3.4.1
func (o AuthBackendOutput) ToAuthBackendPtrOutputWithContext(ctx context.Context) AuthBackendPtrOutput
type AuthBackendPtrInput ¶ added in v3.4.1
type AuthBackendPtrInput interface { pulumi.Input ToAuthBackendPtrOutput() AuthBackendPtrOutput ToAuthBackendPtrOutputWithContext(ctx context.Context) AuthBackendPtrOutput }
type AuthBackendPtrOutput ¶ added in v3.4.1
type AuthBackendPtrOutput struct {
*pulumi.OutputState
}
func (AuthBackendPtrOutput) ElementType ¶ added in v3.4.1
func (AuthBackendPtrOutput) ElementType() reflect.Type
func (AuthBackendPtrOutput) ToAuthBackendPtrOutput ¶ added in v3.4.1
func (o AuthBackendPtrOutput) ToAuthBackendPtrOutput() AuthBackendPtrOutput
func (AuthBackendPtrOutput) ToAuthBackendPtrOutputWithContext ¶ added in v3.4.1
func (o AuthBackendPtrOutput) ToAuthBackendPtrOutputWithContext(ctx context.Context) AuthBackendPtrOutput
type AuthBackendState ¶
type AuthBackendState struct { // The accessor for this auth method Accessor pulumi.StringPtrInput // (Optional; Deprecated, use `tune.default_lease_ttl` if you are using Vault provider version >= 1.8) The default lease duration in seconds. // // Deprecated: Use the tune configuration block to avoid forcing creation of new resource on an update DefaultLeaseTtlSeconds pulumi.IntPtrInput // A description of the auth method Description pulumi.StringPtrInput // Specifies whether to show this mount in // the UI-specific listing endpoint. Valid values are "unauth" or "hidden". // // Deprecated: Use the tune configuration block to avoid forcing creation of new resource on an update ListingVisibility pulumi.StringPtrInput // Specifies if the auth method is local only. Local pulumi.BoolPtrInput // (Optional; Deprecated, use `tune.max_lease_ttl` if you are using Vault provider version >= 1.8) The maximum lease duration in seconds. // // Deprecated: Use the tune configuration block to avoid forcing creation of new resource on an update MaxLeaseTtlSeconds pulumi.IntPtrInput // 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. 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"` // Allowed subject names for authenticated client certificates AllowedNames pulumi.StringArrayOutput `pulumi:"allowedNames"` // Allowed organization units for authenticated client certificates AllowedOrganizationUnits pulumi.StringArrayOutput `pulumi:"allowedOrganizationUnits"` // Allowed URIs for authenticated client certificates AllowedUriSans pulumi.StringArrayOutput `pulumi:"allowedUriSans"` // Path to the mounted Cert auth backend Backend pulumi.StringPtrOutput `pulumi:"backend"` // Restriction usage of the // certificates to client IPs falling within the range of the specified CIDRs // // Deprecated: use `token_bound_cidrs` instead if you are running Vault >= 1.2 BoundCidrs pulumi.StringArrayOutput `pulumi:"boundCidrs"` // 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"` // The maximum allowed lifetime of tokens // issued using this role, provided as a number of seconds. // // Deprecated: use `token_max_ttl` instead if you are running Vault >= 1.2 MaxTtl pulumi.StringOutput `pulumi:"maxTtl"` // Name of the role Name pulumi.StringOutput `pulumi:"name"` // If set, indicates that the // token generated using this role should never expire. The token should be renewed within the // duration specified by this value. At each renewal, the token's TTL will be set to the // value of this field. Specified in seconds. // // Deprecated: use `token_period` instead if you are running Vault >= 1.2 Period pulumi.StringOutput `pulumi:"period"` // An array of strings // specifying the policies to be set on tokens issued using this role. // // Deprecated: use `token_policies` instead if you are running Vault >= 1.2 Policies pulumi.StringArrayOutput `pulumi:"policies"` // TLS extensions required on client certificates RequiredExtensions pulumi.StringArrayOutput `pulumi:"requiredExtensions"` // List of CIDR blocks; if set, specifies blocks of IP // addresses which can authenticate successfully, and ties the resulting token to these blocks // as well. TokenBoundCidrs pulumi.StringArrayOutput `pulumi:"tokenBoundCidrs"` // If set, will encode an // [explicit max TTL](https://www.vaultproject.io/docs/concepts/tokens.html#token-time-to-live-periodic-tokens-and-explicit-max-ttls) // onto the token in number of seconds. This is a hard cap even if `tokenTtl` and // `tokenMaxTtl` would otherwise allow a renewal. TokenExplicitMaxTtl pulumi.IntPtrOutput `pulumi:"tokenExplicitMaxTtl"` // The maximum lifetime for generated tokens in number of seconds. // Its current value will be referenced at renewal time. TokenMaxTtl pulumi.IntPtrOutput `pulumi:"tokenMaxTtl"` // If set, the default policy will not be set on // generated tokens; otherwise it will be added to the policies set in token_policies. TokenNoDefaultPolicy pulumi.BoolPtrOutput `pulumi:"tokenNoDefaultPolicy"` // The // [period](https://www.vaultproject.io/docs/concepts/tokens.html#token-time-to-live-periodic-tokens-and-explicit-max-ttls), // if any, in number of seconds to set on the token. TokenNumUses pulumi.IntPtrOutput `pulumi:"tokenNumUses"` // If set, indicates that the // token generated using this role should never expire. The token should be renewed within the // duration specified by this value. At each renewal, the token's TTL will be set to the // value of this field. Specified in seconds. TokenPeriod pulumi.IntPtrOutput `pulumi:"tokenPeriod"` // List of policies to encode onto generated tokens. Depending // on the auth method, this list may be supplemented by user/group/other values. TokenPolicies pulumi.StringArrayOutput `pulumi:"tokenPolicies"` // The incremental lifetime for generated tokens in number of seconds. // Its current value will be referenced at renewal time. TokenTtl pulumi.IntPtrOutput `pulumi:"tokenTtl"` // The type of token that should be generated. Can be `service`, // `batch`, or `default` to use the mount's tuned default (which unless changed will be // `service` tokens). For token store roles, there are two additional possibilities: // `default-service` and `default-batch` which specify the type to return unless the client // requests a different type at generation time. TokenType pulumi.StringPtrOutput `pulumi:"tokenType"` // The TTL period of tokens issued // using this role, provided as a number of seconds. // // Deprecated: use `token_ttl` instead if you are running Vault >= 1.2 Ttl pulumi.StringOutput `pulumi:"ttl"` }
Provides a resource to create a role in an [Cert auth backend within Vault](https://www.vaultproject.io/docs/auth/cert.html).
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 ¶ added in v3.0.2
func (*CertAuthBackendRole) ElementType() reflect.Type
func (*CertAuthBackendRole) ToCertAuthBackendRoleOutput ¶ added in v3.0.2
func (i *CertAuthBackendRole) ToCertAuthBackendRoleOutput() CertAuthBackendRoleOutput
func (*CertAuthBackendRole) ToCertAuthBackendRoleOutputWithContext ¶ added in v3.0.2
func (i *CertAuthBackendRole) ToCertAuthBackendRoleOutputWithContext(ctx context.Context) CertAuthBackendRoleOutput
func (*CertAuthBackendRole) ToCertAuthBackendRolePtrOutput ¶ added in v3.4.1
func (i *CertAuthBackendRole) ToCertAuthBackendRolePtrOutput() CertAuthBackendRolePtrOutput
func (*CertAuthBackendRole) ToCertAuthBackendRolePtrOutputWithContext ¶ added in v3.4.1
func (i *CertAuthBackendRole) ToCertAuthBackendRolePtrOutputWithContext(ctx context.Context) CertAuthBackendRolePtrOutput
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 // Allowed subject names for authenticated client certificates AllowedNames pulumi.StringArrayInput // Allowed organization units for authenticated client certificates AllowedOrganizationUnits pulumi.StringArrayInput // Allowed URIs for authenticated client certificates AllowedUriSans pulumi.StringArrayInput // Path to the mounted Cert auth backend Backend pulumi.StringPtrInput // Restriction usage of the // certificates to client IPs falling within the range of the specified CIDRs // // Deprecated: use `token_bound_cidrs` instead if you are running Vault >= 1.2 BoundCidrs pulumi.StringArrayInput // CA certificate used to validate client certificates Certificate pulumi.StringInput // The name to display on tokens issued under this role. DisplayName pulumi.StringPtrInput // The maximum allowed lifetime of tokens // issued using this role, provided as a number of seconds. // // Deprecated: use `token_max_ttl` instead if you are running Vault >= 1.2 MaxTtl pulumi.StringPtrInput // Name of the role Name pulumi.StringPtrInput // If set, indicates that the // token generated using this role should never expire. The token should be renewed within the // duration specified by this value. At each renewal, the token's TTL will be set to the // value of this field. Specified in seconds. // // Deprecated: use `token_period` instead if you are running Vault >= 1.2 Period pulumi.StringPtrInput // An array of strings // specifying the policies to be set on tokens issued using this role. // // Deprecated: use `token_policies` instead if you are running Vault >= 1.2 Policies pulumi.StringArrayInput // TLS extensions required on client certificates RequiredExtensions pulumi.StringArrayInput // List of CIDR blocks; if set, specifies blocks of IP // addresses which can authenticate successfully, and ties the resulting token to these blocks // as well. TokenBoundCidrs pulumi.StringArrayInput // If set, will encode an // [explicit max TTL](https://www.vaultproject.io/docs/concepts/tokens.html#token-time-to-live-periodic-tokens-and-explicit-max-ttls) // onto the token in number of seconds. This is a hard cap even if `tokenTtl` and // `tokenMaxTtl` would otherwise allow a renewal. TokenExplicitMaxTtl pulumi.IntPtrInput // The maximum lifetime for generated tokens in number of seconds. // Its current value will be referenced at renewal time. TokenMaxTtl pulumi.IntPtrInput // If set, the default policy will not be set on // generated tokens; otherwise it will be added to the policies set in token_policies. TokenNoDefaultPolicy pulumi.BoolPtrInput // The // [period](https://www.vaultproject.io/docs/concepts/tokens.html#token-time-to-live-periodic-tokens-and-explicit-max-ttls), // if any, in number of seconds to set on the token. TokenNumUses pulumi.IntPtrInput // If set, indicates that the // token generated using this role should never expire. The token should be renewed within the // duration specified by this value. At each renewal, the token's TTL will be set to the // value of this field. Specified in seconds. TokenPeriod pulumi.IntPtrInput // List of policies to encode onto generated tokens. Depending // on the auth method, this list may be supplemented by user/group/other values. TokenPolicies pulumi.StringArrayInput // The incremental lifetime for generated tokens in number of seconds. // Its current value will be referenced at renewal time. TokenTtl pulumi.IntPtrInput // The type of token that should be generated. Can be `service`, // `batch`, or `default` to use the mount's tuned default (which unless changed will be // `service` tokens). For token store roles, there are two additional possibilities: // `default-service` and `default-batch` which specify the type to return unless the client // requests a different type at generation time. TokenType pulumi.StringPtrInput // The TTL period of tokens issued // using this role, provided as a number of seconds. // // Deprecated: use `token_ttl` instead if you are running Vault >= 1.2 Ttl pulumi.StringPtrInput }
The set of arguments for constructing a CertAuthBackendRole resource.
func (CertAuthBackendRoleArgs) ElementType ¶
func (CertAuthBackendRoleArgs) ElementType() reflect.Type
type CertAuthBackendRoleArray ¶ added in v3.4.1
type CertAuthBackendRoleArray []CertAuthBackendRoleInput
func (CertAuthBackendRoleArray) ElementType ¶ added in v3.4.1
func (CertAuthBackendRoleArray) ElementType() reflect.Type
func (CertAuthBackendRoleArray) ToCertAuthBackendRoleArrayOutput ¶ added in v3.4.1
func (i CertAuthBackendRoleArray) ToCertAuthBackendRoleArrayOutput() CertAuthBackendRoleArrayOutput
func (CertAuthBackendRoleArray) ToCertAuthBackendRoleArrayOutputWithContext ¶ added in v3.4.1
func (i CertAuthBackendRoleArray) ToCertAuthBackendRoleArrayOutputWithContext(ctx context.Context) CertAuthBackendRoleArrayOutput
type CertAuthBackendRoleArrayInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type CertAuthBackendRoleArrayOutput struct{ *pulumi.OutputState }
func (CertAuthBackendRoleArrayOutput) ElementType ¶ added in v3.4.1
func (CertAuthBackendRoleArrayOutput) ElementType() reflect.Type
func (CertAuthBackendRoleArrayOutput) Index ¶ added in v3.4.1
func (o CertAuthBackendRoleArrayOutput) Index(i pulumi.IntInput) CertAuthBackendRoleOutput
func (CertAuthBackendRoleArrayOutput) ToCertAuthBackendRoleArrayOutput ¶ added in v3.4.1
func (o CertAuthBackendRoleArrayOutput) ToCertAuthBackendRoleArrayOutput() CertAuthBackendRoleArrayOutput
func (CertAuthBackendRoleArrayOutput) ToCertAuthBackendRoleArrayOutputWithContext ¶ added in v3.4.1
func (o CertAuthBackendRoleArrayOutput) ToCertAuthBackendRoleArrayOutputWithContext(ctx context.Context) CertAuthBackendRoleArrayOutput
type CertAuthBackendRoleInput ¶ added in v3.0.2
type CertAuthBackendRoleInput interface { pulumi.Input ToCertAuthBackendRoleOutput() CertAuthBackendRoleOutput ToCertAuthBackendRoleOutputWithContext(ctx context.Context) CertAuthBackendRoleOutput }
type CertAuthBackendRoleMap ¶ added in v3.4.1
type CertAuthBackendRoleMap map[string]CertAuthBackendRoleInput
func (CertAuthBackendRoleMap) ElementType ¶ added in v3.4.1
func (CertAuthBackendRoleMap) ElementType() reflect.Type
func (CertAuthBackendRoleMap) ToCertAuthBackendRoleMapOutput ¶ added in v3.4.1
func (i CertAuthBackendRoleMap) ToCertAuthBackendRoleMapOutput() CertAuthBackendRoleMapOutput
func (CertAuthBackendRoleMap) ToCertAuthBackendRoleMapOutputWithContext ¶ added in v3.4.1
func (i CertAuthBackendRoleMap) ToCertAuthBackendRoleMapOutputWithContext(ctx context.Context) CertAuthBackendRoleMapOutput
type CertAuthBackendRoleMapInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type CertAuthBackendRoleMapOutput struct{ *pulumi.OutputState }
func (CertAuthBackendRoleMapOutput) ElementType ¶ added in v3.4.1
func (CertAuthBackendRoleMapOutput) ElementType() reflect.Type
func (CertAuthBackendRoleMapOutput) MapIndex ¶ added in v3.4.1
func (o CertAuthBackendRoleMapOutput) MapIndex(k pulumi.StringInput) CertAuthBackendRoleOutput
func (CertAuthBackendRoleMapOutput) ToCertAuthBackendRoleMapOutput ¶ added in v3.4.1
func (o CertAuthBackendRoleMapOutput) ToCertAuthBackendRoleMapOutput() CertAuthBackendRoleMapOutput
func (CertAuthBackendRoleMapOutput) ToCertAuthBackendRoleMapOutputWithContext ¶ added in v3.4.1
func (o CertAuthBackendRoleMapOutput) ToCertAuthBackendRoleMapOutputWithContext(ctx context.Context) CertAuthBackendRoleMapOutput
type CertAuthBackendRoleOutput ¶ added in v3.0.2
type CertAuthBackendRoleOutput struct {
*pulumi.OutputState
}
func (CertAuthBackendRoleOutput) ElementType ¶ added in v3.0.2
func (CertAuthBackendRoleOutput) ElementType() reflect.Type
func (CertAuthBackendRoleOutput) ToCertAuthBackendRoleOutput ¶ added in v3.0.2
func (o CertAuthBackendRoleOutput) ToCertAuthBackendRoleOutput() CertAuthBackendRoleOutput
func (CertAuthBackendRoleOutput) ToCertAuthBackendRoleOutputWithContext ¶ added in v3.0.2
func (o CertAuthBackendRoleOutput) ToCertAuthBackendRoleOutputWithContext(ctx context.Context) CertAuthBackendRoleOutput
func (CertAuthBackendRoleOutput) ToCertAuthBackendRolePtrOutput ¶ added in v3.4.1
func (o CertAuthBackendRoleOutput) ToCertAuthBackendRolePtrOutput() CertAuthBackendRolePtrOutput
func (CertAuthBackendRoleOutput) ToCertAuthBackendRolePtrOutputWithContext ¶ added in v3.4.1
func (o CertAuthBackendRoleOutput) ToCertAuthBackendRolePtrOutputWithContext(ctx context.Context) CertAuthBackendRolePtrOutput
type CertAuthBackendRolePtrInput ¶ added in v3.4.1
type CertAuthBackendRolePtrInput interface { pulumi.Input ToCertAuthBackendRolePtrOutput() CertAuthBackendRolePtrOutput ToCertAuthBackendRolePtrOutputWithContext(ctx context.Context) CertAuthBackendRolePtrOutput }
type CertAuthBackendRolePtrOutput ¶ added in v3.4.1
type CertAuthBackendRolePtrOutput struct {
*pulumi.OutputState
}
func (CertAuthBackendRolePtrOutput) ElementType ¶ added in v3.4.1
func (CertAuthBackendRolePtrOutput) ElementType() reflect.Type
func (CertAuthBackendRolePtrOutput) ToCertAuthBackendRolePtrOutput ¶ added in v3.4.1
func (o CertAuthBackendRolePtrOutput) ToCertAuthBackendRolePtrOutput() CertAuthBackendRolePtrOutput
func (CertAuthBackendRolePtrOutput) ToCertAuthBackendRolePtrOutputWithContext ¶ added in v3.4.1
func (o CertAuthBackendRolePtrOutput) ToCertAuthBackendRolePtrOutputWithContext(ctx context.Context) CertAuthBackendRolePtrOutput
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 // Allowed subject names for authenticated client certificates AllowedNames pulumi.StringArrayInput // Allowed organization units for authenticated client certificates AllowedOrganizationUnits pulumi.StringArrayInput // Allowed URIs for authenticated client certificates AllowedUriSans pulumi.StringArrayInput // Path to the mounted Cert auth backend Backend pulumi.StringPtrInput // Restriction usage of the // certificates to client IPs falling within the range of the specified CIDRs // // Deprecated: use `token_bound_cidrs` instead if you are running Vault >= 1.2 BoundCidrs pulumi.StringArrayInput // CA certificate used to validate client certificates Certificate pulumi.StringPtrInput // The name to display on tokens issued under this role. DisplayName pulumi.StringPtrInput // The maximum allowed lifetime of tokens // issued using this role, provided as a number of seconds. // // Deprecated: use `token_max_ttl` instead if you are running Vault >= 1.2 MaxTtl pulumi.StringPtrInput // Name of the role Name pulumi.StringPtrInput // If set, indicates that the // token generated using this role should never expire. The token should be renewed within the // duration specified by this value. At each renewal, the token's TTL will be set to the // value of this field. Specified in seconds. // // Deprecated: use `token_period` instead if you are running Vault >= 1.2 Period pulumi.StringPtrInput // An array of strings // specifying the policies to be set on tokens issued using this role. // // Deprecated: use `token_policies` instead if you are running Vault >= 1.2 Policies pulumi.StringArrayInput // TLS extensions required on client certificates RequiredExtensions pulumi.StringArrayInput // List of CIDR blocks; if set, specifies blocks of IP // addresses which can authenticate successfully, and ties the resulting token to these blocks // as well. TokenBoundCidrs pulumi.StringArrayInput // If set, will encode an // [explicit max TTL](https://www.vaultproject.io/docs/concepts/tokens.html#token-time-to-live-periodic-tokens-and-explicit-max-ttls) // onto the token in number of seconds. This is a hard cap even if `tokenTtl` and // `tokenMaxTtl` would otherwise allow a renewal. TokenExplicitMaxTtl pulumi.IntPtrInput // The maximum lifetime for generated tokens in number of seconds. // Its current value will be referenced at renewal time. TokenMaxTtl pulumi.IntPtrInput // If set, the default policy will not be set on // generated tokens; otherwise it will be added to the policies set in token_policies. TokenNoDefaultPolicy pulumi.BoolPtrInput // The // [period](https://www.vaultproject.io/docs/concepts/tokens.html#token-time-to-live-periodic-tokens-and-explicit-max-ttls), // if any, in number of seconds to set on the token. TokenNumUses pulumi.IntPtrInput // If set, indicates that the // token generated using this role should never expire. The token should be renewed within the // duration specified by this value. At each renewal, the token's TTL will be set to the // value of this field. Specified in seconds. TokenPeriod pulumi.IntPtrInput // List of policies to encode onto generated tokens. Depending // on the auth method, this list may be supplemented by user/group/other values. TokenPolicies pulumi.StringArrayInput // The incremental lifetime for generated tokens in number of seconds. // Its current value will be referenced at renewal time. TokenTtl pulumi.IntPtrInput // The type of token that should be generated. Can be `service`, // `batch`, or `default` to use the mount's tuned default (which unless changed will be // `service` tokens). For token store roles, there are two additional possibilities: // `default-service` and `default-batch` which specify the type to return unless the client // requests a different type at generation time. TokenType pulumi.StringPtrInput // The TTL period of tokens issued // using this role, provided as a number of seconds. // // Deprecated: use `token_ttl` instead if you are running Vault >= 1.2 Ttl 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"` // 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 (
"fmt" "github.com/pulumi/pulumi-vault/sdk/v3/go/vault" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.NewEgpPolicy(ctx, "allow_all", &vault.EgpPolicyArgs{ EnforcementLevel: pulumi.String("soft-mandatory"), Paths: pulumi.StringArray{ pulumi.String("*"), }, Policy: pulumi.String(fmt.Sprintf("%v%v%v%v", "main = rule {\n", " true\n", "}\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 ¶ added in v3.0.2
func (*EgpPolicy) ToEgpPolicyOutput ¶ added in v3.0.2
func (i *EgpPolicy) ToEgpPolicyOutput() EgpPolicyOutput
func (*EgpPolicy) ToEgpPolicyOutputWithContext ¶ added in v3.0.2
func (i *EgpPolicy) ToEgpPolicyOutputWithContext(ctx context.Context) EgpPolicyOutput
func (*EgpPolicy) ToEgpPolicyPtrOutput ¶ added in v3.4.1
func (i *EgpPolicy) ToEgpPolicyPtrOutput() EgpPolicyPtrOutput
func (*EgpPolicy) ToEgpPolicyPtrOutputWithContext ¶ added in v3.4.1
func (i *EgpPolicy) ToEgpPolicyPtrOutputWithContext(ctx context.Context) EgpPolicyPtrOutput
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 // 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 ¶ added in v3.4.1
type EgpPolicyArray []EgpPolicyInput
func (EgpPolicyArray) ElementType ¶ added in v3.4.1
func (EgpPolicyArray) ElementType() reflect.Type
func (EgpPolicyArray) ToEgpPolicyArrayOutput ¶ added in v3.4.1
func (i EgpPolicyArray) ToEgpPolicyArrayOutput() EgpPolicyArrayOutput
func (EgpPolicyArray) ToEgpPolicyArrayOutputWithContext ¶ added in v3.4.1
func (i EgpPolicyArray) ToEgpPolicyArrayOutputWithContext(ctx context.Context) EgpPolicyArrayOutput
type EgpPolicyArrayInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type EgpPolicyArrayOutput struct{ *pulumi.OutputState }
func (EgpPolicyArrayOutput) ElementType ¶ added in v3.4.1
func (EgpPolicyArrayOutput) ElementType() reflect.Type
func (EgpPolicyArrayOutput) Index ¶ added in v3.4.1
func (o EgpPolicyArrayOutput) Index(i pulumi.IntInput) EgpPolicyOutput
func (EgpPolicyArrayOutput) ToEgpPolicyArrayOutput ¶ added in v3.4.1
func (o EgpPolicyArrayOutput) ToEgpPolicyArrayOutput() EgpPolicyArrayOutput
func (EgpPolicyArrayOutput) ToEgpPolicyArrayOutputWithContext ¶ added in v3.4.1
func (o EgpPolicyArrayOutput) ToEgpPolicyArrayOutputWithContext(ctx context.Context) EgpPolicyArrayOutput
type EgpPolicyInput ¶ added in v3.0.2
type EgpPolicyInput interface { pulumi.Input ToEgpPolicyOutput() EgpPolicyOutput ToEgpPolicyOutputWithContext(ctx context.Context) EgpPolicyOutput }
type EgpPolicyMap ¶ added in v3.4.1
type EgpPolicyMap map[string]EgpPolicyInput
func (EgpPolicyMap) ElementType ¶ added in v3.4.1
func (EgpPolicyMap) ElementType() reflect.Type
func (EgpPolicyMap) ToEgpPolicyMapOutput ¶ added in v3.4.1
func (i EgpPolicyMap) ToEgpPolicyMapOutput() EgpPolicyMapOutput
func (EgpPolicyMap) ToEgpPolicyMapOutputWithContext ¶ added in v3.4.1
func (i EgpPolicyMap) ToEgpPolicyMapOutputWithContext(ctx context.Context) EgpPolicyMapOutput
type EgpPolicyMapInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type EgpPolicyMapOutput struct{ *pulumi.OutputState }
func (EgpPolicyMapOutput) ElementType ¶ added in v3.4.1
func (EgpPolicyMapOutput) ElementType() reflect.Type
func (EgpPolicyMapOutput) MapIndex ¶ added in v3.4.1
func (o EgpPolicyMapOutput) MapIndex(k pulumi.StringInput) EgpPolicyOutput
func (EgpPolicyMapOutput) ToEgpPolicyMapOutput ¶ added in v3.4.1
func (o EgpPolicyMapOutput) ToEgpPolicyMapOutput() EgpPolicyMapOutput
func (EgpPolicyMapOutput) ToEgpPolicyMapOutputWithContext ¶ added in v3.4.1
func (o EgpPolicyMapOutput) ToEgpPolicyMapOutputWithContext(ctx context.Context) EgpPolicyMapOutput
type EgpPolicyOutput ¶ added in v3.0.2
type EgpPolicyOutput struct {
*pulumi.OutputState
}
func (EgpPolicyOutput) ElementType ¶ added in v3.0.2
func (EgpPolicyOutput) ElementType() reflect.Type
func (EgpPolicyOutput) ToEgpPolicyOutput ¶ added in v3.0.2
func (o EgpPolicyOutput) ToEgpPolicyOutput() EgpPolicyOutput
func (EgpPolicyOutput) ToEgpPolicyOutputWithContext ¶ added in v3.0.2
func (o EgpPolicyOutput) ToEgpPolicyOutputWithContext(ctx context.Context) EgpPolicyOutput
func (EgpPolicyOutput) ToEgpPolicyPtrOutput ¶ added in v3.4.1
func (o EgpPolicyOutput) ToEgpPolicyPtrOutput() EgpPolicyPtrOutput
func (EgpPolicyOutput) ToEgpPolicyPtrOutputWithContext ¶ added in v3.4.1
func (o EgpPolicyOutput) ToEgpPolicyPtrOutputWithContext(ctx context.Context) EgpPolicyPtrOutput
type EgpPolicyPtrInput ¶ added in v3.4.1
type EgpPolicyPtrInput interface { pulumi.Input ToEgpPolicyPtrOutput() EgpPolicyPtrOutput ToEgpPolicyPtrOutputWithContext(ctx context.Context) EgpPolicyPtrOutput }
type EgpPolicyPtrOutput ¶ added in v3.4.1
type EgpPolicyPtrOutput struct {
*pulumi.OutputState
}
func (EgpPolicyPtrOutput) ElementType ¶ added in v3.4.1
func (EgpPolicyPtrOutput) ElementType() reflect.Type
func (EgpPolicyPtrOutput) ToEgpPolicyPtrOutput ¶ added in v3.4.1
func (o EgpPolicyPtrOutput) ToEgpPolicyPtrOutput() EgpPolicyPtrOutput
func (EgpPolicyPtrOutput) ToEgpPolicyPtrOutputWithContext ¶ added in v3.4.1
func (o EgpPolicyPtrOutput) ToEgpPolicyPtrOutputWithContext(ctx context.Context) EgpPolicyPtrOutput
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 // 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 GetNomadAccessTokenArgs ¶ added in v3.2.0
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 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 GetNomadAccessTokenResult ¶ added in v3.2.0
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"` 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 ¶ added in v3.2.0
func GetNomadAccessToken(ctx *pulumi.Context, args *GetNomadAccessTokenArgs, opts ...pulumi.InvokeOption) (*GetNomadAccessTokenResult, error)
type GetPolicyDocumentArgs ¶
type GetPolicyDocumentArgs struct {
Rules []GetPolicyDocumentRule `pulumi:"rules"`
}
A collection of arguments for invoking getPolicyDocument.
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"` 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/v3/go/vault" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { examplePolicyDocument, err := vault.GetPolicyDocument(ctx, &vault.GetPolicyDocumentArgs{ Rules: []vault.GetPolicyDocumentRule{ vault.GetPolicyDocumentRule{ Capabilities: []string{ "create", "read", "update", "delete", "list", }, Description: "allow all on secrets", Path: "secret/*", }, }, }, nil) if err != nil { return err } _, err = vault.NewPolicy(ctx, "examplePolicy", &vault.PolicyArgs{ Policy: pulumi.String(examplePolicyDocument.Hcl), }) if err != nil { return err } return nil }) }
```
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 LookupAuthBackendArgs ¶
type LookupAuthBackendArgs struct { // The auth backend mount point. Path string `pulumi:"path"` }
A collection of arguments for invoking getAuthBackend.
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"` // Speficies 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"` 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/v3/go/vault" "github.com/pulumi/pulumi/sdk/v2/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 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"` // `(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/v3/go/vault" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { userpass, err := vault.NewAuthBackend(ctx, "userpass", &vault.AuthBackendArgs{ Path: pulumi.String("userpass"), Type: pulumi.String("userpass"), }) if err != nil { return err } _, err = vault.NewMfaDuo(ctx, "myDuo", &vault.MfaDuoArgs{ ApiHostname: pulumi.String("api-2b5c39f5.duosecurity.com"), IntegrationKey: pulumi.String("BIACEUEAXI20BNWTEYXT"), MountAccessor: userpass.Accessor, SecretKey: pulumi.String("8C7THtrIigh2rPZQMbguugt8IUftWhMRCOBzbuyz"), }) 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 ¶ added in v3.0.2
func (*MfaDuo) ToMfaDuoOutput ¶ added in v3.0.2
func (i *MfaDuo) ToMfaDuoOutput() MfaDuoOutput
func (*MfaDuo) ToMfaDuoOutputWithContext ¶ added in v3.0.2
func (i *MfaDuo) ToMfaDuoOutputWithContext(ctx context.Context) MfaDuoOutput
func (*MfaDuo) ToMfaDuoPtrOutput ¶ added in v3.4.1
func (i *MfaDuo) ToMfaDuoPtrOutput() MfaDuoPtrOutput
func (*MfaDuo) ToMfaDuoPtrOutputWithContext ¶ added in v3.4.1
func (i *MfaDuo) ToMfaDuoPtrOutputWithContext(ctx context.Context) MfaDuoPtrOutput
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 // `(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 ¶ added in v3.4.1
type MfaDuoArray []MfaDuoInput
func (MfaDuoArray) ElementType ¶ added in v3.4.1
func (MfaDuoArray) ElementType() reflect.Type
func (MfaDuoArray) ToMfaDuoArrayOutput ¶ added in v3.4.1
func (i MfaDuoArray) ToMfaDuoArrayOutput() MfaDuoArrayOutput
func (MfaDuoArray) ToMfaDuoArrayOutputWithContext ¶ added in v3.4.1
func (i MfaDuoArray) ToMfaDuoArrayOutputWithContext(ctx context.Context) MfaDuoArrayOutput
type MfaDuoArrayInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type MfaDuoArrayOutput struct{ *pulumi.OutputState }
func (MfaDuoArrayOutput) ElementType ¶ added in v3.4.1
func (MfaDuoArrayOutput) ElementType() reflect.Type
func (MfaDuoArrayOutput) Index ¶ added in v3.4.1
func (o MfaDuoArrayOutput) Index(i pulumi.IntInput) MfaDuoOutput
func (MfaDuoArrayOutput) ToMfaDuoArrayOutput ¶ added in v3.4.1
func (o MfaDuoArrayOutput) ToMfaDuoArrayOutput() MfaDuoArrayOutput
func (MfaDuoArrayOutput) ToMfaDuoArrayOutputWithContext ¶ added in v3.4.1
func (o MfaDuoArrayOutput) ToMfaDuoArrayOutputWithContext(ctx context.Context) MfaDuoArrayOutput
type MfaDuoInput ¶ added in v3.0.2
type MfaDuoInput interface { pulumi.Input ToMfaDuoOutput() MfaDuoOutput ToMfaDuoOutputWithContext(ctx context.Context) MfaDuoOutput }
type MfaDuoMap ¶ added in v3.4.1
type MfaDuoMap map[string]MfaDuoInput
func (MfaDuoMap) ElementType ¶ added in v3.4.1
func (MfaDuoMap) ToMfaDuoMapOutput ¶ added in v3.4.1
func (i MfaDuoMap) ToMfaDuoMapOutput() MfaDuoMapOutput
func (MfaDuoMap) ToMfaDuoMapOutputWithContext ¶ added in v3.4.1
func (i MfaDuoMap) ToMfaDuoMapOutputWithContext(ctx context.Context) MfaDuoMapOutput
type MfaDuoMapInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type MfaDuoMapOutput struct{ *pulumi.OutputState }
func (MfaDuoMapOutput) ElementType ¶ added in v3.4.1
func (MfaDuoMapOutput) ElementType() reflect.Type
func (MfaDuoMapOutput) MapIndex ¶ added in v3.4.1
func (o MfaDuoMapOutput) MapIndex(k pulumi.StringInput) MfaDuoOutput
func (MfaDuoMapOutput) ToMfaDuoMapOutput ¶ added in v3.4.1
func (o MfaDuoMapOutput) ToMfaDuoMapOutput() MfaDuoMapOutput
func (MfaDuoMapOutput) ToMfaDuoMapOutputWithContext ¶ added in v3.4.1
func (o MfaDuoMapOutput) ToMfaDuoMapOutputWithContext(ctx context.Context) MfaDuoMapOutput
type MfaDuoOutput ¶ added in v3.0.2
type MfaDuoOutput struct {
*pulumi.OutputState
}
func (MfaDuoOutput) ElementType ¶ added in v3.0.2
func (MfaDuoOutput) ElementType() reflect.Type
func (MfaDuoOutput) ToMfaDuoOutput ¶ added in v3.0.2
func (o MfaDuoOutput) ToMfaDuoOutput() MfaDuoOutput
func (MfaDuoOutput) ToMfaDuoOutputWithContext ¶ added in v3.0.2
func (o MfaDuoOutput) ToMfaDuoOutputWithContext(ctx context.Context) MfaDuoOutput
func (MfaDuoOutput) ToMfaDuoPtrOutput ¶ added in v3.4.1
func (o MfaDuoOutput) ToMfaDuoPtrOutput() MfaDuoPtrOutput
func (MfaDuoOutput) ToMfaDuoPtrOutputWithContext ¶ added in v3.4.1
func (o MfaDuoOutput) ToMfaDuoPtrOutputWithContext(ctx context.Context) MfaDuoPtrOutput
type MfaDuoPtrInput ¶ added in v3.4.1
type MfaDuoPtrInput interface { pulumi.Input ToMfaDuoPtrOutput() MfaDuoPtrOutput ToMfaDuoPtrOutputWithContext(ctx context.Context) MfaDuoPtrOutput }
type MfaDuoPtrOutput ¶ added in v3.4.1
type MfaDuoPtrOutput struct {
*pulumi.OutputState
}
func (MfaDuoPtrOutput) ElementType ¶ added in v3.4.1
func (MfaDuoPtrOutput) ElementType() reflect.Type
func (MfaDuoPtrOutput) ToMfaDuoPtrOutput ¶ added in v3.4.1
func (o MfaDuoPtrOutput) ToMfaDuoPtrOutput() MfaDuoPtrOutput
func (MfaDuoPtrOutput) ToMfaDuoPtrOutputWithContext ¶ added in v3.4.1
func (o MfaDuoPtrOutput) ToMfaDuoPtrOutputWithContext(ctx context.Context) MfaDuoPtrOutput
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 // `(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 Mount ¶
type Mount struct { pulumi.CustomResourceState // The accessor for this mount. Accessor pulumi.StringOutput `pulumi:"accessor"` // Default lease duration for tokens and secrets in seconds DefaultLeaseTtlSeconds pulumi.IntOutput `pulumi:"defaultLeaseTtlSeconds"` // 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"` // 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"` // Specifies mount type specific options that are passed to the backend Options pulumi.MapOutput `pulumi:"options"` // Where the secret backend will be mounted Path pulumi.StringOutput `pulumi:"path"` // 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"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v3/go/vault" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.NewMount(ctx, "example", &vault.MountArgs{ Description: pulumi.String("This is an example mount"), Path: pulumi.String("dummy"), Type: pulumi.String("generic"), }) 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 ¶ added in v3.0.2
func (*Mount) ToMountOutput ¶ added in v3.0.2
func (i *Mount) ToMountOutput() MountOutput
func (*Mount) ToMountOutputWithContext ¶ added in v3.0.2
func (i *Mount) ToMountOutputWithContext(ctx context.Context) MountOutput
func (*Mount) ToMountPtrOutput ¶ added in v3.4.1
func (i *Mount) ToMountPtrOutput() MountPtrOutput
func (*Mount) ToMountPtrOutputWithContext ¶ added in v3.4.1
func (i *Mount) ToMountPtrOutputWithContext(ctx context.Context) MountPtrOutput
type MountArgs ¶
type MountArgs struct { // Default lease duration for tokens and secrets in seconds DefaultLeaseTtlSeconds pulumi.IntPtrInput // 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 // 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 // Specifies mount type specific options that are passed to the backend Options pulumi.MapInput // Where the secret backend will be mounted Path pulumi.StringInput // 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 ¶ added in v3.4.1
type MountArray []MountInput
func (MountArray) ElementType ¶ added in v3.4.1
func (MountArray) ElementType() reflect.Type
func (MountArray) ToMountArrayOutput ¶ added in v3.4.1
func (i MountArray) ToMountArrayOutput() MountArrayOutput
func (MountArray) ToMountArrayOutputWithContext ¶ added in v3.4.1
func (i MountArray) ToMountArrayOutputWithContext(ctx context.Context) MountArrayOutput
type MountArrayInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type MountArrayOutput struct{ *pulumi.OutputState }
func (MountArrayOutput) ElementType ¶ added in v3.4.1
func (MountArrayOutput) ElementType() reflect.Type
func (MountArrayOutput) Index ¶ added in v3.4.1
func (o MountArrayOutput) Index(i pulumi.IntInput) MountOutput
func (MountArrayOutput) ToMountArrayOutput ¶ added in v3.4.1
func (o MountArrayOutput) ToMountArrayOutput() MountArrayOutput
func (MountArrayOutput) ToMountArrayOutputWithContext ¶ added in v3.4.1
func (o MountArrayOutput) ToMountArrayOutputWithContext(ctx context.Context) MountArrayOutput
type MountInput ¶ added in v3.0.2
type MountInput interface { pulumi.Input ToMountOutput() MountOutput ToMountOutputWithContext(ctx context.Context) MountOutput }
type MountMap ¶ added in v3.4.1
type MountMap map[string]MountInput
func (MountMap) ElementType ¶ added in v3.4.1
func (MountMap) ToMountMapOutput ¶ added in v3.4.1
func (i MountMap) ToMountMapOutput() MountMapOutput
func (MountMap) ToMountMapOutputWithContext ¶ added in v3.4.1
func (i MountMap) ToMountMapOutputWithContext(ctx context.Context) MountMapOutput
type MountMapInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type MountMapOutput struct{ *pulumi.OutputState }
func (MountMapOutput) ElementType ¶ added in v3.4.1
func (MountMapOutput) ElementType() reflect.Type
func (MountMapOutput) MapIndex ¶ added in v3.4.1
func (o MountMapOutput) MapIndex(k pulumi.StringInput) MountOutput
func (MountMapOutput) ToMountMapOutput ¶ added in v3.4.1
func (o MountMapOutput) ToMountMapOutput() MountMapOutput
func (MountMapOutput) ToMountMapOutputWithContext ¶ added in v3.4.1
func (o MountMapOutput) ToMountMapOutputWithContext(ctx context.Context) MountMapOutput
type MountOutput ¶ added in v3.0.2
type MountOutput struct {
*pulumi.OutputState
}
func (MountOutput) ElementType ¶ added in v3.0.2
func (MountOutput) ElementType() reflect.Type
func (MountOutput) ToMountOutput ¶ added in v3.0.2
func (o MountOutput) ToMountOutput() MountOutput
func (MountOutput) ToMountOutputWithContext ¶ added in v3.0.2
func (o MountOutput) ToMountOutputWithContext(ctx context.Context) MountOutput
func (MountOutput) ToMountPtrOutput ¶ added in v3.4.1
func (o MountOutput) ToMountPtrOutput() MountPtrOutput
func (MountOutput) ToMountPtrOutputWithContext ¶ added in v3.4.1
func (o MountOutput) ToMountPtrOutputWithContext(ctx context.Context) MountPtrOutput
type MountPtrInput ¶ added in v3.4.1
type MountPtrInput interface { pulumi.Input ToMountPtrOutput() MountPtrOutput ToMountPtrOutputWithContext(ctx context.Context) MountPtrOutput }
type MountPtrOutput ¶ added in v3.4.1
type MountPtrOutput struct {
*pulumi.OutputState
}
func (MountPtrOutput) ElementType ¶ added in v3.4.1
func (MountPtrOutput) ElementType() reflect.Type
func (MountPtrOutput) ToMountPtrOutput ¶ added in v3.4.1
func (o MountPtrOutput) ToMountPtrOutput() MountPtrOutput
func (MountPtrOutput) ToMountPtrOutputWithContext ¶ added in v3.4.1
func (o MountPtrOutput) ToMountPtrOutputWithContext(ctx context.Context) MountPtrOutput
type MountState ¶
type MountState struct { // The accessor for this mount. Accessor pulumi.StringPtrInput // Default lease duration for tokens and secrets in seconds DefaultLeaseTtlSeconds pulumi.IntPtrInput // 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 // 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 // Specifies mount type specific options that are passed to the backend Options pulumi.MapInput // Where the secret backend will be mounted Path 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 // ID of the namepsace. NamespaceId pulumi.StringOutput `pulumi:"namespaceId"` // The path of the namespace. Must not have a trailing `/` Path pulumi.StringOutput `pulumi:"path"` }
Provides a resource to manage [Namespaces](https://www.vaultproject.io/docs/enterprise/namespaces/index.html).
**Note** this feature is available only with Vault Enterprise.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-vault/sdk/v3/go/vault" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.NewNamespace(ctx, "ns1", &vault.NamespaceArgs{ Path: pulumi.String("ns1"), }) if err != nil { return err } return nil }) }
```
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 ¶ added in v3.0.2
func (*Namespace) ToNamespaceOutput ¶ added in v3.0.2
func (i *Namespace) ToNamespaceOutput() NamespaceOutput
func (*Namespace) ToNamespaceOutputWithContext ¶ added in v3.0.2
func (i *Namespace) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput
func (*Namespace) ToNamespacePtrOutput ¶ added in v3.4.1
func (i *Namespace) ToNamespacePtrOutput() NamespacePtrOutput
func (*Namespace) ToNamespacePtrOutputWithContext ¶ added in v3.4.1
func (i *Namespace) ToNamespacePtrOutputWithContext(ctx context.Context) NamespacePtrOutput
type NamespaceArgs ¶
type NamespaceArgs struct { // The path of the namespace. Must not have a trailing `/` Path pulumi.StringInput }
The set of arguments for constructing a Namespace resource.
func (NamespaceArgs) ElementType ¶
func (NamespaceArgs) ElementType() reflect.Type
type NamespaceArray ¶ added in v3.4.1
type NamespaceArray []NamespaceInput
func (NamespaceArray) ElementType ¶ added in v3.4.1
func (NamespaceArray) ElementType() reflect.Type
func (NamespaceArray) ToNamespaceArrayOutput ¶ added in v3.4.1
func (i NamespaceArray) ToNamespaceArrayOutput() NamespaceArrayOutput
func (NamespaceArray) ToNamespaceArrayOutputWithContext ¶ added in v3.4.1
func (i NamespaceArray) ToNamespaceArrayOutputWithContext(ctx context.Context) NamespaceArrayOutput
type NamespaceArrayInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type NamespaceArrayOutput struct{ *pulumi.OutputState }
func (NamespaceArrayOutput) ElementType ¶ added in v3.4.1
func (NamespaceArrayOutput) ElementType() reflect.Type
func (NamespaceArrayOutput) Index ¶ added in v3.4.1
func (o NamespaceArrayOutput) Index(i pulumi.IntInput) NamespaceOutput
func (NamespaceArrayOutput) ToNamespaceArrayOutput ¶ added in v3.4.1
func (o NamespaceArrayOutput) ToNamespaceArrayOutput() NamespaceArrayOutput
func (NamespaceArrayOutput) ToNamespaceArrayOutputWithContext ¶ added in v3.4.1
func (o NamespaceArrayOutput) ToNamespaceArrayOutputWithContext(ctx context.Context) NamespaceArrayOutput
type NamespaceInput ¶ added in v3.0.2
type NamespaceInput interface { pulumi.Input ToNamespaceOutput() NamespaceOutput ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput }
type NamespaceMap ¶ added in v3.4.1
type NamespaceMap map[string]NamespaceInput
func (NamespaceMap) ElementType ¶ added in v3.4.1
func (NamespaceMap) ElementType() reflect.Type
func (NamespaceMap) ToNamespaceMapOutput ¶ added in v3.4.1
func (i NamespaceMap) ToNamespaceMapOutput() NamespaceMapOutput
func (NamespaceMap) ToNamespaceMapOutputWithContext ¶ added in v3.4.1
func (i NamespaceMap) ToNamespaceMapOutputWithContext(ctx context.Context) NamespaceMapOutput
type NamespaceMapInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type NamespaceMapOutput struct{ *pulumi.OutputState }
func (NamespaceMapOutput) ElementType ¶ added in v3.4.1
func (NamespaceMapOutput) ElementType() reflect.Type
func (NamespaceMapOutput) MapIndex ¶ added in v3.4.1
func (o NamespaceMapOutput) MapIndex(k pulumi.StringInput) NamespaceOutput
func (NamespaceMapOutput) ToNamespaceMapOutput ¶ added in v3.4.1
func (o NamespaceMapOutput) ToNamespaceMapOutput() NamespaceMapOutput
func (NamespaceMapOutput) ToNamespaceMapOutputWithContext ¶ added in v3.4.1
func (o NamespaceMapOutput) ToNamespaceMapOutputWithContext(ctx context.Context) NamespaceMapOutput
type NamespaceOutput ¶ added in v3.0.2
type NamespaceOutput struct {
*pulumi.OutputState
}
func (NamespaceOutput) ElementType ¶ added in v3.0.2
func (NamespaceOutput) ElementType() reflect.Type
func (NamespaceOutput) ToNamespaceOutput ¶ added in v3.0.2
func (o NamespaceOutput) ToNamespaceOutput() NamespaceOutput
func (NamespaceOutput) ToNamespaceOutputWithContext ¶ added in v3.0.2
func (o NamespaceOutput) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput
func (NamespaceOutput) ToNamespacePtrOutput ¶ added in v3.4.1
func (o NamespaceOutput) ToNamespacePtrOutput() NamespacePtrOutput
func (NamespaceOutput) ToNamespacePtrOutputWithContext ¶ added in v3.4.1
func (o NamespaceOutput) ToNamespacePtrOutputWithContext(ctx context.Context) NamespacePtrOutput
type NamespacePtrInput ¶ added in v3.4.1
type NamespacePtrInput interface { pulumi.Input ToNamespacePtrOutput() NamespacePtrOutput ToNamespacePtrOutputWithContext(ctx context.Context) NamespacePtrOutput }
type NamespacePtrOutput ¶ added in v3.4.1
type NamespacePtrOutput struct {
*pulumi.OutputState
}
func (NamespacePtrOutput) ElementType ¶ added in v3.4.1
func (NamespacePtrOutput) ElementType() reflect.Type
func (NamespacePtrOutput) ToNamespacePtrOutput ¶ added in v3.4.1
func (o NamespacePtrOutput) ToNamespacePtrOutput() NamespacePtrOutput
func (NamespacePtrOutput) ToNamespacePtrOutputWithContext ¶ added in v3.4.1
func (o NamespacePtrOutput) ToNamespacePtrOutputWithContext(ctx context.Context) NamespacePtrOutput
type NamespaceState ¶
type NamespaceState struct { // ID of the namepsace. NamespaceId pulumi.StringPtrInput // The path of the namespace. Must not have a trailing `/` Path pulumi.StringPtrInput }
func (NamespaceState) ElementType ¶
func (NamespaceState) ElementType() reflect.Type
type NomadSecretBackend ¶ added in v3.2.0
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"` // 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"` // 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"` }
## Import
Nomad secret backend can be imported using the `backend`, e.g.
```sh
$ pulumi import vault:index/nomadSecretBackend:NomadSecretBackend nomad nomad
```
func GetNomadSecretBackend ¶ added in v3.2.0
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 ¶ added in v3.2.0
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 ¶ added in v3.2.0
func (*NomadSecretBackend) ElementType() reflect.Type
func (*NomadSecretBackend) ToNomadSecretBackendOutput ¶ added in v3.2.0
func (i *NomadSecretBackend) ToNomadSecretBackendOutput() NomadSecretBackendOutput
func (*NomadSecretBackend) ToNomadSecretBackendOutputWithContext ¶ added in v3.2.0
func (i *NomadSecretBackend) ToNomadSecretBackendOutputWithContext(ctx context.Context) NomadSecretBackendOutput
func (*NomadSecretBackend) ToNomadSecretBackendPtrOutput ¶ added in v3.4.1
func (i *NomadSecretBackend) ToNomadSecretBackendPtrOutput() NomadSecretBackendPtrOutput
func (*NomadSecretBackend) ToNomadSecretBackendPtrOutputWithContext ¶ added in v3.4.1
func (i *NomadSecretBackend) ToNomadSecretBackendPtrOutputWithContext(ctx context.Context) NomadSecretBackendPtrOutput
type NomadSecretBackendArgs ¶ added in v3.2.0
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 // 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 // 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 ¶ added in v3.2.0
func (NomadSecretBackendArgs) ElementType() reflect.Type
type NomadSecretBackendArray ¶ added in v3.4.1
type NomadSecretBackendArray []NomadSecretBackendInput
func (NomadSecretBackendArray) ElementType ¶ added in v3.4.1
func (NomadSecretBackendArray) ElementType() reflect.Type
func (NomadSecretBackendArray) ToNomadSecretBackendArrayOutput ¶ added in v3.4.1
func (i NomadSecretBackendArray) ToNomadSecretBackendArrayOutput() NomadSecretBackendArrayOutput
func (NomadSecretBackendArray) ToNomadSecretBackendArrayOutputWithContext ¶ added in v3.4.1
func (i NomadSecretBackendArray) ToNomadSecretBackendArrayOutputWithContext(ctx context.Context) NomadSecretBackendArrayOutput
type NomadSecretBackendArrayInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type NomadSecretBackendArrayOutput struct{ *pulumi.OutputState }
func (NomadSecretBackendArrayOutput) ElementType ¶ added in v3.4.1
func (NomadSecretBackendArrayOutput) ElementType() reflect.Type
func (NomadSecretBackendArrayOutput) Index ¶ added in v3.4.1
func (o NomadSecretBackendArrayOutput) Index(i pulumi.IntInput) NomadSecretBackendOutput
func (NomadSecretBackendArrayOutput) ToNomadSecretBackendArrayOutput ¶ added in v3.4.1
func (o NomadSecretBackendArrayOutput) ToNomadSecretBackendArrayOutput() NomadSecretBackendArrayOutput
func (NomadSecretBackendArrayOutput) ToNomadSecretBackendArrayOutputWithContext ¶ added in v3.4.1
func (o NomadSecretBackendArrayOutput) ToNomadSecretBackendArrayOutputWithContext(ctx context.Context) NomadSecretBackendArrayOutput
type NomadSecretBackendInput ¶ added in v3.2.0
type NomadSecretBackendInput interface { pulumi.Input ToNomadSecretBackendOutput() NomadSecretBackendOutput ToNomadSecretBackendOutputWithContext(ctx context.Context) NomadSecretBackendOutput }
type NomadSecretBackendMap ¶ added in v3.4.1
type NomadSecretBackendMap map[string]NomadSecretBackendInput
func (NomadSecretBackendMap) ElementType ¶ added in v3.4.1
func (NomadSecretBackendMap) ElementType() reflect.Type
func (NomadSecretBackendMap) ToNomadSecretBackendMapOutput ¶ added in v3.4.1
func (i NomadSecretBackendMap) ToNomadSecretBackendMapOutput() NomadSecretBackendMapOutput
func (NomadSecretBackendMap) ToNomadSecretBackendMapOutputWithContext ¶ added in v3.4.1
func (i NomadSecretBackendMap) ToNomadSecretBackendMapOutputWithContext(ctx context.Context) NomadSecretBackendMapOutput
type NomadSecretBackendMapInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type NomadSecretBackendMapOutput struct{ *pulumi.OutputState }
func (NomadSecretBackendMapOutput) ElementType ¶ added in v3.4.1
func (NomadSecretBackendMapOutput) ElementType() reflect.Type
func (NomadSecretBackendMapOutput) MapIndex ¶ added in v3.4.1
func (o NomadSecretBackendMapOutput) MapIndex(k pulumi.StringInput) NomadSecretBackendOutput
func (NomadSecretBackendMapOutput) ToNomadSecretBackendMapOutput ¶ added in v3.4.1
func (o NomadSecretBackendMapOutput) ToNomadSecretBackendMapOutput() NomadSecretBackendMapOutput
func (NomadSecretBackendMapOutput) ToNomadSecretBackendMapOutputWithContext ¶ added in v3.4.1
func (o NomadSecretBackendMapOutput) ToNomadSecretBackendMapOutputWithContext(ctx context.Context) NomadSecretBackendMapOutput
type NomadSecretBackendOutput ¶ added in v3.2.0
type NomadSecretBackendOutput struct {
*pulumi.OutputState
}
func (NomadSecretBackendOutput) ElementType ¶ added in v3.2.0
func (NomadSecretBackendOutput) ElementType() reflect.Type
func (NomadSecretBackendOutput) ToNomadSecretBackendOutput ¶ added in v3.2.0
func (o NomadSecretBackendOutput) ToNomadSecretBackendOutput() NomadSecretBackendOutput
func (NomadSecretBackendOutput) ToNomadSecretBackendOutputWithContext ¶ added in v3.2.0
func (o NomadSecretBackendOutput) ToNomadSecretBackendOutputWithContext(ctx context.Context) NomadSecretBackendOutput
func (NomadSecretBackendOutput) ToNomadSecretBackendPtrOutput ¶ added in v3.4.1
func (o NomadSecretBackendOutput) ToNomadSecretBackendPtrOutput() NomadSecretBackendPtrOutput
func (NomadSecretBackendOutput) ToNomadSecretBackendPtrOutputWithContext ¶ added in v3.4.1
func (o NomadSecretBackendOutput) ToNomadSecretBackendPtrOutputWithContext(ctx context.Context) NomadSecretBackendPtrOutput
type NomadSecretBackendPtrInput ¶ added in v3.4.1
type NomadSecretBackendPtrInput interface { pulumi.Input ToNomadSecretBackendPtrOutput() NomadSecretBackendPtrOutput ToNomadSecretBackendPtrOutputWithContext(ctx context.Context) NomadSecretBackendPtrOutput }
type NomadSecretBackendPtrOutput ¶ added in v3.4.1
type NomadSecretBackendPtrOutput struct {
*pulumi.OutputState
}
func (NomadSecretBackendPtrOutput) ElementType ¶ added in v3.4.1
func (NomadSecretBackendPtrOutput) ElementType() reflect.Type
func (NomadSecretBackendPtrOutput) ToNomadSecretBackendPtrOutput ¶ added in v3.4.1
func (o NomadSecretBackendPtrOutput) ToNomadSecretBackendPtrOutput() NomadSecretBackendPtrOutput
func (NomadSecretBackendPtrOutput) ToNomadSecretBackendPtrOutputWithContext ¶ added in v3.4.1
func (o NomadSecretBackendPtrOutput) ToNomadSecretBackendPtrOutputWithContext(ctx context.Context) NomadSecretBackendPtrOutput
type NomadSecretBackendState ¶ added in v3.2.0
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 // 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 // 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 ¶ added in v3.2.0
func (NomadSecretBackendState) ElementType() reflect.Type
type NomadSecretRole ¶ added in v3.2.0
type NomadSecretRole struct { pulumi.CustomResourceState // The unique path this backend should be mounted at. Must // not begin or end with a `/`. Defaults to `nomad`. Backend pulumi.StringOutput `pulumi:"backend"` // Specifies if the generated token should be global. Defaults to // false. Global pulumi.BoolOutput `pulumi:"global"` // 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"` }
## 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 ¶ added in v3.2.0
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 ¶ added in v3.2.0
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 ¶ added in v3.2.0
func (*NomadSecretRole) ElementType() reflect.Type
func (*NomadSecretRole) ToNomadSecretRoleOutput ¶ added in v3.2.0
func (i *NomadSecretRole) ToNomadSecretRoleOutput() NomadSecretRoleOutput
func (*NomadSecretRole) ToNomadSecretRoleOutputWithContext ¶ added in v3.2.0
func (i *NomadSecretRole) ToNomadSecretRoleOutputWithContext(ctx context.Context) NomadSecretRoleOutput
func (*NomadSecretRole) ToNomadSecretRolePtrOutput ¶ added in v3.4.1
func (i *NomadSecretRole) ToNomadSecretRolePtrOutput() NomadSecretRolePtrOutput
func (*NomadSecretRole) ToNomadSecretRolePtrOutputWithContext ¶ added in v3.4.1
func (i *NomadSecretRole) ToNomadSecretRolePtrOutputWithContext(ctx context.Context) NomadSecretRolePtrOutput
type NomadSecretRoleArgs ¶ added in v3.2.0
type NomadSecretRoleArgs struct { // The unique path this backend should be mounted at. Must // not begin or end with a `/`. Defaults to `nomad`. Backend pulumi.StringInput // Specifies if the generated token should be global. Defaults to // false. Global pulumi.BoolPtrInput // 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 ¶ added in v3.2.0
func (NomadSecretRoleArgs) ElementType() reflect.Type
type NomadSecretRoleArray ¶ added in v3.4.1
type NomadSecretRoleArray []NomadSecretRoleInput
func (NomadSecretRoleArray) ElementType ¶ added in v3.4.1
func (NomadSecretRoleArray) ElementType() reflect.Type
func (NomadSecretRoleArray) ToNomadSecretRoleArrayOutput ¶ added in v3.4.1
func (i NomadSecretRoleArray) ToNomadSecretRoleArrayOutput() NomadSecretRoleArrayOutput
func (NomadSecretRoleArray) ToNomadSecretRoleArrayOutputWithContext ¶ added in v3.4.1
func (i NomadSecretRoleArray) ToNomadSecretRoleArrayOutputWithContext(ctx context.Context) NomadSecretRoleArrayOutput
type NomadSecretRoleArrayInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type NomadSecretRoleArrayOutput struct{ *pulumi.OutputState }
func (NomadSecretRoleArrayOutput) ElementType ¶ added in v3.4.1
func (NomadSecretRoleArrayOutput) ElementType() reflect.Type
func (NomadSecretRoleArrayOutput) Index ¶ added in v3.4.1
func (o NomadSecretRoleArrayOutput) Index(i pulumi.IntInput) NomadSecretRoleOutput
func (NomadSecretRoleArrayOutput) ToNomadSecretRoleArrayOutput ¶ added in v3.4.1
func (o NomadSecretRoleArrayOutput) ToNomadSecretRoleArrayOutput() NomadSecretRoleArrayOutput
func (NomadSecretRoleArrayOutput) ToNomadSecretRoleArrayOutputWithContext ¶ added in v3.4.1
func (o NomadSecretRoleArrayOutput) ToNomadSecretRoleArrayOutputWithContext(ctx context.Context) NomadSecretRoleArrayOutput
type NomadSecretRoleInput ¶ added in v3.2.0
type NomadSecretRoleInput interface { pulumi.Input ToNomadSecretRoleOutput() NomadSecretRoleOutput ToNomadSecretRoleOutputWithContext(ctx context.Context) NomadSecretRoleOutput }
type NomadSecretRoleMap ¶ added in v3.4.1
type NomadSecretRoleMap map[string]NomadSecretRoleInput
func (NomadSecretRoleMap) ElementType ¶ added in v3.4.1
func (NomadSecretRoleMap) ElementType() reflect.Type
func (NomadSecretRoleMap) ToNomadSecretRoleMapOutput ¶ added in v3.4.1
func (i NomadSecretRoleMap) ToNomadSecretRoleMapOutput() NomadSecretRoleMapOutput
func (NomadSecretRoleMap) ToNomadSecretRoleMapOutputWithContext ¶ added in v3.4.1
func (i NomadSecretRoleMap) ToNomadSecretRoleMapOutputWithContext(ctx context.Context) NomadSecretRoleMapOutput
type NomadSecretRoleMapInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type NomadSecretRoleMapOutput struct{ *pulumi.OutputState }
func (NomadSecretRoleMapOutput) ElementType ¶ added in v3.4.1
func (NomadSecretRoleMapOutput) ElementType() reflect.Type
func (NomadSecretRoleMapOutput) MapIndex ¶ added in v3.4.1
func (o NomadSecretRoleMapOutput) MapIndex(k pulumi.StringInput) NomadSecretRoleOutput
func (NomadSecretRoleMapOutput) ToNomadSecretRoleMapOutput ¶ added in v3.4.1
func (o NomadSecretRoleMapOutput) ToNomadSecretRoleMapOutput() NomadSecretRoleMapOutput
func (NomadSecretRoleMapOutput) ToNomadSecretRoleMapOutputWithContext ¶ added in v3.4.1
func (o NomadSecretRoleMapOutput) ToNomadSecretRoleMapOutputWithContext(ctx context.Context) NomadSecretRoleMapOutput
type NomadSecretRoleOutput ¶ added in v3.2.0
type NomadSecretRoleOutput struct {
*pulumi.OutputState
}
func (NomadSecretRoleOutput) ElementType ¶ added in v3.2.0
func (NomadSecretRoleOutput) ElementType() reflect.Type
func (NomadSecretRoleOutput) ToNomadSecretRoleOutput ¶ added in v3.2.0
func (o NomadSecretRoleOutput) ToNomadSecretRoleOutput() NomadSecretRoleOutput
func (NomadSecretRoleOutput) ToNomadSecretRoleOutputWithContext ¶ added in v3.2.0
func (o NomadSecretRoleOutput) ToNomadSecretRoleOutputWithContext(ctx context.Context) NomadSecretRoleOutput
func (NomadSecretRoleOutput) ToNomadSecretRolePtrOutput ¶ added in v3.4.1
func (o NomadSecretRoleOutput) ToNomadSecretRolePtrOutput() NomadSecretRolePtrOutput
func (NomadSecretRoleOutput) ToNomadSecretRolePtrOutputWithContext ¶ added in v3.4.1
func (o NomadSecretRoleOutput) ToNomadSecretRolePtrOutputWithContext(ctx context.Context) NomadSecretRolePtrOutput
type NomadSecretRolePtrInput ¶ added in v3.4.1
type NomadSecretRolePtrInput interface { pulumi.Input ToNomadSecretRolePtrOutput() NomadSecretRolePtrOutput ToNomadSecretRolePtrOutputWithContext(ctx context.Context) NomadSecretRolePtrOutput }
type NomadSecretRolePtrOutput ¶ added in v3.4.1
type NomadSecretRolePtrOutput struct {
*pulumi.OutputState
}
func (NomadSecretRolePtrOutput) ElementType ¶ added in v3.4.1
func (NomadSecretRolePtrOutput) ElementType() reflect.Type
func (NomadSecretRolePtrOutput) ToNomadSecretRolePtrOutput ¶ added in v3.4.1
func (o NomadSecretRolePtrOutput) ToNomadSecretRolePtrOutput() NomadSecretRolePtrOutput
func (NomadSecretRolePtrOutput) ToNomadSecretRolePtrOutputWithContext ¶ added in v3.4.1
func (o NomadSecretRolePtrOutput) ToNomadSecretRolePtrOutputWithContext(ctx context.Context) NomadSecretRolePtrOutput
type NomadSecretRoleState ¶ added in v3.2.0
type NomadSecretRoleState struct { // The unique path this backend should be mounted at. Must // not begin or end with a `/`. Defaults to `nomad`. Backend pulumi.StringPtrInput // Specifies if the generated token should be global. Defaults to // false. Global pulumi.BoolPtrInput // 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 ¶ added in v3.2.0
func (NomadSecretRoleState) ElementType() reflect.Type
type PasswordPolicy ¶ added in v3.3.0
type PasswordPolicy struct { pulumi.CustomResourceState // The name of the password policy. Name pulumi.StringOutput `pulumi:"name"` // 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 (
"fmt" "github.com/pulumi/pulumi-vault/sdk/v3/go/vault" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.NewPasswordPolicy(ctx, "alphanumeric", &vault.PasswordPolicyArgs{ Policy: pulumi.String(fmt.Sprintf("%v%v%v%v%v", "length = 20\n", "rule \"charset\" {\n", " charset = \"abcdefghijklmnopqrstuvwxyz0123456789\"\n", "}\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 ¶ added in v3.3.0
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 ¶ added in v3.3.0
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 ¶ added in v3.3.0
func (*PasswordPolicy) ElementType() reflect.Type
func (*PasswordPolicy) ToPasswordPolicyOutput ¶ added in v3.3.0
func (i *PasswordPolicy) ToPasswordPolicyOutput() PasswordPolicyOutput
func (*PasswordPolicy) ToPasswordPolicyOutputWithContext ¶ added in v3.3.0
func (i *PasswordPolicy) ToPasswordPolicyOutputWithContext(ctx context.Context) PasswordPolicyOutput
func (*PasswordPolicy) ToPasswordPolicyPtrOutput ¶ added in v3.4.1
func (i *PasswordPolicy) ToPasswordPolicyPtrOutput() PasswordPolicyPtrOutput
func (*PasswordPolicy) ToPasswordPolicyPtrOutputWithContext ¶ added in v3.4.1
func (i *PasswordPolicy) ToPasswordPolicyPtrOutputWithContext(ctx context.Context) PasswordPolicyPtrOutput
type PasswordPolicyArgs ¶ added in v3.3.0
type PasswordPolicyArgs struct { // The name of the password policy. Name pulumi.StringPtrInput // String containing a password policy. Policy pulumi.StringInput }
The set of arguments for constructing a PasswordPolicy resource.
func (PasswordPolicyArgs) ElementType ¶ added in v3.3.0
func (PasswordPolicyArgs) ElementType() reflect.Type
type PasswordPolicyArray ¶ added in v3.4.1
type PasswordPolicyArray []PasswordPolicyInput
func (PasswordPolicyArray) ElementType ¶ added in v3.4.1
func (PasswordPolicyArray) ElementType() reflect.Type
func (PasswordPolicyArray) ToPasswordPolicyArrayOutput ¶ added in v3.4.1
func (i PasswordPolicyArray) ToPasswordPolicyArrayOutput() PasswordPolicyArrayOutput
func (PasswordPolicyArray) ToPasswordPolicyArrayOutputWithContext ¶ added in v3.4.1
func (i PasswordPolicyArray) ToPasswordPolicyArrayOutputWithContext(ctx context.Context) PasswordPolicyArrayOutput
type PasswordPolicyArrayInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type PasswordPolicyArrayOutput struct{ *pulumi.OutputState }
func (PasswordPolicyArrayOutput) ElementType ¶ added in v3.4.1
func (PasswordPolicyArrayOutput) ElementType() reflect.Type
func (PasswordPolicyArrayOutput) Index ¶ added in v3.4.1
func (o PasswordPolicyArrayOutput) Index(i pulumi.IntInput) PasswordPolicyOutput
func (PasswordPolicyArrayOutput) ToPasswordPolicyArrayOutput ¶ added in v3.4.1
func (o PasswordPolicyArrayOutput) ToPasswordPolicyArrayOutput() PasswordPolicyArrayOutput
func (PasswordPolicyArrayOutput) ToPasswordPolicyArrayOutputWithContext ¶ added in v3.4.1
func (o PasswordPolicyArrayOutput) ToPasswordPolicyArrayOutputWithContext(ctx context.Context) PasswordPolicyArrayOutput
type PasswordPolicyInput ¶ added in v3.3.0
type PasswordPolicyInput interface { pulumi.Input ToPasswordPolicyOutput() PasswordPolicyOutput ToPasswordPolicyOutputWithContext(ctx context.Context) PasswordPolicyOutput }
type PasswordPolicyMap ¶ added in v3.4.1
type PasswordPolicyMap map[string]PasswordPolicyInput
func (PasswordPolicyMap) ElementType ¶ added in v3.4.1
func (PasswordPolicyMap) ElementType() reflect.Type
func (PasswordPolicyMap) ToPasswordPolicyMapOutput ¶ added in v3.4.1
func (i PasswordPolicyMap) ToPasswordPolicyMapOutput() PasswordPolicyMapOutput
func (PasswordPolicyMap) ToPasswordPolicyMapOutputWithContext ¶ added in v3.4.1
func (i PasswordPolicyMap) ToPasswordPolicyMapOutputWithContext(ctx context.Context) PasswordPolicyMapOutput
type PasswordPolicyMapInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type PasswordPolicyMapOutput struct{ *pulumi.OutputState }
func (PasswordPolicyMapOutput) ElementType ¶ added in v3.4.1
func (PasswordPolicyMapOutput) ElementType() reflect.Type
func (PasswordPolicyMapOutput) MapIndex ¶ added in v3.4.1
func (o PasswordPolicyMapOutput) MapIndex(k pulumi.StringInput) PasswordPolicyOutput
func (PasswordPolicyMapOutput) ToPasswordPolicyMapOutput ¶ added in v3.4.1
func (o PasswordPolicyMapOutput) ToPasswordPolicyMapOutput() PasswordPolicyMapOutput
func (PasswordPolicyMapOutput) ToPasswordPolicyMapOutputWithContext ¶ added in v3.4.1
func (o PasswordPolicyMapOutput) ToPasswordPolicyMapOutputWithContext(ctx context.Context) PasswordPolicyMapOutput
type PasswordPolicyOutput ¶ added in v3.3.0
type PasswordPolicyOutput struct {
*pulumi.OutputState
}
func (PasswordPolicyOutput) ElementType ¶ added in v3.3.0
func (PasswordPolicyOutput) ElementType() reflect.Type
func (PasswordPolicyOutput) ToPasswordPolicyOutput ¶ added in v3.3.0
func (o PasswordPolicyOutput) ToPasswordPolicyOutput() PasswordPolicyOutput
func (PasswordPolicyOutput) ToPasswordPolicyOutputWithContext ¶ added in v3.3.0
func (o PasswordPolicyOutput) ToPasswordPolicyOutputWithContext(ctx context.Context) PasswordPolicyOutput
func (PasswordPolicyOutput) ToPasswordPolicyPtrOutput ¶ added in v3.4.1
func (o PasswordPolicyOutput) ToPasswordPolicyPtrOutput() PasswordPolicyPtrOutput
func (PasswordPolicyOutput) ToPasswordPolicyPtrOutputWithContext ¶ added in v3.4.1
func (o PasswordPolicyOutput) ToPasswordPolicyPtrOutputWithContext(ctx context.Context) PasswordPolicyPtrOutput
type PasswordPolicyPtrInput ¶ added in v3.4.1
type PasswordPolicyPtrInput interface { pulumi.Input ToPasswordPolicyPtrOutput() PasswordPolicyPtrOutput ToPasswordPolicyPtrOutputWithContext(ctx context.Context) PasswordPolicyPtrOutput }
type PasswordPolicyPtrOutput ¶ added in v3.4.1
type PasswordPolicyPtrOutput struct {
*pulumi.OutputState
}
func (PasswordPolicyPtrOutput) ElementType ¶ added in v3.4.1
func (PasswordPolicyPtrOutput) ElementType() reflect.Type
func (PasswordPolicyPtrOutput) ToPasswordPolicyPtrOutput ¶ added in v3.4.1
func (o PasswordPolicyPtrOutput) ToPasswordPolicyPtrOutput() PasswordPolicyPtrOutput
func (PasswordPolicyPtrOutput) ToPasswordPolicyPtrOutputWithContext ¶ added in v3.4.1
func (o PasswordPolicyPtrOutput) ToPasswordPolicyPtrOutputWithContext(ctx context.Context) PasswordPolicyPtrOutput
type PasswordPolicyState ¶ added in v3.3.0
type PasswordPolicyState struct { // The name of the password policy. Name pulumi.StringPtrInput // String containing a password policy. Policy pulumi.StringPtrInput }
func (PasswordPolicyState) ElementType ¶ added in v3.3.0
func (PasswordPolicyState) ElementType() reflect.Type
type Policy ¶
type Policy struct { pulumi.CustomResourceState // The name of the policy Name pulumi.StringOutput `pulumi:"name"` // String containing a Vault policy Policy pulumi.StringOutput `pulumi:"policy"` }
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-vault/sdk/v3/go/vault" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.NewPolicy(ctx, "example", &vault.PolicyArgs{ Policy: pulumi.String(fmt.Sprintf("%v%v%v%v", "path \"secret/my_app\" {\n", " capabilities = [\"update\"]\n", "}\n", "\n")), }) if err != nil { return err } return nil }) }
```
## 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 ¶ added in v3.0.2
func (*Policy) ToPolicyOutput ¶ added in v3.0.2
func (i *Policy) ToPolicyOutput() PolicyOutput
func (*Policy) ToPolicyOutputWithContext ¶ added in v3.0.2
func (i *Policy) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
func (*Policy) ToPolicyPtrOutput ¶ added in v3.4.1
func (i *Policy) ToPolicyPtrOutput() PolicyPtrOutput
func (*Policy) ToPolicyPtrOutputWithContext ¶ added in v3.4.1
func (i *Policy) ToPolicyPtrOutputWithContext(ctx context.Context) PolicyPtrOutput
type PolicyArgs ¶
type PolicyArgs struct { // The name of the policy Name 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 ¶ added in v3.4.1
type PolicyArray []PolicyInput
func (PolicyArray) ElementType ¶ added in v3.4.1
func (PolicyArray) ElementType() reflect.Type
func (PolicyArray) ToPolicyArrayOutput ¶ added in v3.4.1
func (i PolicyArray) ToPolicyArrayOutput() PolicyArrayOutput
func (PolicyArray) ToPolicyArrayOutputWithContext ¶ added in v3.4.1
func (i PolicyArray) ToPolicyArrayOutputWithContext(ctx context.Context) PolicyArrayOutput
type PolicyArrayInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type PolicyArrayOutput struct{ *pulumi.OutputState }
func (PolicyArrayOutput) ElementType ¶ added in v3.4.1
func (PolicyArrayOutput) ElementType() reflect.Type
func (PolicyArrayOutput) Index ¶ added in v3.4.1
func (o PolicyArrayOutput) Index(i pulumi.IntInput) PolicyOutput
func (PolicyArrayOutput) ToPolicyArrayOutput ¶ added in v3.4.1
func (o PolicyArrayOutput) ToPolicyArrayOutput() PolicyArrayOutput
func (PolicyArrayOutput) ToPolicyArrayOutputWithContext ¶ added in v3.4.1
func (o PolicyArrayOutput) ToPolicyArrayOutputWithContext(ctx context.Context) PolicyArrayOutput
type PolicyInput ¶ added in v3.0.2
type PolicyInput interface { pulumi.Input ToPolicyOutput() PolicyOutput ToPolicyOutputWithContext(ctx context.Context) PolicyOutput }
type PolicyMap ¶ added in v3.4.1
type PolicyMap map[string]PolicyInput
func (PolicyMap) ElementType ¶ added in v3.4.1
func (PolicyMap) ToPolicyMapOutput ¶ added in v3.4.1
func (i PolicyMap) ToPolicyMapOutput() PolicyMapOutput
func (PolicyMap) ToPolicyMapOutputWithContext ¶ added in v3.4.1
func (i PolicyMap) ToPolicyMapOutputWithContext(ctx context.Context) PolicyMapOutput
type PolicyMapInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type PolicyMapOutput struct{ *pulumi.OutputState }
func (PolicyMapOutput) ElementType ¶ added in v3.4.1
func (PolicyMapOutput) ElementType() reflect.Type
func (PolicyMapOutput) MapIndex ¶ added in v3.4.1
func (o PolicyMapOutput) MapIndex(k pulumi.StringInput) PolicyOutput
func (PolicyMapOutput) ToPolicyMapOutput ¶ added in v3.4.1
func (o PolicyMapOutput) ToPolicyMapOutput() PolicyMapOutput
func (PolicyMapOutput) ToPolicyMapOutputWithContext ¶ added in v3.4.1
func (o PolicyMapOutput) ToPolicyMapOutputWithContext(ctx context.Context) PolicyMapOutput
type PolicyOutput ¶ added in v3.0.2
type PolicyOutput struct {
*pulumi.OutputState
}
func (PolicyOutput) ElementType ¶ added in v3.0.2
func (PolicyOutput) ElementType() reflect.Type
func (PolicyOutput) ToPolicyOutput ¶ added in v3.0.2
func (o PolicyOutput) ToPolicyOutput() PolicyOutput
func (PolicyOutput) ToPolicyOutputWithContext ¶ added in v3.0.2
func (o PolicyOutput) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
func (PolicyOutput) ToPolicyPtrOutput ¶ added in v3.4.1
func (o PolicyOutput) ToPolicyPtrOutput() PolicyPtrOutput
func (PolicyOutput) ToPolicyPtrOutputWithContext ¶ added in v3.4.1
func (o PolicyOutput) ToPolicyPtrOutputWithContext(ctx context.Context) PolicyPtrOutput
type PolicyPtrInput ¶ added in v3.4.1
type PolicyPtrInput interface { pulumi.Input ToPolicyPtrOutput() PolicyPtrOutput ToPolicyPtrOutputWithContext(ctx context.Context) PolicyPtrOutput }
type PolicyPtrOutput ¶ added in v3.4.1
type PolicyPtrOutput struct {
*pulumi.OutputState
}
func (PolicyPtrOutput) ElementType ¶ added in v3.4.1
func (PolicyPtrOutput) ElementType() reflect.Type
func (PolicyPtrOutput) ToPolicyPtrOutput ¶ added in v3.4.1
func (o PolicyPtrOutput) ToPolicyPtrOutput() PolicyPtrOutput
func (PolicyPtrOutput) ToPolicyPtrOutputWithContext ¶ added in v3.4.1
func (o PolicyPtrOutput) ToPolicyPtrOutputWithContext(ctx context.Context) PolicyPtrOutput
type PolicyState ¶
type PolicyState struct { // The name of the policy Name 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
}
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 ¶ added in v3.0.2
func (*Provider) ToProviderOutput ¶ added in v3.0.2
func (i *Provider) ToProviderOutput() ProviderOutput
func (*Provider) ToProviderOutputWithContext ¶ added in v3.0.2
func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
func (*Provider) ToProviderPtrOutput ¶ added in v3.4.1
func (i *Provider) ToProviderPtrOutput() ProviderPtrOutput
func (*Provider) ToProviderPtrOutputWithContext ¶ added in v3.4.1
func (i *Provider) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
type ProviderArgs ¶
type ProviderArgs struct { // If true, adds the value of the `address` argument to the Terraform process environment. 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 AuthLogins ProviderAuthLoginArrayInput // 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. ClientAuths ProviderClientAuthArrayInput // 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 // The namespace to use. Available only for Vault Enterprise Namespace pulumi.StringPtrInput // Set this to true only if the target Vault server is an insecure development instance. SkipTlsVerify pulumi.BoolPtrInput // Token to use to authenticate to Vault. Token pulumi.StringInput // Token name to use for creating the Vault child token. TokenName pulumi.StringPtrInput }
The set of arguments for constructing a Provider resource.
func (ProviderArgs) ElementType ¶
func (ProviderArgs) ElementType() reflect.Type
type ProviderAuthLogin ¶
type ProviderAuthLoginArgs ¶
type ProviderAuthLoginArgs struct { Namespace pulumi.StringPtrInput `pulumi:"namespace"` Parameters pulumi.StringMapInput `pulumi:"parameters"` Path pulumi.StringInput `pulumi:"path"` }
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
type ProviderAuthLoginArray ¶
type ProviderAuthLoginArray []ProviderAuthLoginInput
func (ProviderAuthLoginArray) ElementType ¶
func (ProviderAuthLoginArray) ElementType() reflect.Type
func (ProviderAuthLoginArray) ToProviderAuthLoginArrayOutput ¶
func (i ProviderAuthLoginArray) ToProviderAuthLoginArrayOutput() ProviderAuthLoginArrayOutput
func (ProviderAuthLoginArray) ToProviderAuthLoginArrayOutputWithContext ¶
func (i ProviderAuthLoginArray) ToProviderAuthLoginArrayOutputWithContext(ctx context.Context) ProviderAuthLoginArrayOutput
type ProviderAuthLoginArrayInput ¶
type ProviderAuthLoginArrayInput interface { pulumi.Input ToProviderAuthLoginArrayOutput() ProviderAuthLoginArrayOutput ToProviderAuthLoginArrayOutputWithContext(context.Context) ProviderAuthLoginArrayOutput }
ProviderAuthLoginArrayInput is an input type that accepts ProviderAuthLoginArray and ProviderAuthLoginArrayOutput values. You can construct a concrete instance of `ProviderAuthLoginArrayInput` via:
ProviderAuthLoginArray{ ProviderAuthLoginArgs{...} }
type ProviderAuthLoginArrayOutput ¶
type ProviderAuthLoginArrayOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginArrayOutput) ElementType ¶
func (ProviderAuthLoginArrayOutput) ElementType() reflect.Type
func (ProviderAuthLoginArrayOutput) Index ¶
func (o ProviderAuthLoginArrayOutput) Index(i pulumi.IntInput) ProviderAuthLoginOutput
func (ProviderAuthLoginArrayOutput) ToProviderAuthLoginArrayOutput ¶
func (o ProviderAuthLoginArrayOutput) ToProviderAuthLoginArrayOutput() ProviderAuthLoginArrayOutput
func (ProviderAuthLoginArrayOutput) ToProviderAuthLoginArrayOutputWithContext ¶
func (o ProviderAuthLoginArrayOutput) ToProviderAuthLoginArrayOutputWithContext(ctx context.Context) ProviderAuthLoginArrayOutput
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 ProviderAuthLoginOutput ¶
type ProviderAuthLoginOutput struct{ *pulumi.OutputState }
func (ProviderAuthLoginOutput) ElementType ¶
func (ProviderAuthLoginOutput) ElementType() reflect.Type
func (ProviderAuthLoginOutput) Namespace ¶
func (o ProviderAuthLoginOutput) Namespace() pulumi.StringPtrOutput
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
type ProviderClientAuth ¶
type ProviderClientAuthArgs ¶
type ProviderClientAuthArgs struct { CertFile pulumi.StringInput `pulumi:"certFile"` 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
type ProviderClientAuthArray ¶
type ProviderClientAuthArray []ProviderClientAuthInput
func (ProviderClientAuthArray) ElementType ¶
func (ProviderClientAuthArray) ElementType() reflect.Type
func (ProviderClientAuthArray) ToProviderClientAuthArrayOutput ¶
func (i ProviderClientAuthArray) ToProviderClientAuthArrayOutput() ProviderClientAuthArrayOutput
func (ProviderClientAuthArray) ToProviderClientAuthArrayOutputWithContext ¶
func (i ProviderClientAuthArray) ToProviderClientAuthArrayOutputWithContext(ctx context.Context) ProviderClientAuthArrayOutput
type ProviderClientAuthArrayInput ¶
type ProviderClientAuthArrayInput interface { pulumi.Input ToProviderClientAuthArrayOutput() ProviderClientAuthArrayOutput ToProviderClientAuthArrayOutputWithContext(context.Context) ProviderClientAuthArrayOutput }
ProviderClientAuthArrayInput is an input type that accepts ProviderClientAuthArray and ProviderClientAuthArrayOutput values. You can construct a concrete instance of `ProviderClientAuthArrayInput` via:
ProviderClientAuthArray{ ProviderClientAuthArgs{...} }
type ProviderClientAuthArrayOutput ¶
type ProviderClientAuthArrayOutput struct{ *pulumi.OutputState }
func (ProviderClientAuthArrayOutput) ElementType ¶
func (ProviderClientAuthArrayOutput) ElementType() reflect.Type
func (ProviderClientAuthArrayOutput) Index ¶
func (o ProviderClientAuthArrayOutput) Index(i pulumi.IntInput) ProviderClientAuthOutput
func (ProviderClientAuthArrayOutput) ToProviderClientAuthArrayOutput ¶
func (o ProviderClientAuthArrayOutput) ToProviderClientAuthArrayOutput() ProviderClientAuthArrayOutput
func (ProviderClientAuthArrayOutput) ToProviderClientAuthArrayOutputWithContext ¶
func (o ProviderClientAuthArrayOutput) ToProviderClientAuthArrayOutputWithContext(ctx context.Context) ProviderClientAuthArrayOutput
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
func (ProviderClientAuthOutput) ElementType ¶
func (ProviderClientAuthOutput) ElementType() reflect.Type
func (ProviderClientAuthOutput) KeyFile ¶
func (o ProviderClientAuthOutput) KeyFile() pulumi.StringOutput
func (ProviderClientAuthOutput) ToProviderClientAuthOutput ¶
func (o ProviderClientAuthOutput) ToProviderClientAuthOutput() ProviderClientAuthOutput
func (ProviderClientAuthOutput) ToProviderClientAuthOutputWithContext ¶
func (o ProviderClientAuthOutput) ToProviderClientAuthOutputWithContext(ctx context.Context) ProviderClientAuthOutput
type ProviderHeader ¶
type ProviderHeaderArgs ¶
type ProviderHeaderArgs struct { Name pulumi.StringInput `pulumi:"name"` 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
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
type ProviderInput ¶ added in v3.0.2
type ProviderInput interface { pulumi.Input ToProviderOutput() ProviderOutput ToProviderOutputWithContext(ctx context.Context) ProviderOutput }
type ProviderOutput ¶ added in v3.0.2
type ProviderOutput struct {
*pulumi.OutputState
}
func (ProviderOutput) ElementType ¶ added in v3.0.2
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) ToProviderOutput ¶ added in v3.0.2
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶ added in v3.0.2
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
func (ProviderOutput) ToProviderPtrOutput ¶ added in v3.4.1
func (o ProviderOutput) ToProviderPtrOutput() ProviderPtrOutput
func (ProviderOutput) ToProviderPtrOutputWithContext ¶ added in v3.4.1
func (o ProviderOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
type ProviderPtrInput ¶ added in v3.4.1
type ProviderPtrInput interface { pulumi.Input ToProviderPtrOutput() ProviderPtrOutput ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput }
type ProviderPtrOutput ¶ added in v3.4.1
type ProviderPtrOutput struct {
*pulumi.OutputState
}
func (ProviderPtrOutput) ElementType ¶ added in v3.4.1
func (ProviderPtrOutput) ElementType() reflect.Type
func (ProviderPtrOutput) ToProviderPtrOutput ¶ added in v3.4.1
func (o ProviderPtrOutput) ToProviderPtrOutput() ProviderPtrOutput
func (ProviderPtrOutput) ToProviderPtrOutputWithContext ¶ added in v3.4.1
func (o ProviderPtrOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
type QuotaRateLimit ¶
type QuotaRateLimit struct { pulumi.CustomResourceState // Name of the rate limit quota Name pulumi.StringOutput `pulumi:"name"` // 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"` }
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/v3/go/vault" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.NewQuotaRateLimit(ctx, "global", &vault.QuotaRateLimitArgs{ 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 ¶ added in v3.0.2
func (*QuotaRateLimit) ElementType() reflect.Type
func (*QuotaRateLimit) ToQuotaRateLimitOutput ¶ added in v3.0.2
func (i *QuotaRateLimit) ToQuotaRateLimitOutput() QuotaRateLimitOutput
func (*QuotaRateLimit) ToQuotaRateLimitOutputWithContext ¶ added in v3.0.2
func (i *QuotaRateLimit) ToQuotaRateLimitOutputWithContext(ctx context.Context) QuotaRateLimitOutput
func (*QuotaRateLimit) ToQuotaRateLimitPtrOutput ¶ added in v3.4.1
func (i *QuotaRateLimit) ToQuotaRateLimitPtrOutput() QuotaRateLimitPtrOutput
func (*QuotaRateLimit) ToQuotaRateLimitPtrOutputWithContext ¶ added in v3.4.1
func (i *QuotaRateLimit) ToQuotaRateLimitPtrOutputWithContext(ctx context.Context) QuotaRateLimitPtrOutput
type QuotaRateLimitArgs ¶
type QuotaRateLimitArgs struct { // Name of the rate limit quota Name 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 }
The set of arguments for constructing a QuotaRateLimit resource.
func (QuotaRateLimitArgs) ElementType ¶
func (QuotaRateLimitArgs) ElementType() reflect.Type
type QuotaRateLimitArray ¶ added in v3.4.1
type QuotaRateLimitArray []QuotaRateLimitInput
func (QuotaRateLimitArray) ElementType ¶ added in v3.4.1
func (QuotaRateLimitArray) ElementType() reflect.Type
func (QuotaRateLimitArray) ToQuotaRateLimitArrayOutput ¶ added in v3.4.1
func (i QuotaRateLimitArray) ToQuotaRateLimitArrayOutput() QuotaRateLimitArrayOutput
func (QuotaRateLimitArray) ToQuotaRateLimitArrayOutputWithContext ¶ added in v3.4.1
func (i QuotaRateLimitArray) ToQuotaRateLimitArrayOutputWithContext(ctx context.Context) QuotaRateLimitArrayOutput
type QuotaRateLimitArrayInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type QuotaRateLimitArrayOutput struct{ *pulumi.OutputState }
func (QuotaRateLimitArrayOutput) ElementType ¶ added in v3.4.1
func (QuotaRateLimitArrayOutput) ElementType() reflect.Type
func (QuotaRateLimitArrayOutput) Index ¶ added in v3.4.1
func (o QuotaRateLimitArrayOutput) Index(i pulumi.IntInput) QuotaRateLimitOutput
func (QuotaRateLimitArrayOutput) ToQuotaRateLimitArrayOutput ¶ added in v3.4.1
func (o QuotaRateLimitArrayOutput) ToQuotaRateLimitArrayOutput() QuotaRateLimitArrayOutput
func (QuotaRateLimitArrayOutput) ToQuotaRateLimitArrayOutputWithContext ¶ added in v3.4.1
func (o QuotaRateLimitArrayOutput) ToQuotaRateLimitArrayOutputWithContext(ctx context.Context) QuotaRateLimitArrayOutput
type QuotaRateLimitInput ¶ added in v3.0.2
type QuotaRateLimitInput interface { pulumi.Input ToQuotaRateLimitOutput() QuotaRateLimitOutput ToQuotaRateLimitOutputWithContext(ctx context.Context) QuotaRateLimitOutput }
type QuotaRateLimitMap ¶ added in v3.4.1
type QuotaRateLimitMap map[string]QuotaRateLimitInput
func (QuotaRateLimitMap) ElementType ¶ added in v3.4.1
func (QuotaRateLimitMap) ElementType() reflect.Type
func (QuotaRateLimitMap) ToQuotaRateLimitMapOutput ¶ added in v3.4.1
func (i QuotaRateLimitMap) ToQuotaRateLimitMapOutput() QuotaRateLimitMapOutput
func (QuotaRateLimitMap) ToQuotaRateLimitMapOutputWithContext ¶ added in v3.4.1
func (i QuotaRateLimitMap) ToQuotaRateLimitMapOutputWithContext(ctx context.Context) QuotaRateLimitMapOutput
type QuotaRateLimitMapInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type QuotaRateLimitMapOutput struct{ *pulumi.OutputState }
func (QuotaRateLimitMapOutput) ElementType ¶ added in v3.4.1
func (QuotaRateLimitMapOutput) ElementType() reflect.Type
func (QuotaRateLimitMapOutput) MapIndex ¶ added in v3.4.1
func (o QuotaRateLimitMapOutput) MapIndex(k pulumi.StringInput) QuotaRateLimitOutput
func (QuotaRateLimitMapOutput) ToQuotaRateLimitMapOutput ¶ added in v3.4.1
func (o QuotaRateLimitMapOutput) ToQuotaRateLimitMapOutput() QuotaRateLimitMapOutput
func (QuotaRateLimitMapOutput) ToQuotaRateLimitMapOutputWithContext ¶ added in v3.4.1
func (o QuotaRateLimitMapOutput) ToQuotaRateLimitMapOutputWithContext(ctx context.Context) QuotaRateLimitMapOutput
type QuotaRateLimitOutput ¶ added in v3.0.2
type QuotaRateLimitOutput struct {
*pulumi.OutputState
}
func (QuotaRateLimitOutput) ElementType ¶ added in v3.0.2
func (QuotaRateLimitOutput) ElementType() reflect.Type
func (QuotaRateLimitOutput) ToQuotaRateLimitOutput ¶ added in v3.0.2
func (o QuotaRateLimitOutput) ToQuotaRateLimitOutput() QuotaRateLimitOutput
func (QuotaRateLimitOutput) ToQuotaRateLimitOutputWithContext ¶ added in v3.0.2
func (o QuotaRateLimitOutput) ToQuotaRateLimitOutputWithContext(ctx context.Context) QuotaRateLimitOutput
func (QuotaRateLimitOutput) ToQuotaRateLimitPtrOutput ¶ added in v3.4.1
func (o QuotaRateLimitOutput) ToQuotaRateLimitPtrOutput() QuotaRateLimitPtrOutput
func (QuotaRateLimitOutput) ToQuotaRateLimitPtrOutputWithContext ¶ added in v3.4.1
func (o QuotaRateLimitOutput) ToQuotaRateLimitPtrOutputWithContext(ctx context.Context) QuotaRateLimitPtrOutput
type QuotaRateLimitPtrInput ¶ added in v3.4.1
type QuotaRateLimitPtrInput interface { pulumi.Input ToQuotaRateLimitPtrOutput() QuotaRateLimitPtrOutput ToQuotaRateLimitPtrOutputWithContext(ctx context.Context) QuotaRateLimitPtrOutput }
type QuotaRateLimitPtrOutput ¶ added in v3.4.1
type QuotaRateLimitPtrOutput struct {
*pulumi.OutputState
}
func (QuotaRateLimitPtrOutput) ElementType ¶ added in v3.4.1
func (QuotaRateLimitPtrOutput) ElementType() reflect.Type
func (QuotaRateLimitPtrOutput) ToQuotaRateLimitPtrOutput ¶ added in v3.4.1
func (o QuotaRateLimitPtrOutput) ToQuotaRateLimitPtrOutput() QuotaRateLimitPtrOutput
func (QuotaRateLimitPtrOutput) ToQuotaRateLimitPtrOutputWithContext ¶ added in v3.4.1
func (o QuotaRateLimitPtrOutput) ToQuotaRateLimitPtrOutputWithContext(ctx context.Context) QuotaRateLimitPtrOutput
type QuotaRateLimitState ¶
type QuotaRateLimitState struct { // Name of the rate limit quota Name 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 }
func (QuotaRateLimitState) ElementType ¶
func (QuotaRateLimitState) 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"` // 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 (
"fmt" "github.com/pulumi/pulumi-vault/sdk/v3/go/vault" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vault.NewRgpPolicy(ctx, "allow_all", &vault.RgpPolicyArgs{ EnforcementLevel: pulumi.String("soft-mandatory"), Policy: pulumi.String(fmt.Sprintf("%v%v%v%v", "main = rule {\n", " true\n", "}\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 ¶ added in v3.0.2
func (*RgpPolicy) ToRgpPolicyOutput ¶ added in v3.0.2
func (i *RgpPolicy) ToRgpPolicyOutput() RgpPolicyOutput
func (*RgpPolicy) ToRgpPolicyOutputWithContext ¶ added in v3.0.2
func (i *RgpPolicy) ToRgpPolicyOutputWithContext(ctx context.Context) RgpPolicyOutput
func (*RgpPolicy) ToRgpPolicyPtrOutput ¶ added in v3.4.1
func (i *RgpPolicy) ToRgpPolicyPtrOutput() RgpPolicyPtrOutput
func (*RgpPolicy) ToRgpPolicyPtrOutputWithContext ¶ added in v3.4.1
func (i *RgpPolicy) ToRgpPolicyPtrOutputWithContext(ctx context.Context) RgpPolicyPtrOutput
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 // 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 ¶ added in v3.4.1
type RgpPolicyArray []RgpPolicyInput
func (RgpPolicyArray) ElementType ¶ added in v3.4.1
func (RgpPolicyArray) ElementType() reflect.Type
func (RgpPolicyArray) ToRgpPolicyArrayOutput ¶ added in v3.4.1
func (i RgpPolicyArray) ToRgpPolicyArrayOutput() RgpPolicyArrayOutput
func (RgpPolicyArray) ToRgpPolicyArrayOutputWithContext ¶ added in v3.4.1
func (i RgpPolicyArray) ToRgpPolicyArrayOutputWithContext(ctx context.Context) RgpPolicyArrayOutput
type RgpPolicyArrayInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type RgpPolicyArrayOutput struct{ *pulumi.OutputState }
func (RgpPolicyArrayOutput) ElementType ¶ added in v3.4.1
func (RgpPolicyArrayOutput) ElementType() reflect.Type
func (RgpPolicyArrayOutput) Index ¶ added in v3.4.1
func (o RgpPolicyArrayOutput) Index(i pulumi.IntInput) RgpPolicyOutput
func (RgpPolicyArrayOutput) ToRgpPolicyArrayOutput ¶ added in v3.4.1
func (o RgpPolicyArrayOutput) ToRgpPolicyArrayOutput() RgpPolicyArrayOutput
func (RgpPolicyArrayOutput) ToRgpPolicyArrayOutputWithContext ¶ added in v3.4.1
func (o RgpPolicyArrayOutput) ToRgpPolicyArrayOutputWithContext(ctx context.Context) RgpPolicyArrayOutput
type RgpPolicyInput ¶ added in v3.0.2
type RgpPolicyInput interface { pulumi.Input ToRgpPolicyOutput() RgpPolicyOutput ToRgpPolicyOutputWithContext(ctx context.Context) RgpPolicyOutput }
type RgpPolicyMap ¶ added in v3.4.1
type RgpPolicyMap map[string]RgpPolicyInput
func (RgpPolicyMap) ElementType ¶ added in v3.4.1
func (RgpPolicyMap) ElementType() reflect.Type
func (RgpPolicyMap) ToRgpPolicyMapOutput ¶ added in v3.4.1
func (i RgpPolicyMap) ToRgpPolicyMapOutput() RgpPolicyMapOutput
func (RgpPolicyMap) ToRgpPolicyMapOutputWithContext ¶ added in v3.4.1
func (i RgpPolicyMap) ToRgpPolicyMapOutputWithContext(ctx context.Context) RgpPolicyMapOutput
type RgpPolicyMapInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type RgpPolicyMapOutput struct{ *pulumi.OutputState }
func (RgpPolicyMapOutput) ElementType ¶ added in v3.4.1
func (RgpPolicyMapOutput) ElementType() reflect.Type
func (RgpPolicyMapOutput) MapIndex ¶ added in v3.4.1
func (o RgpPolicyMapOutput) MapIndex(k pulumi.StringInput) RgpPolicyOutput
func (RgpPolicyMapOutput) ToRgpPolicyMapOutput ¶ added in v3.4.1
func (o RgpPolicyMapOutput) ToRgpPolicyMapOutput() RgpPolicyMapOutput
func (RgpPolicyMapOutput) ToRgpPolicyMapOutputWithContext ¶ added in v3.4.1
func (o RgpPolicyMapOutput) ToRgpPolicyMapOutputWithContext(ctx context.Context) RgpPolicyMapOutput
type RgpPolicyOutput ¶ added in v3.0.2
type RgpPolicyOutput struct {
*pulumi.OutputState
}
func (RgpPolicyOutput) ElementType ¶ added in v3.0.2
func (RgpPolicyOutput) ElementType() reflect.Type
func (RgpPolicyOutput) ToRgpPolicyOutput ¶ added in v3.0.2
func (o RgpPolicyOutput) ToRgpPolicyOutput() RgpPolicyOutput
func (RgpPolicyOutput) ToRgpPolicyOutputWithContext ¶ added in v3.0.2
func (o RgpPolicyOutput) ToRgpPolicyOutputWithContext(ctx context.Context) RgpPolicyOutput
func (RgpPolicyOutput) ToRgpPolicyPtrOutput ¶ added in v3.4.1
func (o RgpPolicyOutput) ToRgpPolicyPtrOutput() RgpPolicyPtrOutput
func (RgpPolicyOutput) ToRgpPolicyPtrOutputWithContext ¶ added in v3.4.1
func (o RgpPolicyOutput) ToRgpPolicyPtrOutputWithContext(ctx context.Context) RgpPolicyPtrOutput
type RgpPolicyPtrInput ¶ added in v3.4.1
type RgpPolicyPtrInput interface { pulumi.Input ToRgpPolicyPtrOutput() RgpPolicyPtrOutput ToRgpPolicyPtrOutputWithContext(ctx context.Context) RgpPolicyPtrOutput }
type RgpPolicyPtrOutput ¶ added in v3.4.1
type RgpPolicyPtrOutput struct {
*pulumi.OutputState
}
func (RgpPolicyPtrOutput) ElementType ¶ added in v3.4.1
func (RgpPolicyPtrOutput) ElementType() reflect.Type
func (RgpPolicyPtrOutput) ToRgpPolicyPtrOutput ¶ added in v3.4.1
func (o RgpPolicyPtrOutput) ToRgpPolicyPtrOutput() RgpPolicyPtrOutput
func (RgpPolicyPtrOutput) ToRgpPolicyPtrOutputWithContext ¶ added in v3.4.1
func (o RgpPolicyPtrOutput) ToRgpPolicyPtrOutputWithContext(ctx context.Context) RgpPolicyPtrOutput
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 // 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"` // String containing the client token encrypted with the given `pgpKey` if stored in present file EncryptedClientToken pulumi.StringOutput `pulumi:"encryptedClientToken"` // The explicit max TTL of this token 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"` // 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 Period pulumi.StringPtrOutput `pulumi:"period"` // The PGP key (base64 encoded) to encrypt the token. PgpKey pulumi.StringPtrOutput `pulumi:"pgpKey"` // List of policies to attach to this token Policies pulumi.StringArrayOutput `pulumi:"policies"` // The renew increment 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 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"` }
## 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 ¶ added in v3.0.2
func (*Token) ToTokenOutput ¶ added in v3.0.2
func (i *Token) ToTokenOutput() TokenOutput
func (*Token) ToTokenOutputWithContext ¶ added in v3.0.2
func (i *Token) ToTokenOutputWithContext(ctx context.Context) TokenOutput
func (*Token) ToTokenPtrOutput ¶ added in v3.4.1
func (i *Token) ToTokenPtrOutput() TokenPtrOutput
func (*Token) ToTokenPtrOutputWithContext ¶ added in v3.4.1
func (i *Token) ToTokenPtrOutputWithContext(ctx context.Context) TokenPtrOutput
type TokenArgs ¶
type TokenArgs struct { // String containing the token display name DisplayName pulumi.StringPtrInput // The explicit max TTL of this token ExplicitMaxTtl 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 Period pulumi.StringPtrInput // The PGP key (base64 encoded) to encrypt the token. PgpKey pulumi.StringPtrInput // List of policies to attach to this token Policies pulumi.StringArrayInput // The renew increment 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 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 ¶ added in v3.4.1
type TokenArray []TokenInput
func (TokenArray) ElementType ¶ added in v3.4.1
func (TokenArray) ElementType() reflect.Type
func (TokenArray) ToTokenArrayOutput ¶ added in v3.4.1
func (i TokenArray) ToTokenArrayOutput() TokenArrayOutput
func (TokenArray) ToTokenArrayOutputWithContext ¶ added in v3.4.1
func (i TokenArray) ToTokenArrayOutputWithContext(ctx context.Context) TokenArrayOutput
type TokenArrayInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type TokenArrayOutput struct{ *pulumi.OutputState }
func (TokenArrayOutput) ElementType ¶ added in v3.4.1
func (TokenArrayOutput) ElementType() reflect.Type
func (TokenArrayOutput) Index ¶ added in v3.4.1
func (o TokenArrayOutput) Index(i pulumi.IntInput) TokenOutput
func (TokenArrayOutput) ToTokenArrayOutput ¶ added in v3.4.1
func (o TokenArrayOutput) ToTokenArrayOutput() TokenArrayOutput
func (TokenArrayOutput) ToTokenArrayOutputWithContext ¶ added in v3.4.1
func (o TokenArrayOutput) ToTokenArrayOutputWithContext(ctx context.Context) TokenArrayOutput
type TokenInput ¶ added in v3.0.2
type TokenInput interface { pulumi.Input ToTokenOutput() TokenOutput ToTokenOutputWithContext(ctx context.Context) TokenOutput }
type TokenMap ¶ added in v3.4.1
type TokenMap map[string]TokenInput
func (TokenMap) ElementType ¶ added in v3.4.1
func (TokenMap) ToTokenMapOutput ¶ added in v3.4.1
func (i TokenMap) ToTokenMapOutput() TokenMapOutput
func (TokenMap) ToTokenMapOutputWithContext ¶ added in v3.4.1
func (i TokenMap) ToTokenMapOutputWithContext(ctx context.Context) TokenMapOutput
type TokenMapInput ¶ added in v3.4.1
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 ¶ added in v3.4.1
type TokenMapOutput struct{ *pulumi.OutputState }
func (TokenMapOutput) ElementType ¶ added in v3.4.1
func (TokenMapOutput) ElementType() reflect.Type
func (TokenMapOutput) MapIndex ¶ added in v3.4.1
func (o TokenMapOutput) MapIndex(k pulumi.StringInput) TokenOutput
func (TokenMapOutput) ToTokenMapOutput ¶ added in v3.4.1
func (o TokenMapOutput) ToTokenMapOutput() TokenMapOutput
func (TokenMapOutput) ToTokenMapOutputWithContext ¶ added in v3.4.1
func (o TokenMapOutput) ToTokenMapOutputWithContext(ctx context.Context) TokenMapOutput
type TokenOutput ¶ added in v3.0.2
type TokenOutput struct {
*pulumi.OutputState
}
func (TokenOutput) ElementType ¶ added in v3.0.2
func (TokenOutput) ElementType() reflect.Type
func (TokenOutput) ToTokenOutput ¶ added in v3.0.2
func (o TokenOutput) ToTokenOutput() TokenOutput
func (TokenOutput) ToTokenOutputWithContext ¶ added in v3.0.2
func (o TokenOutput) ToTokenOutputWithContext(ctx context.Context) TokenOutput
func (TokenOutput) ToTokenPtrOutput ¶ added in v3.4.1
func (o TokenOutput) ToTokenPtrOutput() TokenPtrOutput
func (TokenOutput) ToTokenPtrOutputWithContext ¶ added in v3.4.1
func (o TokenOutput) ToTokenPtrOutputWithContext(ctx context.Context) TokenPtrOutput
type TokenPtrInput ¶ added in v3.4.1
type TokenPtrInput interface { pulumi.Input ToTokenPtrOutput() TokenPtrOutput ToTokenPtrOutputWithContext(ctx context.Context) TokenPtrOutput }
type TokenPtrOutput ¶ added in v3.4.1
type TokenPtrOutput struct {
*pulumi.OutputState
}
func (TokenPtrOutput) ElementType ¶ added in v3.4.1
func (TokenPtrOutput) ElementType() reflect.Type
func (TokenPtrOutput) ToTokenPtrOutput ¶ added in v3.4.1
func (o TokenPtrOutput) ToTokenPtrOutput() TokenPtrOutput
func (TokenPtrOutput) ToTokenPtrOutputWithContext ¶ added in v3.4.1
func (o TokenPtrOutput) ToTokenPtrOutputWithContext(ctx context.Context) TokenPtrOutput
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 // String containing the client token encrypted with the given `pgpKey` if stored in present file EncryptedClientToken pulumi.StringPtrInput // The explicit max TTL of this token 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 // 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 Period pulumi.StringPtrInput // The PGP key (base64 encoded) to encrypt the token. PgpKey pulumi.StringPtrInput // List of policies to attach to this token Policies pulumi.StringArrayInput // The renew increment 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 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
- authBackend.go
- certAuthBackendRole.go
- doc.go
- egpPolicy.go
- getAuthBackend.go
- getNomadAccessToken.go
- getPolicyDocument.go
- init.go
- mfaDuo.go
- mount.go
- namespace.go
- nomadSecretBackend.go
- nomadSecretRole.go
- passwordPolicy.go
- policy.go
- provider.go
- pulumiTypes.go
- pulumiUtilities.go
- quotaRateLimit.go
- rgpPolicy.go
- token.go