Documentation ¶
Overview ¶
Package tls-self-signed-cert exports types, functions, subpackages for provisioning tls-self-signed-cert resources.
Index ¶
- Constants
- func PkgVersion() (semver.Version, error)
- type Algorithm
- func (Algorithm) ElementType() reflect.Type
- func (e Algorithm) ToAlgorithmOutput() AlgorithmOutput
- func (e Algorithm) ToAlgorithmOutputWithContext(ctx context.Context) AlgorithmOutput
- func (e Algorithm) ToAlgorithmPtrOutput() AlgorithmPtrOutput
- func (e Algorithm) ToAlgorithmPtrOutputWithContext(ctx context.Context) AlgorithmPtrOutput
- func (e Algorithm) ToStringOutput() pulumi.StringOutput
- func (e Algorithm) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e Algorithm) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e Algorithm) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type AlgorithmInput
- type AlgorithmOutput
- func (AlgorithmOutput) ElementType() reflect.Type
- func (o AlgorithmOutput) ToAlgorithmOutput() AlgorithmOutput
- func (o AlgorithmOutput) ToAlgorithmOutputWithContext(ctx context.Context) AlgorithmOutput
- func (o AlgorithmOutput) ToAlgorithmPtrOutput() AlgorithmPtrOutput
- func (o AlgorithmOutput) ToAlgorithmPtrOutputWithContext(ctx context.Context) AlgorithmPtrOutput
- func (o AlgorithmOutput) ToStringOutput() pulumi.StringOutput
- func (o AlgorithmOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o AlgorithmOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o AlgorithmOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type AlgorithmPtrInput
- type AlgorithmPtrOutput
- func (o AlgorithmPtrOutput) Elem() AlgorithmOutput
- func (AlgorithmPtrOutput) ElementType() reflect.Type
- func (o AlgorithmPtrOutput) ToAlgorithmPtrOutput() AlgorithmPtrOutput
- func (o AlgorithmPtrOutput) ToAlgorithmPtrOutputWithContext(ctx context.Context) AlgorithmPtrOutput
- func (o AlgorithmPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o AlgorithmPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type AllowedUses
- func (AllowedUses) ElementType() reflect.Type
- func (e AllowedUses) ToAllowedUsesOutput() AllowedUsesOutput
- func (e AllowedUses) ToAllowedUsesOutputWithContext(ctx context.Context) AllowedUsesOutput
- func (e AllowedUses) ToAllowedUsesPtrOutput() AllowedUsesPtrOutput
- func (e AllowedUses) ToAllowedUsesPtrOutputWithContext(ctx context.Context) AllowedUsesPtrOutput
- func (e AllowedUses) ToStringOutput() pulumi.StringOutput
- func (e AllowedUses) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e AllowedUses) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e AllowedUses) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type AllowedUsesArray
- type AllowedUsesArrayInput
- type AllowedUsesArrayOutput
- func (AllowedUsesArrayOutput) ElementType() reflect.Type
- func (o AllowedUsesArrayOutput) Index(i pulumi.IntInput) AllowedUsesOutput
- func (o AllowedUsesArrayOutput) ToAllowedUsesArrayOutput() AllowedUsesArrayOutput
- func (o AllowedUsesArrayOutput) ToAllowedUsesArrayOutputWithContext(ctx context.Context) AllowedUsesArrayOutput
- type AllowedUsesInput
- type AllowedUsesOutput
- func (AllowedUsesOutput) ElementType() reflect.Type
- func (o AllowedUsesOutput) ToAllowedUsesOutput() AllowedUsesOutput
- func (o AllowedUsesOutput) ToAllowedUsesOutputWithContext(ctx context.Context) AllowedUsesOutput
- func (o AllowedUsesOutput) ToAllowedUsesPtrOutput() AllowedUsesPtrOutput
- func (o AllowedUsesOutput) ToAllowedUsesPtrOutputWithContext(ctx context.Context) AllowedUsesPtrOutput
- func (o AllowedUsesOutput) ToStringOutput() pulumi.StringOutput
- func (o AllowedUsesOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o AllowedUsesOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o AllowedUsesOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type AllowedUsesPtrInput
- type AllowedUsesPtrOutput
- func (o AllowedUsesPtrOutput) Elem() AllowedUsesOutput
- func (AllowedUsesPtrOutput) ElementType() reflect.Type
- func (o AllowedUsesPtrOutput) ToAllowedUsesPtrOutput() AllowedUsesPtrOutput
- func (o AllowedUsesPtrOutput) ToAllowedUsesPtrOutputWithContext(ctx context.Context) AllowedUsesPtrOutput
- func (o AllowedUsesPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o AllowedUsesPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type EcdsaCurve
- func (EcdsaCurve) ElementType() reflect.Type
- func (e EcdsaCurve) ToEcdsaCurveOutput() EcdsaCurveOutput
- func (e EcdsaCurve) ToEcdsaCurveOutputWithContext(ctx context.Context) EcdsaCurveOutput
- func (e EcdsaCurve) ToEcdsaCurvePtrOutput() EcdsaCurvePtrOutput
- func (e EcdsaCurve) ToEcdsaCurvePtrOutputWithContext(ctx context.Context) EcdsaCurvePtrOutput
- func (e EcdsaCurve) ToStringOutput() pulumi.StringOutput
- func (e EcdsaCurve) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e EcdsaCurve) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e EcdsaCurve) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type EcdsaCurveInput
- type EcdsaCurveOutput
- func (EcdsaCurveOutput) ElementType() reflect.Type
- func (o EcdsaCurveOutput) ToEcdsaCurveOutput() EcdsaCurveOutput
- func (o EcdsaCurveOutput) ToEcdsaCurveOutputWithContext(ctx context.Context) EcdsaCurveOutput
- func (o EcdsaCurveOutput) ToEcdsaCurvePtrOutput() EcdsaCurvePtrOutput
- func (o EcdsaCurveOutput) ToEcdsaCurvePtrOutputWithContext(ctx context.Context) EcdsaCurvePtrOutput
- func (o EcdsaCurveOutput) ToStringOutput() pulumi.StringOutput
- func (o EcdsaCurveOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o EcdsaCurveOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o EcdsaCurveOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type EcdsaCurvePtrInput
- type EcdsaCurvePtrOutput
- func (o EcdsaCurvePtrOutput) Elem() EcdsaCurveOutput
- func (EcdsaCurvePtrOutput) ElementType() reflect.Type
- func (o EcdsaCurvePtrOutput) ToEcdsaCurvePtrOutput() EcdsaCurvePtrOutput
- func (o EcdsaCurvePtrOutput) ToEcdsaCurvePtrOutputWithContext(ctx context.Context) EcdsaCurvePtrOutput
- func (o EcdsaCurvePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o EcdsaCurvePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type Emptytype
- type Provider
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
- type SelfSignedCertificate
- type SelfSignedCertificateArgs
- type SelfSignedCertificateArray
- func (SelfSignedCertificateArray) ElementType() reflect.Type
- func (i SelfSignedCertificateArray) ToSelfSignedCertificateArrayOutput() SelfSignedCertificateArrayOutput
- func (i SelfSignedCertificateArray) ToSelfSignedCertificateArrayOutputWithContext(ctx context.Context) SelfSignedCertificateArrayOutput
- type SelfSignedCertificateArrayInput
- type SelfSignedCertificateArrayOutput
- func (SelfSignedCertificateArrayOutput) ElementType() reflect.Type
- func (o SelfSignedCertificateArrayOutput) Index(i pulumi.IntInput) SelfSignedCertificateOutput
- func (o SelfSignedCertificateArrayOutput) ToSelfSignedCertificateArrayOutput() SelfSignedCertificateArrayOutput
- func (o SelfSignedCertificateArrayOutput) ToSelfSignedCertificateArrayOutputWithContext(ctx context.Context) SelfSignedCertificateArrayOutput
- type SelfSignedCertificateInput
- type SelfSignedCertificateMap
- type SelfSignedCertificateMapInput
- type SelfSignedCertificateMapOutput
- func (SelfSignedCertificateMapOutput) ElementType() reflect.Type
- func (o SelfSignedCertificateMapOutput) MapIndex(k pulumi.StringInput) SelfSignedCertificateOutput
- func (o SelfSignedCertificateMapOutput) ToSelfSignedCertificateMapOutput() SelfSignedCertificateMapOutput
- func (o SelfSignedCertificateMapOutput) ToSelfSignedCertificateMapOutputWithContext(ctx context.Context) SelfSignedCertificateMapOutput
- type SelfSignedCertificateOutput
Constants ¶
const ( AlgorithmRSA = Algorithm("RSA") AlgorithmECDSA = Algorithm("ECDSA") AlgorithmED25519 = Algorithm("ED25519") )
const ( AllowedUses_Any_extended = AllowedUses("any_extended") AllowedUses_Cert_signing = AllowedUses("cert_signing") AllowedUses_Client_auth = AllowedUses("client_auth") AllowedUses_Code_signing = AllowedUses("code_signing") AllowedUses_Content_commitment = AllowedUses("content_commitment") AllowedUses_Crl_signing = AllowedUses("crl_signing") AllowedUses_Data_encipherment = AllowedUses("data_encipherment") AllowedUses_Decipher_only = AllowedUses("decipher_only") AllowedUses_Digital_signature = AllowedUses("digital_signature") AllowedUses_Email_protection = AllowedUses("email_protection") AllowedUses_Encipher_only = AllowedUses("encipher_only") AllowedUses_Ipsec_end_system = AllowedUses("ipsec_end_system") AllowedUses_Ipsec_tunnel = AllowedUses("ipsec_tunnel") AllowedUses_Ipsec_user = AllowedUses("ipsec_user") AllowedUses_Key_agreement = AllowedUses("key_agreement") AllowedUses_Key_encipherment = AllowedUses("key_encipherment") AllowedUses_Microsoft_commercial_code_signing = AllowedUses("microsoft_commercial_code_signing") AllowedUses_Microsoft_kernel_code_signing = AllowedUses("microsoft_kernel_code_signing") AllowedUses_Microsoft_server_gated_crypto = AllowedUses("microsoft_server_gated_crypto") AllowedUses_Netscape_server_gated_crypto = AllowedUses("netscape_server_gated_crypto") AllowedUses_Ocsp_signing = AllowedUses("ocsp_signing") AllowedUses_Server_auth = AllowedUses("server_auth") AllowedUsesTimestamping = AllowedUses("timestamping") )
const ( EcdsaCurveP224 = EcdsaCurve("P224") EcdsaCurveP256 = EcdsaCurve("P256") EcdsaCurveP384 = EcdsaCurve("P384") EcdsaCurveP521 = EcdsaCurve("P521") )
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶
PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.
Types ¶
type Algorithm ¶
type Algorithm string
func (Algorithm) ElementType ¶
func (Algorithm) ToAlgorithmOutput ¶
func (e Algorithm) ToAlgorithmOutput() AlgorithmOutput
func (Algorithm) ToAlgorithmOutputWithContext ¶
func (e Algorithm) ToAlgorithmOutputWithContext(ctx context.Context) AlgorithmOutput
func (Algorithm) ToAlgorithmPtrOutput ¶
func (e Algorithm) ToAlgorithmPtrOutput() AlgorithmPtrOutput
func (Algorithm) ToAlgorithmPtrOutputWithContext ¶
func (e Algorithm) ToAlgorithmPtrOutputWithContext(ctx context.Context) AlgorithmPtrOutput
func (Algorithm) ToStringOutput ¶
func (e Algorithm) ToStringOutput() pulumi.StringOutput
func (Algorithm) ToStringOutputWithContext ¶
func (e Algorithm) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (Algorithm) ToStringPtrOutput ¶
func (e Algorithm) ToStringPtrOutput() pulumi.StringPtrOutput
func (Algorithm) ToStringPtrOutputWithContext ¶
func (e Algorithm) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type AlgorithmInput ¶
type AlgorithmInput interface { pulumi.Input ToAlgorithmOutput() AlgorithmOutput ToAlgorithmOutputWithContext(context.Context) AlgorithmOutput }
AlgorithmInput is an input type that accepts AlgorithmArgs and AlgorithmOutput values. You can construct a concrete instance of `AlgorithmInput` via:
AlgorithmArgs{...}
type AlgorithmOutput ¶
type AlgorithmOutput struct{ *pulumi.OutputState }
func (AlgorithmOutput) ElementType ¶
func (AlgorithmOutput) ElementType() reflect.Type
func (AlgorithmOutput) ToAlgorithmOutput ¶
func (o AlgorithmOutput) ToAlgorithmOutput() AlgorithmOutput
func (AlgorithmOutput) ToAlgorithmOutputWithContext ¶
func (o AlgorithmOutput) ToAlgorithmOutputWithContext(ctx context.Context) AlgorithmOutput
func (AlgorithmOutput) ToAlgorithmPtrOutput ¶
func (o AlgorithmOutput) ToAlgorithmPtrOutput() AlgorithmPtrOutput
func (AlgorithmOutput) ToAlgorithmPtrOutputWithContext ¶
func (o AlgorithmOutput) ToAlgorithmPtrOutputWithContext(ctx context.Context) AlgorithmPtrOutput
func (AlgorithmOutput) ToStringOutput ¶
func (o AlgorithmOutput) ToStringOutput() pulumi.StringOutput
func (AlgorithmOutput) ToStringOutputWithContext ¶
func (o AlgorithmOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (AlgorithmOutput) ToStringPtrOutput ¶
func (o AlgorithmOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (AlgorithmOutput) ToStringPtrOutputWithContext ¶
func (o AlgorithmOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type AlgorithmPtrInput ¶
type AlgorithmPtrInput interface { pulumi.Input ToAlgorithmPtrOutput() AlgorithmPtrOutput ToAlgorithmPtrOutputWithContext(context.Context) AlgorithmPtrOutput }
func AlgorithmPtr ¶
func AlgorithmPtr(v string) AlgorithmPtrInput
type AlgorithmPtrOutput ¶
type AlgorithmPtrOutput struct{ *pulumi.OutputState }
func (AlgorithmPtrOutput) Elem ¶
func (o AlgorithmPtrOutput) Elem() AlgorithmOutput
func (AlgorithmPtrOutput) ElementType ¶
func (AlgorithmPtrOutput) ElementType() reflect.Type
func (AlgorithmPtrOutput) ToAlgorithmPtrOutput ¶
func (o AlgorithmPtrOutput) ToAlgorithmPtrOutput() AlgorithmPtrOutput
func (AlgorithmPtrOutput) ToAlgorithmPtrOutputWithContext ¶
func (o AlgorithmPtrOutput) ToAlgorithmPtrOutputWithContext(ctx context.Context) AlgorithmPtrOutput
func (AlgorithmPtrOutput) ToStringPtrOutput ¶
func (o AlgorithmPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (AlgorithmPtrOutput) ToStringPtrOutputWithContext ¶
func (o AlgorithmPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type AllowedUses ¶
type AllowedUses string
func (AllowedUses) ElementType ¶
func (AllowedUses) ElementType() reflect.Type
func (AllowedUses) ToAllowedUsesOutput ¶
func (e AllowedUses) ToAllowedUsesOutput() AllowedUsesOutput
func (AllowedUses) ToAllowedUsesOutputWithContext ¶
func (e AllowedUses) ToAllowedUsesOutputWithContext(ctx context.Context) AllowedUsesOutput
func (AllowedUses) ToAllowedUsesPtrOutput ¶
func (e AllowedUses) ToAllowedUsesPtrOutput() AllowedUsesPtrOutput
func (AllowedUses) ToAllowedUsesPtrOutputWithContext ¶
func (e AllowedUses) ToAllowedUsesPtrOutputWithContext(ctx context.Context) AllowedUsesPtrOutput
func (AllowedUses) ToStringOutput ¶
func (e AllowedUses) ToStringOutput() pulumi.StringOutput
func (AllowedUses) ToStringOutputWithContext ¶
func (e AllowedUses) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (AllowedUses) ToStringPtrOutput ¶
func (e AllowedUses) ToStringPtrOutput() pulumi.StringPtrOutput
func (AllowedUses) ToStringPtrOutputWithContext ¶
func (e AllowedUses) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type AllowedUsesArray ¶
type AllowedUsesArray []AllowedUses
func (AllowedUsesArray) ElementType ¶
func (AllowedUsesArray) ElementType() reflect.Type
func (AllowedUsesArray) ToAllowedUsesArrayOutput ¶
func (i AllowedUsesArray) ToAllowedUsesArrayOutput() AllowedUsesArrayOutput
func (AllowedUsesArray) ToAllowedUsesArrayOutputWithContext ¶
func (i AllowedUsesArray) ToAllowedUsesArrayOutputWithContext(ctx context.Context) AllowedUsesArrayOutput
type AllowedUsesArrayInput ¶
type AllowedUsesArrayInput interface { pulumi.Input ToAllowedUsesArrayOutput() AllowedUsesArrayOutput ToAllowedUsesArrayOutputWithContext(context.Context) AllowedUsesArrayOutput }
AllowedUsesArrayInput is an input type that accepts AllowedUsesArray and AllowedUsesArrayOutput values. You can construct a concrete instance of `AllowedUsesArrayInput` via:
AllowedUsesArray{ AllowedUsesArgs{...} }
type AllowedUsesArrayOutput ¶
type AllowedUsesArrayOutput struct{ *pulumi.OutputState }
func (AllowedUsesArrayOutput) ElementType ¶
func (AllowedUsesArrayOutput) ElementType() reflect.Type
func (AllowedUsesArrayOutput) Index ¶
func (o AllowedUsesArrayOutput) Index(i pulumi.IntInput) AllowedUsesOutput
func (AllowedUsesArrayOutput) ToAllowedUsesArrayOutput ¶
func (o AllowedUsesArrayOutput) ToAllowedUsesArrayOutput() AllowedUsesArrayOutput
func (AllowedUsesArrayOutput) ToAllowedUsesArrayOutputWithContext ¶
func (o AllowedUsesArrayOutput) ToAllowedUsesArrayOutputWithContext(ctx context.Context) AllowedUsesArrayOutput
type AllowedUsesInput ¶
type AllowedUsesInput interface { pulumi.Input ToAllowedUsesOutput() AllowedUsesOutput ToAllowedUsesOutputWithContext(context.Context) AllowedUsesOutput }
AllowedUsesInput is an input type that accepts AllowedUsesArgs and AllowedUsesOutput values. You can construct a concrete instance of `AllowedUsesInput` via:
AllowedUsesArgs{...}
type AllowedUsesOutput ¶
type AllowedUsesOutput struct{ *pulumi.OutputState }
func (AllowedUsesOutput) ElementType ¶
func (AllowedUsesOutput) ElementType() reflect.Type
func (AllowedUsesOutput) ToAllowedUsesOutput ¶
func (o AllowedUsesOutput) ToAllowedUsesOutput() AllowedUsesOutput
func (AllowedUsesOutput) ToAllowedUsesOutputWithContext ¶
func (o AllowedUsesOutput) ToAllowedUsesOutputWithContext(ctx context.Context) AllowedUsesOutput
func (AllowedUsesOutput) ToAllowedUsesPtrOutput ¶
func (o AllowedUsesOutput) ToAllowedUsesPtrOutput() AllowedUsesPtrOutput
func (AllowedUsesOutput) ToAllowedUsesPtrOutputWithContext ¶
func (o AllowedUsesOutput) ToAllowedUsesPtrOutputWithContext(ctx context.Context) AllowedUsesPtrOutput
func (AllowedUsesOutput) ToStringOutput ¶
func (o AllowedUsesOutput) ToStringOutput() pulumi.StringOutput
func (AllowedUsesOutput) ToStringOutputWithContext ¶
func (o AllowedUsesOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (AllowedUsesOutput) ToStringPtrOutput ¶
func (o AllowedUsesOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (AllowedUsesOutput) ToStringPtrOutputWithContext ¶
func (o AllowedUsesOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type AllowedUsesPtrInput ¶
type AllowedUsesPtrInput interface { pulumi.Input ToAllowedUsesPtrOutput() AllowedUsesPtrOutput ToAllowedUsesPtrOutputWithContext(context.Context) AllowedUsesPtrOutput }
func AllowedUsesPtr ¶
func AllowedUsesPtr(v string) AllowedUsesPtrInput
type AllowedUsesPtrOutput ¶
type AllowedUsesPtrOutput struct{ *pulumi.OutputState }
func (AllowedUsesPtrOutput) Elem ¶
func (o AllowedUsesPtrOutput) Elem() AllowedUsesOutput
func (AllowedUsesPtrOutput) ElementType ¶
func (AllowedUsesPtrOutput) ElementType() reflect.Type
func (AllowedUsesPtrOutput) ToAllowedUsesPtrOutput ¶
func (o AllowedUsesPtrOutput) ToAllowedUsesPtrOutput() AllowedUsesPtrOutput
func (AllowedUsesPtrOutput) ToAllowedUsesPtrOutputWithContext ¶
func (o AllowedUsesPtrOutput) ToAllowedUsesPtrOutputWithContext(ctx context.Context) AllowedUsesPtrOutput
func (AllowedUsesPtrOutput) ToStringPtrOutput ¶
func (o AllowedUsesPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (AllowedUsesPtrOutput) ToStringPtrOutputWithContext ¶
func (o AllowedUsesPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type EcdsaCurve ¶
type EcdsaCurve string
func (EcdsaCurve) ElementType ¶
func (EcdsaCurve) ElementType() reflect.Type
func (EcdsaCurve) ToEcdsaCurveOutput ¶
func (e EcdsaCurve) ToEcdsaCurveOutput() EcdsaCurveOutput
func (EcdsaCurve) ToEcdsaCurveOutputWithContext ¶
func (e EcdsaCurve) ToEcdsaCurveOutputWithContext(ctx context.Context) EcdsaCurveOutput
func (EcdsaCurve) ToEcdsaCurvePtrOutput ¶
func (e EcdsaCurve) ToEcdsaCurvePtrOutput() EcdsaCurvePtrOutput
func (EcdsaCurve) ToEcdsaCurvePtrOutputWithContext ¶
func (e EcdsaCurve) ToEcdsaCurvePtrOutputWithContext(ctx context.Context) EcdsaCurvePtrOutput
func (EcdsaCurve) ToStringOutput ¶
func (e EcdsaCurve) ToStringOutput() pulumi.StringOutput
func (EcdsaCurve) ToStringOutputWithContext ¶
func (e EcdsaCurve) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (EcdsaCurve) ToStringPtrOutput ¶
func (e EcdsaCurve) ToStringPtrOutput() pulumi.StringPtrOutput
func (EcdsaCurve) ToStringPtrOutputWithContext ¶
func (e EcdsaCurve) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type EcdsaCurveInput ¶
type EcdsaCurveInput interface { pulumi.Input ToEcdsaCurveOutput() EcdsaCurveOutput ToEcdsaCurveOutputWithContext(context.Context) EcdsaCurveOutput }
EcdsaCurveInput is an input type that accepts EcdsaCurveArgs and EcdsaCurveOutput values. You can construct a concrete instance of `EcdsaCurveInput` via:
EcdsaCurveArgs{...}
type EcdsaCurveOutput ¶
type EcdsaCurveOutput struct{ *pulumi.OutputState }
func (EcdsaCurveOutput) ElementType ¶
func (EcdsaCurveOutput) ElementType() reflect.Type
func (EcdsaCurveOutput) ToEcdsaCurveOutput ¶
func (o EcdsaCurveOutput) ToEcdsaCurveOutput() EcdsaCurveOutput
func (EcdsaCurveOutput) ToEcdsaCurveOutputWithContext ¶
func (o EcdsaCurveOutput) ToEcdsaCurveOutputWithContext(ctx context.Context) EcdsaCurveOutput
func (EcdsaCurveOutput) ToEcdsaCurvePtrOutput ¶
func (o EcdsaCurveOutput) ToEcdsaCurvePtrOutput() EcdsaCurvePtrOutput
func (EcdsaCurveOutput) ToEcdsaCurvePtrOutputWithContext ¶
func (o EcdsaCurveOutput) ToEcdsaCurvePtrOutputWithContext(ctx context.Context) EcdsaCurvePtrOutput
func (EcdsaCurveOutput) ToStringOutput ¶
func (o EcdsaCurveOutput) ToStringOutput() pulumi.StringOutput
func (EcdsaCurveOutput) ToStringOutputWithContext ¶
func (o EcdsaCurveOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (EcdsaCurveOutput) ToStringPtrOutput ¶
func (o EcdsaCurveOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (EcdsaCurveOutput) ToStringPtrOutputWithContext ¶
func (o EcdsaCurveOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type EcdsaCurvePtrInput ¶
type EcdsaCurvePtrInput interface { pulumi.Input ToEcdsaCurvePtrOutput() EcdsaCurvePtrOutput ToEcdsaCurvePtrOutputWithContext(context.Context) EcdsaCurvePtrOutput }
func EcdsaCurvePtr ¶
func EcdsaCurvePtr(v string) EcdsaCurvePtrInput
type EcdsaCurvePtrOutput ¶
type EcdsaCurvePtrOutput struct{ *pulumi.OutputState }
func (EcdsaCurvePtrOutput) Elem ¶
func (o EcdsaCurvePtrOutput) Elem() EcdsaCurveOutput
func (EcdsaCurvePtrOutput) ElementType ¶
func (EcdsaCurvePtrOutput) ElementType() reflect.Type
func (EcdsaCurvePtrOutput) ToEcdsaCurvePtrOutput ¶
func (o EcdsaCurvePtrOutput) ToEcdsaCurvePtrOutput() EcdsaCurvePtrOutput
func (EcdsaCurvePtrOutput) ToEcdsaCurvePtrOutputWithContext ¶
func (o EcdsaCurvePtrOutput) ToEcdsaCurvePtrOutputWithContext(ctx context.Context) EcdsaCurvePtrOutput
func (EcdsaCurvePtrOutput) ToStringPtrOutput ¶
func (o EcdsaCurvePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (EcdsaCurvePtrOutput) ToStringPtrOutputWithContext ¶
func (o EcdsaCurvePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type Provider ¶
type Provider struct {
pulumi.ProviderResourceState
}
func NewProvider ¶
func NewProvider(ctx *pulumi.Context, name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)
NewProvider registers a new resource with the given unique name, arguments, and options.
func (*Provider) ElementType ¶
func (*Provider) ToProviderOutput ¶
func (i *Provider) ToProviderOutput() ProviderOutput
func (*Provider) ToProviderOutputWithContext ¶
func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type ProviderArgs ¶
type ProviderArgs struct { }
The set of arguments for constructing a Provider resource.
func (ProviderArgs) ElementType ¶
func (ProviderArgs) ElementType() reflect.Type
type ProviderInput ¶
type ProviderInput interface { pulumi.Input ToProviderOutput() ProviderOutput ToProviderOutputWithContext(ctx context.Context) ProviderOutput }
type ProviderOutput ¶
type ProviderOutput struct{ *pulumi.OutputState }
func (ProviderOutput) ElementType ¶
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) ToProviderOutput ¶
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type SelfSignedCertificate ¶
type SelfSignedCertificate struct { pulumi.ResourceState // Your self signed cert. CaCert pulumi.StringOutput `pulumi:"caCert"` // The PEM of your self signed cert. Pem pulumi.StringOutput `pulumi:"pem"` // The private key of your self signed cert. PrivateKey pulumi.StringOutput `pulumi:"privateKey"` }
This resources helps you create a self signed certificate.
## Example Usage
### Self Signed Certificate
```go package main
import (
selfSignedCert "github.com/pulumi/pulumi-tls-self-signed-cert/sdk/go/tls-self-signed-cert" "github.com/pulumi/pulumi-tls/sdk/v4/go/tls" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cert, err := selfSignedCert.NewSelfSignedCertificate(ctx, "cert", &selfSignedCert.SelfSignedCertificateArgs{ DnsName: pulumi.String("cert.example.com"), ValidityPeriodHours: pulumi.Int(807660), LocalValidityPeriodHours: pulumi.Int(17520), Subject: tls.SelfSignedCertSubjectArgs{ CommonName: pulumi.String("example-cert"), Organization: pulumi.String("example-cert LLC"), }, }) if err != nil { return err } ctx.Export("pem", cert.Pem) ctx.Export("privateKey", cert.PrivateKey) ctx.Export("caCert", cert.CaCert) }) }
``` {{ /example }}\n{{% examples %}}
func NewSelfSignedCertificate ¶
func NewSelfSignedCertificate(ctx *pulumi.Context, name string, args *SelfSignedCertificateArgs, opts ...pulumi.ResourceOption) (*SelfSignedCertificate, error)
NewSelfSignedCertificate registers a new resource with the given unique name, arguments, and options.
func (*SelfSignedCertificate) ElementType ¶
func (*SelfSignedCertificate) ElementType() reflect.Type
func (*SelfSignedCertificate) ToSelfSignedCertificateOutput ¶
func (i *SelfSignedCertificate) ToSelfSignedCertificateOutput() SelfSignedCertificateOutput
func (*SelfSignedCertificate) ToSelfSignedCertificateOutputWithContext ¶
func (i *SelfSignedCertificate) ToSelfSignedCertificateOutputWithContext(ctx context.Context) SelfSignedCertificateOutput
type SelfSignedCertificateArgs ¶
type SelfSignedCertificateArgs struct { // Name of the algorithm to use when generating the private key. Currently-supported values are `RSA`, `ECDSA` and `ED25519` (default: `RSA`). Algorithm AlgorithmPtrInput // List of key usages allowed for the issued certificate. Values are defined in [RFC 5280](https://datatracker.ietf.org/doc/html/rfc5280) and combine flags defined by both [Key Usages](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.3) and [Extended Key Usages](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.12). Accepted values: `any_extended`, `cert_signing`, `client_auth`, `code_signing`, `content_commitment`, `crl_signing`, `data_encipherment`, `decipher_only`, `digital_signature`, `email_protection`, `encipher_only`, `ipsec_end_system`, `ipsec_tunnel`, `ipsec_user`, `key_agreement`, `key_encipherment`, `microsoft_commercial_code_signing`, `microsoft_kernel_code_signing`, `microsoft_server_gated_crypto`, `netscape_server_gated_crypto`, `ocsp_signing`, `server_auth`, `timestamping`. AllowedUses AllowedUsesArrayInput // The DNS name for which a certificate is being requested (i.e. certificate subjects). DnsName pulumi.StringPtrInput // When `algorithm` is `ECDSA`, the name of the elliptic curve to use. Currently-supported values are `P224`, `P256`, `P384` or `P521` (default: `P224`). EcdsaCurve EcdsaCurvePtrInput // The IP address for which a certificate is being requested (i.e. certificate subjects). IpAddress pulumi.StringPtrInput // Number of hours, after initial issuing, that the local certificate will remain valid for. LocalValidityPeriodHours pulumi.IntInput // When `algorithm` is `RSA`, the size of the generated RSA key, in bits (default: `2048`). RsaBits pulumi.IntPtrInput // The subject for which a certificate is being requested. The acceptable arguments are all optional and their naming is based upon [Issuer Distinguished Names (RFC5280)](https://tools.ietf.org/html/rfc5280#section-4.1.2.4) section. Subject SelfSignedCertSubjectInput // Number of hours, after initial issuing, that the certificate will remain valid for. ValidityPeriodHours pulumi.IntInput }
The set of arguments for constructing a SelfSignedCertificate resource.
func (SelfSignedCertificateArgs) ElementType ¶
func (SelfSignedCertificateArgs) ElementType() reflect.Type
type SelfSignedCertificateArray ¶
type SelfSignedCertificateArray []SelfSignedCertificateInput
func (SelfSignedCertificateArray) ElementType ¶
func (SelfSignedCertificateArray) ElementType() reflect.Type
func (SelfSignedCertificateArray) ToSelfSignedCertificateArrayOutput ¶
func (i SelfSignedCertificateArray) ToSelfSignedCertificateArrayOutput() SelfSignedCertificateArrayOutput
func (SelfSignedCertificateArray) ToSelfSignedCertificateArrayOutputWithContext ¶
func (i SelfSignedCertificateArray) ToSelfSignedCertificateArrayOutputWithContext(ctx context.Context) SelfSignedCertificateArrayOutput
type SelfSignedCertificateArrayInput ¶
type SelfSignedCertificateArrayInput interface { pulumi.Input ToSelfSignedCertificateArrayOutput() SelfSignedCertificateArrayOutput ToSelfSignedCertificateArrayOutputWithContext(context.Context) SelfSignedCertificateArrayOutput }
SelfSignedCertificateArrayInput is an input type that accepts SelfSignedCertificateArray and SelfSignedCertificateArrayOutput values. You can construct a concrete instance of `SelfSignedCertificateArrayInput` via:
SelfSignedCertificateArray{ SelfSignedCertificateArgs{...} }
type SelfSignedCertificateArrayOutput ¶
type SelfSignedCertificateArrayOutput struct{ *pulumi.OutputState }
func (SelfSignedCertificateArrayOutput) ElementType ¶
func (SelfSignedCertificateArrayOutput) ElementType() reflect.Type
func (SelfSignedCertificateArrayOutput) Index ¶
func (o SelfSignedCertificateArrayOutput) Index(i pulumi.IntInput) SelfSignedCertificateOutput
func (SelfSignedCertificateArrayOutput) ToSelfSignedCertificateArrayOutput ¶
func (o SelfSignedCertificateArrayOutput) ToSelfSignedCertificateArrayOutput() SelfSignedCertificateArrayOutput
func (SelfSignedCertificateArrayOutput) ToSelfSignedCertificateArrayOutputWithContext ¶
func (o SelfSignedCertificateArrayOutput) ToSelfSignedCertificateArrayOutputWithContext(ctx context.Context) SelfSignedCertificateArrayOutput
type SelfSignedCertificateInput ¶
type SelfSignedCertificateInput interface { pulumi.Input ToSelfSignedCertificateOutput() SelfSignedCertificateOutput ToSelfSignedCertificateOutputWithContext(ctx context.Context) SelfSignedCertificateOutput }
type SelfSignedCertificateMap ¶
type SelfSignedCertificateMap map[string]SelfSignedCertificateInput
func (SelfSignedCertificateMap) ElementType ¶
func (SelfSignedCertificateMap) ElementType() reflect.Type
func (SelfSignedCertificateMap) ToSelfSignedCertificateMapOutput ¶
func (i SelfSignedCertificateMap) ToSelfSignedCertificateMapOutput() SelfSignedCertificateMapOutput
func (SelfSignedCertificateMap) ToSelfSignedCertificateMapOutputWithContext ¶
func (i SelfSignedCertificateMap) ToSelfSignedCertificateMapOutputWithContext(ctx context.Context) SelfSignedCertificateMapOutput
type SelfSignedCertificateMapInput ¶
type SelfSignedCertificateMapInput interface { pulumi.Input ToSelfSignedCertificateMapOutput() SelfSignedCertificateMapOutput ToSelfSignedCertificateMapOutputWithContext(context.Context) SelfSignedCertificateMapOutput }
SelfSignedCertificateMapInput is an input type that accepts SelfSignedCertificateMap and SelfSignedCertificateMapOutput values. You can construct a concrete instance of `SelfSignedCertificateMapInput` via:
SelfSignedCertificateMap{ "key": SelfSignedCertificateArgs{...} }
type SelfSignedCertificateMapOutput ¶
type SelfSignedCertificateMapOutput struct{ *pulumi.OutputState }
func (SelfSignedCertificateMapOutput) ElementType ¶
func (SelfSignedCertificateMapOutput) ElementType() reflect.Type
func (SelfSignedCertificateMapOutput) MapIndex ¶
func (o SelfSignedCertificateMapOutput) MapIndex(k pulumi.StringInput) SelfSignedCertificateOutput
func (SelfSignedCertificateMapOutput) ToSelfSignedCertificateMapOutput ¶
func (o SelfSignedCertificateMapOutput) ToSelfSignedCertificateMapOutput() SelfSignedCertificateMapOutput
func (SelfSignedCertificateMapOutput) ToSelfSignedCertificateMapOutputWithContext ¶
func (o SelfSignedCertificateMapOutput) ToSelfSignedCertificateMapOutputWithContext(ctx context.Context) SelfSignedCertificateMapOutput
type SelfSignedCertificateOutput ¶
type SelfSignedCertificateOutput struct{ *pulumi.OutputState }
func (SelfSignedCertificateOutput) ElementType ¶
func (SelfSignedCertificateOutput) ElementType() reflect.Type
func (SelfSignedCertificateOutput) ToSelfSignedCertificateOutput ¶
func (o SelfSignedCertificateOutput) ToSelfSignedCertificateOutput() SelfSignedCertificateOutput
func (SelfSignedCertificateOutput) ToSelfSignedCertificateOutputWithContext ¶
func (o SelfSignedCertificateOutput) ToSelfSignedCertificateOutputWithContext(ctx context.Context) SelfSignedCertificateOutput