Documentation ¶
Overview ¶
A Pulumi package to create TLS resources in Pulumi programs.
Index ¶
- func PkgVersion() (semver.Version, error)
- type CertRequest
- func (*CertRequest) ElementType() reflect.Type
- func (i *CertRequest) ToCertRequestOutput() CertRequestOutput
- func (i *CertRequest) ToCertRequestOutputWithContext(ctx context.Context) CertRequestOutput
- func (i *CertRequest) ToCertRequestPtrOutput() CertRequestPtrOutput
- func (i *CertRequest) ToCertRequestPtrOutputWithContext(ctx context.Context) CertRequestPtrOutput
- type CertRequestArgs
- type CertRequestArray
- type CertRequestArrayInput
- type CertRequestArrayOutput
- func (CertRequestArrayOutput) ElementType() reflect.Type
- func (o CertRequestArrayOutput) Index(i pulumi.IntInput) CertRequestOutput
- func (o CertRequestArrayOutput) ToCertRequestArrayOutput() CertRequestArrayOutput
- func (o CertRequestArrayOutput) ToCertRequestArrayOutputWithContext(ctx context.Context) CertRequestArrayOutput
- type CertRequestInput
- type CertRequestMap
- type CertRequestMapInput
- type CertRequestMapOutput
- func (CertRequestMapOutput) ElementType() reflect.Type
- func (o CertRequestMapOutput) MapIndex(k pulumi.StringInput) CertRequestOutput
- func (o CertRequestMapOutput) ToCertRequestMapOutput() CertRequestMapOutput
- func (o CertRequestMapOutput) ToCertRequestMapOutputWithContext(ctx context.Context) CertRequestMapOutput
- type CertRequestOutput
- func (CertRequestOutput) ElementType() reflect.Type
- func (o CertRequestOutput) ToCertRequestOutput() CertRequestOutput
- func (o CertRequestOutput) ToCertRequestOutputWithContext(ctx context.Context) CertRequestOutput
- func (o CertRequestOutput) ToCertRequestPtrOutput() CertRequestPtrOutput
- func (o CertRequestOutput) ToCertRequestPtrOutputWithContext(ctx context.Context) CertRequestPtrOutput
- type CertRequestPtrInput
- type CertRequestPtrOutput
- type CertRequestState
- type CertRequestSubject
- type CertRequestSubjectArgs
- type CertRequestSubjectArray
- type CertRequestSubjectArrayInput
- type CertRequestSubjectArrayOutput
- func (CertRequestSubjectArrayOutput) ElementType() reflect.Type
- func (o CertRequestSubjectArrayOutput) Index(i pulumi.IntInput) CertRequestSubjectOutput
- func (o CertRequestSubjectArrayOutput) ToCertRequestSubjectArrayOutput() CertRequestSubjectArrayOutput
- func (o CertRequestSubjectArrayOutput) ToCertRequestSubjectArrayOutputWithContext(ctx context.Context) CertRequestSubjectArrayOutput
- type CertRequestSubjectInput
- type CertRequestSubjectOutput
- func (o CertRequestSubjectOutput) CommonName() pulumi.StringPtrOutput
- func (o CertRequestSubjectOutput) Country() pulumi.StringPtrOutput
- func (CertRequestSubjectOutput) ElementType() reflect.Type
- func (o CertRequestSubjectOutput) Locality() pulumi.StringPtrOutput
- func (o CertRequestSubjectOutput) Organization() pulumi.StringPtrOutput
- func (o CertRequestSubjectOutput) OrganizationalUnit() pulumi.StringPtrOutput
- func (o CertRequestSubjectOutput) PostalCode() pulumi.StringPtrOutput
- func (o CertRequestSubjectOutput) Province() pulumi.StringPtrOutput
- func (o CertRequestSubjectOutput) SerialNumber() pulumi.StringPtrOutput
- func (o CertRequestSubjectOutput) StreetAddresses() pulumi.StringArrayOutput
- func (o CertRequestSubjectOutput) ToCertRequestSubjectOutput() CertRequestSubjectOutput
- func (o CertRequestSubjectOutput) ToCertRequestSubjectOutputWithContext(ctx context.Context) CertRequestSubjectOutput
- type GetCertificateArgs
- type GetCertificateCertificate
- type GetCertificateCertificateArgs
- func (GetCertificateCertificateArgs) ElementType() reflect.Type
- func (i GetCertificateCertificateArgs) ToGetCertificateCertificateOutput() GetCertificateCertificateOutput
- func (i GetCertificateCertificateArgs) ToGetCertificateCertificateOutputWithContext(ctx context.Context) GetCertificateCertificateOutput
- type GetCertificateCertificateArray
- func (GetCertificateCertificateArray) ElementType() reflect.Type
- func (i GetCertificateCertificateArray) ToGetCertificateCertificateArrayOutput() GetCertificateCertificateArrayOutput
- func (i GetCertificateCertificateArray) ToGetCertificateCertificateArrayOutputWithContext(ctx context.Context) GetCertificateCertificateArrayOutput
- type GetCertificateCertificateArrayInput
- type GetCertificateCertificateArrayOutput
- func (GetCertificateCertificateArrayOutput) ElementType() reflect.Type
- func (o GetCertificateCertificateArrayOutput) Index(i pulumi.IntInput) GetCertificateCertificateOutput
- func (o GetCertificateCertificateArrayOutput) ToGetCertificateCertificateArrayOutput() GetCertificateCertificateArrayOutput
- func (o GetCertificateCertificateArrayOutput) ToGetCertificateCertificateArrayOutputWithContext(ctx context.Context) GetCertificateCertificateArrayOutput
- type GetCertificateCertificateInput
- type GetCertificateCertificateOutput
- func (GetCertificateCertificateOutput) ElementType() reflect.Type
- func (o GetCertificateCertificateOutput) IsCa() pulumi.BoolOutput
- func (o GetCertificateCertificateOutput) Issuer() pulumi.StringOutput
- func (o GetCertificateCertificateOutput) NotAfter() pulumi.StringOutput
- func (o GetCertificateCertificateOutput) NotBefore() pulumi.StringOutput
- func (o GetCertificateCertificateOutput) PublicKeyAlgorithm() pulumi.StringOutput
- func (o GetCertificateCertificateOutput) SerialNumber() pulumi.StringOutput
- func (o GetCertificateCertificateOutput) Sha1Fingerprint() pulumi.StringOutput
- func (o GetCertificateCertificateOutput) SignatureAlgorithm() pulumi.StringOutput
- func (o GetCertificateCertificateOutput) Subject() pulumi.StringOutput
- func (o GetCertificateCertificateOutput) ToGetCertificateCertificateOutput() GetCertificateCertificateOutput
- func (o GetCertificateCertificateOutput) ToGetCertificateCertificateOutputWithContext(ctx context.Context) GetCertificateCertificateOutput
- func (o GetCertificateCertificateOutput) Version() pulumi.IntOutput
- type GetCertificateResult
- type GetPublicKeyArgs
- type GetPublicKeyResult
- type LocallySignedCert
- func (*LocallySignedCert) ElementType() reflect.Type
- func (i *LocallySignedCert) ToLocallySignedCertOutput() LocallySignedCertOutput
- func (i *LocallySignedCert) ToLocallySignedCertOutputWithContext(ctx context.Context) LocallySignedCertOutput
- func (i *LocallySignedCert) ToLocallySignedCertPtrOutput() LocallySignedCertPtrOutput
- func (i *LocallySignedCert) ToLocallySignedCertPtrOutputWithContext(ctx context.Context) LocallySignedCertPtrOutput
- type LocallySignedCertArgs
- type LocallySignedCertArray
- type LocallySignedCertArrayInput
- type LocallySignedCertArrayOutput
- func (LocallySignedCertArrayOutput) ElementType() reflect.Type
- func (o LocallySignedCertArrayOutput) Index(i pulumi.IntInput) LocallySignedCertOutput
- func (o LocallySignedCertArrayOutput) ToLocallySignedCertArrayOutput() LocallySignedCertArrayOutput
- func (o LocallySignedCertArrayOutput) ToLocallySignedCertArrayOutputWithContext(ctx context.Context) LocallySignedCertArrayOutput
- type LocallySignedCertInput
- type LocallySignedCertMap
- type LocallySignedCertMapInput
- type LocallySignedCertMapOutput
- func (LocallySignedCertMapOutput) ElementType() reflect.Type
- func (o LocallySignedCertMapOutput) MapIndex(k pulumi.StringInput) LocallySignedCertOutput
- func (o LocallySignedCertMapOutput) ToLocallySignedCertMapOutput() LocallySignedCertMapOutput
- func (o LocallySignedCertMapOutput) ToLocallySignedCertMapOutputWithContext(ctx context.Context) LocallySignedCertMapOutput
- type LocallySignedCertOutput
- func (LocallySignedCertOutput) ElementType() reflect.Type
- func (o LocallySignedCertOutput) ToLocallySignedCertOutput() LocallySignedCertOutput
- func (o LocallySignedCertOutput) ToLocallySignedCertOutputWithContext(ctx context.Context) LocallySignedCertOutput
- func (o LocallySignedCertOutput) ToLocallySignedCertPtrOutput() LocallySignedCertPtrOutput
- func (o LocallySignedCertOutput) ToLocallySignedCertPtrOutputWithContext(ctx context.Context) LocallySignedCertPtrOutput
- type LocallySignedCertPtrInput
- type LocallySignedCertPtrOutput
- type LocallySignedCertState
- type PrivateKey
- func (*PrivateKey) ElementType() reflect.Type
- func (i *PrivateKey) ToPrivateKeyOutput() PrivateKeyOutput
- func (i *PrivateKey) ToPrivateKeyOutputWithContext(ctx context.Context) PrivateKeyOutput
- func (i *PrivateKey) ToPrivateKeyPtrOutput() PrivateKeyPtrOutput
- func (i *PrivateKey) ToPrivateKeyPtrOutputWithContext(ctx context.Context) PrivateKeyPtrOutput
- type PrivateKeyArgs
- type PrivateKeyArray
- type PrivateKeyArrayInput
- type PrivateKeyArrayOutput
- func (PrivateKeyArrayOutput) ElementType() reflect.Type
- func (o PrivateKeyArrayOutput) Index(i pulumi.IntInput) PrivateKeyOutput
- func (o PrivateKeyArrayOutput) ToPrivateKeyArrayOutput() PrivateKeyArrayOutput
- func (o PrivateKeyArrayOutput) ToPrivateKeyArrayOutputWithContext(ctx context.Context) PrivateKeyArrayOutput
- type PrivateKeyInput
- type PrivateKeyMap
- type PrivateKeyMapInput
- type PrivateKeyMapOutput
- func (PrivateKeyMapOutput) ElementType() reflect.Type
- func (o PrivateKeyMapOutput) MapIndex(k pulumi.StringInput) PrivateKeyOutput
- func (o PrivateKeyMapOutput) ToPrivateKeyMapOutput() PrivateKeyMapOutput
- func (o PrivateKeyMapOutput) ToPrivateKeyMapOutputWithContext(ctx context.Context) PrivateKeyMapOutput
- type PrivateKeyOutput
- func (PrivateKeyOutput) ElementType() reflect.Type
- func (o PrivateKeyOutput) ToPrivateKeyOutput() PrivateKeyOutput
- func (o PrivateKeyOutput) ToPrivateKeyOutputWithContext(ctx context.Context) PrivateKeyOutput
- func (o PrivateKeyOutput) ToPrivateKeyPtrOutput() PrivateKeyPtrOutput
- func (o PrivateKeyOutput) ToPrivateKeyPtrOutputWithContext(ctx context.Context) PrivateKeyPtrOutput
- type PrivateKeyPtrInput
- type PrivateKeyPtrOutput
- type PrivateKeyState
- 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 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 SelfSignedCert
- func (*SelfSignedCert) ElementType() reflect.Type
- func (i *SelfSignedCert) ToSelfSignedCertOutput() SelfSignedCertOutput
- func (i *SelfSignedCert) ToSelfSignedCertOutputWithContext(ctx context.Context) SelfSignedCertOutput
- func (i *SelfSignedCert) ToSelfSignedCertPtrOutput() SelfSignedCertPtrOutput
- func (i *SelfSignedCert) ToSelfSignedCertPtrOutputWithContext(ctx context.Context) SelfSignedCertPtrOutput
- type SelfSignedCertArgs
- type SelfSignedCertArray
- type SelfSignedCertArrayInput
- type SelfSignedCertArrayOutput
- func (SelfSignedCertArrayOutput) ElementType() reflect.Type
- func (o SelfSignedCertArrayOutput) Index(i pulumi.IntInput) SelfSignedCertOutput
- func (o SelfSignedCertArrayOutput) ToSelfSignedCertArrayOutput() SelfSignedCertArrayOutput
- func (o SelfSignedCertArrayOutput) ToSelfSignedCertArrayOutputWithContext(ctx context.Context) SelfSignedCertArrayOutput
- type SelfSignedCertInput
- type SelfSignedCertMap
- type SelfSignedCertMapInput
- type SelfSignedCertMapOutput
- func (SelfSignedCertMapOutput) ElementType() reflect.Type
- func (o SelfSignedCertMapOutput) MapIndex(k pulumi.StringInput) SelfSignedCertOutput
- func (o SelfSignedCertMapOutput) ToSelfSignedCertMapOutput() SelfSignedCertMapOutput
- func (o SelfSignedCertMapOutput) ToSelfSignedCertMapOutputWithContext(ctx context.Context) SelfSignedCertMapOutput
- type SelfSignedCertOutput
- func (SelfSignedCertOutput) ElementType() reflect.Type
- func (o SelfSignedCertOutput) ToSelfSignedCertOutput() SelfSignedCertOutput
- func (o SelfSignedCertOutput) ToSelfSignedCertOutputWithContext(ctx context.Context) SelfSignedCertOutput
- func (o SelfSignedCertOutput) ToSelfSignedCertPtrOutput() SelfSignedCertPtrOutput
- func (o SelfSignedCertOutput) ToSelfSignedCertPtrOutputWithContext(ctx context.Context) SelfSignedCertPtrOutput
- type SelfSignedCertPtrInput
- type SelfSignedCertPtrOutput
- type SelfSignedCertState
- type SelfSignedCertSubject
- type SelfSignedCertSubjectArgs
- type SelfSignedCertSubjectArray
- func (SelfSignedCertSubjectArray) ElementType() reflect.Type
- func (i SelfSignedCertSubjectArray) ToSelfSignedCertSubjectArrayOutput() SelfSignedCertSubjectArrayOutput
- func (i SelfSignedCertSubjectArray) ToSelfSignedCertSubjectArrayOutputWithContext(ctx context.Context) SelfSignedCertSubjectArrayOutput
- type SelfSignedCertSubjectArrayInput
- type SelfSignedCertSubjectArrayOutput
- func (SelfSignedCertSubjectArrayOutput) ElementType() reflect.Type
- func (o SelfSignedCertSubjectArrayOutput) Index(i pulumi.IntInput) SelfSignedCertSubjectOutput
- func (o SelfSignedCertSubjectArrayOutput) ToSelfSignedCertSubjectArrayOutput() SelfSignedCertSubjectArrayOutput
- func (o SelfSignedCertSubjectArrayOutput) ToSelfSignedCertSubjectArrayOutputWithContext(ctx context.Context) SelfSignedCertSubjectArrayOutput
- type SelfSignedCertSubjectInput
- type SelfSignedCertSubjectOutput
- func (o SelfSignedCertSubjectOutput) CommonName() pulumi.StringPtrOutput
- func (o SelfSignedCertSubjectOutput) Country() pulumi.StringPtrOutput
- func (SelfSignedCertSubjectOutput) ElementType() reflect.Type
- func (o SelfSignedCertSubjectOutput) Locality() pulumi.StringPtrOutput
- func (o SelfSignedCertSubjectOutput) Organization() pulumi.StringPtrOutput
- func (o SelfSignedCertSubjectOutput) OrganizationalUnit() pulumi.StringPtrOutput
- func (o SelfSignedCertSubjectOutput) PostalCode() pulumi.StringPtrOutput
- func (o SelfSignedCertSubjectOutput) Province() pulumi.StringPtrOutput
- func (o SelfSignedCertSubjectOutput) SerialNumber() pulumi.StringPtrOutput
- func (o SelfSignedCertSubjectOutput) StreetAddresses() pulumi.StringArrayOutput
- func (o SelfSignedCertSubjectOutput) ToSelfSignedCertSubjectOutput() SelfSignedCertSubjectOutput
- func (o SelfSignedCertSubjectOutput) ToSelfSignedCertSubjectOutputWithContext(ctx context.Context) SelfSignedCertSubjectOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶ added in v3.1.0
PkgVersion uses reflection to determine the version of the current package.
Types ¶
type CertRequest ¶
type CertRequest struct { pulumi.CustomResourceState // The certificate request data in PEM format. CertRequestPem pulumi.StringOutput `pulumi:"certRequestPem"` // List of DNS names for which a certificate is being requested. DnsNames pulumi.StringArrayOutput `pulumi:"dnsNames"` // List of IP addresses for which a certificate is being requested. IpAddresses pulumi.StringArrayOutput `pulumi:"ipAddresses"` // The name of the algorithm for the key provided // in `privateKeyPem`. KeyAlgorithm pulumi.StringOutput `pulumi:"keyAlgorithm"` // PEM-encoded private key that the certificate will belong to PrivateKeyPem pulumi.StringOutput `pulumi:"privateKeyPem"` // The subject for which a certificate is being requested. This is // a nested configuration block whose structure is described below. Subjects CertRequestSubjectArrayOutput `pulumi:"subjects"` // List of URIs for which a certificate is being requested. Uris pulumi.StringArrayOutput `pulumi:"uris"` }
func GetCertRequest ¶
func GetCertRequest(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CertRequestState, opts ...pulumi.ResourceOption) (*CertRequest, error)
GetCertRequest gets an existing CertRequest 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 NewCertRequest ¶
func NewCertRequest(ctx *pulumi.Context, name string, args *CertRequestArgs, opts ...pulumi.ResourceOption) (*CertRequest, error)
NewCertRequest registers a new resource with the given unique name, arguments, and options.
func (*CertRequest) ElementType ¶
func (*CertRequest) ElementType() reflect.Type
func (*CertRequest) ToCertRequestOutput ¶
func (i *CertRequest) ToCertRequestOutput() CertRequestOutput
func (*CertRequest) ToCertRequestOutputWithContext ¶
func (i *CertRequest) ToCertRequestOutputWithContext(ctx context.Context) CertRequestOutput
func (*CertRequest) ToCertRequestPtrOutput ¶ added in v3.1.1
func (i *CertRequest) ToCertRequestPtrOutput() CertRequestPtrOutput
func (*CertRequest) ToCertRequestPtrOutputWithContext ¶ added in v3.1.1
func (i *CertRequest) ToCertRequestPtrOutputWithContext(ctx context.Context) CertRequestPtrOutput
type CertRequestArgs ¶
type CertRequestArgs struct { // List of DNS names for which a certificate is being requested. DnsNames pulumi.StringArrayInput // List of IP addresses for which a certificate is being requested. IpAddresses pulumi.StringArrayInput // The name of the algorithm for the key provided // in `privateKeyPem`. KeyAlgorithm pulumi.StringInput // PEM-encoded private key that the certificate will belong to PrivateKeyPem pulumi.StringInput // The subject for which a certificate is being requested. This is // a nested configuration block whose structure is described below. Subjects CertRequestSubjectArrayInput // List of URIs for which a certificate is being requested. Uris pulumi.StringArrayInput }
The set of arguments for constructing a CertRequest resource.
func (CertRequestArgs) ElementType ¶
func (CertRequestArgs) ElementType() reflect.Type
type CertRequestArray ¶ added in v3.1.1
type CertRequestArray []CertRequestInput
func (CertRequestArray) ElementType ¶ added in v3.1.1
func (CertRequestArray) ElementType() reflect.Type
func (CertRequestArray) ToCertRequestArrayOutput ¶ added in v3.1.1
func (i CertRequestArray) ToCertRequestArrayOutput() CertRequestArrayOutput
func (CertRequestArray) ToCertRequestArrayOutputWithContext ¶ added in v3.1.1
func (i CertRequestArray) ToCertRequestArrayOutputWithContext(ctx context.Context) CertRequestArrayOutput
type CertRequestArrayInput ¶ added in v3.1.1
type CertRequestArrayInput interface { pulumi.Input ToCertRequestArrayOutput() CertRequestArrayOutput ToCertRequestArrayOutputWithContext(context.Context) CertRequestArrayOutput }
CertRequestArrayInput is an input type that accepts CertRequestArray and CertRequestArrayOutput values. You can construct a concrete instance of `CertRequestArrayInput` via:
CertRequestArray{ CertRequestArgs{...} }
type CertRequestArrayOutput ¶ added in v3.1.1
type CertRequestArrayOutput struct{ *pulumi.OutputState }
func (CertRequestArrayOutput) ElementType ¶ added in v3.1.1
func (CertRequestArrayOutput) ElementType() reflect.Type
func (CertRequestArrayOutput) Index ¶ added in v3.1.1
func (o CertRequestArrayOutput) Index(i pulumi.IntInput) CertRequestOutput
func (CertRequestArrayOutput) ToCertRequestArrayOutput ¶ added in v3.1.1
func (o CertRequestArrayOutput) ToCertRequestArrayOutput() CertRequestArrayOutput
func (CertRequestArrayOutput) ToCertRequestArrayOutputWithContext ¶ added in v3.1.1
func (o CertRequestArrayOutput) ToCertRequestArrayOutputWithContext(ctx context.Context) CertRequestArrayOutput
type CertRequestInput ¶
type CertRequestInput interface { pulumi.Input ToCertRequestOutput() CertRequestOutput ToCertRequestOutputWithContext(ctx context.Context) CertRequestOutput }
type CertRequestMap ¶ added in v3.1.1
type CertRequestMap map[string]CertRequestInput
func (CertRequestMap) ElementType ¶ added in v3.1.1
func (CertRequestMap) ElementType() reflect.Type
func (CertRequestMap) ToCertRequestMapOutput ¶ added in v3.1.1
func (i CertRequestMap) ToCertRequestMapOutput() CertRequestMapOutput
func (CertRequestMap) ToCertRequestMapOutputWithContext ¶ added in v3.1.1
func (i CertRequestMap) ToCertRequestMapOutputWithContext(ctx context.Context) CertRequestMapOutput
type CertRequestMapInput ¶ added in v3.1.1
type CertRequestMapInput interface { pulumi.Input ToCertRequestMapOutput() CertRequestMapOutput ToCertRequestMapOutputWithContext(context.Context) CertRequestMapOutput }
CertRequestMapInput is an input type that accepts CertRequestMap and CertRequestMapOutput values. You can construct a concrete instance of `CertRequestMapInput` via:
CertRequestMap{ "key": CertRequestArgs{...} }
type CertRequestMapOutput ¶ added in v3.1.1
type CertRequestMapOutput struct{ *pulumi.OutputState }
func (CertRequestMapOutput) ElementType ¶ added in v3.1.1
func (CertRequestMapOutput) ElementType() reflect.Type
func (CertRequestMapOutput) MapIndex ¶ added in v3.1.1
func (o CertRequestMapOutput) MapIndex(k pulumi.StringInput) CertRequestOutput
func (CertRequestMapOutput) ToCertRequestMapOutput ¶ added in v3.1.1
func (o CertRequestMapOutput) ToCertRequestMapOutput() CertRequestMapOutput
func (CertRequestMapOutput) ToCertRequestMapOutputWithContext ¶ added in v3.1.1
func (o CertRequestMapOutput) ToCertRequestMapOutputWithContext(ctx context.Context) CertRequestMapOutput
type CertRequestOutput ¶
type CertRequestOutput struct {
*pulumi.OutputState
}
func (CertRequestOutput) ElementType ¶
func (CertRequestOutput) ElementType() reflect.Type
func (CertRequestOutput) ToCertRequestOutput ¶
func (o CertRequestOutput) ToCertRequestOutput() CertRequestOutput
func (CertRequestOutput) ToCertRequestOutputWithContext ¶
func (o CertRequestOutput) ToCertRequestOutputWithContext(ctx context.Context) CertRequestOutput
func (CertRequestOutput) ToCertRequestPtrOutput ¶ added in v3.1.1
func (o CertRequestOutput) ToCertRequestPtrOutput() CertRequestPtrOutput
func (CertRequestOutput) ToCertRequestPtrOutputWithContext ¶ added in v3.1.1
func (o CertRequestOutput) ToCertRequestPtrOutputWithContext(ctx context.Context) CertRequestPtrOutput
type CertRequestPtrInput ¶ added in v3.1.1
type CertRequestPtrInput interface { pulumi.Input ToCertRequestPtrOutput() CertRequestPtrOutput ToCertRequestPtrOutputWithContext(ctx context.Context) CertRequestPtrOutput }
type CertRequestPtrOutput ¶ added in v3.1.1
type CertRequestPtrOutput struct {
*pulumi.OutputState
}
func (CertRequestPtrOutput) ElementType ¶ added in v3.1.1
func (CertRequestPtrOutput) ElementType() reflect.Type
func (CertRequestPtrOutput) ToCertRequestPtrOutput ¶ added in v3.1.1
func (o CertRequestPtrOutput) ToCertRequestPtrOutput() CertRequestPtrOutput
func (CertRequestPtrOutput) ToCertRequestPtrOutputWithContext ¶ added in v3.1.1
func (o CertRequestPtrOutput) ToCertRequestPtrOutputWithContext(ctx context.Context) CertRequestPtrOutput
type CertRequestState ¶
type CertRequestState struct { // The certificate request data in PEM format. CertRequestPem pulumi.StringPtrInput // List of DNS names for which a certificate is being requested. DnsNames pulumi.StringArrayInput // List of IP addresses for which a certificate is being requested. IpAddresses pulumi.StringArrayInput // The name of the algorithm for the key provided // in `privateKeyPem`. KeyAlgorithm pulumi.StringPtrInput // PEM-encoded private key that the certificate will belong to PrivateKeyPem pulumi.StringPtrInput // The subject for which a certificate is being requested. This is // a nested configuration block whose structure is described below. Subjects CertRequestSubjectArrayInput // List of URIs for which a certificate is being requested. Uris pulumi.StringArrayInput }
func (CertRequestState) ElementType ¶
func (CertRequestState) ElementType() reflect.Type
type CertRequestSubject ¶
type CertRequestSubject struct { CommonName *string `pulumi:"commonName"` Country *string `pulumi:"country"` Locality *string `pulumi:"locality"` Organization *string `pulumi:"organization"` OrganizationalUnit *string `pulumi:"organizationalUnit"` PostalCode *string `pulumi:"postalCode"` Province *string `pulumi:"province"` SerialNumber *string `pulumi:"serialNumber"` StreetAddresses []string `pulumi:"streetAddresses"` }
type CertRequestSubjectArgs ¶
type CertRequestSubjectArgs struct { CommonName pulumi.StringPtrInput `pulumi:"commonName"` Country pulumi.StringPtrInput `pulumi:"country"` Locality pulumi.StringPtrInput `pulumi:"locality"` Organization pulumi.StringPtrInput `pulumi:"organization"` OrganizationalUnit pulumi.StringPtrInput `pulumi:"organizationalUnit"` PostalCode pulumi.StringPtrInput `pulumi:"postalCode"` Province pulumi.StringPtrInput `pulumi:"province"` SerialNumber pulumi.StringPtrInput `pulumi:"serialNumber"` StreetAddresses pulumi.StringArrayInput `pulumi:"streetAddresses"` }
func (CertRequestSubjectArgs) ElementType ¶
func (CertRequestSubjectArgs) ElementType() reflect.Type
func (CertRequestSubjectArgs) ToCertRequestSubjectOutput ¶
func (i CertRequestSubjectArgs) ToCertRequestSubjectOutput() CertRequestSubjectOutput
func (CertRequestSubjectArgs) ToCertRequestSubjectOutputWithContext ¶
func (i CertRequestSubjectArgs) ToCertRequestSubjectOutputWithContext(ctx context.Context) CertRequestSubjectOutput
type CertRequestSubjectArray ¶
type CertRequestSubjectArray []CertRequestSubjectInput
func (CertRequestSubjectArray) ElementType ¶
func (CertRequestSubjectArray) ElementType() reflect.Type
func (CertRequestSubjectArray) ToCertRequestSubjectArrayOutput ¶
func (i CertRequestSubjectArray) ToCertRequestSubjectArrayOutput() CertRequestSubjectArrayOutput
func (CertRequestSubjectArray) ToCertRequestSubjectArrayOutputWithContext ¶
func (i CertRequestSubjectArray) ToCertRequestSubjectArrayOutputWithContext(ctx context.Context) CertRequestSubjectArrayOutput
type CertRequestSubjectArrayInput ¶
type CertRequestSubjectArrayInput interface { pulumi.Input ToCertRequestSubjectArrayOutput() CertRequestSubjectArrayOutput ToCertRequestSubjectArrayOutputWithContext(context.Context) CertRequestSubjectArrayOutput }
CertRequestSubjectArrayInput is an input type that accepts CertRequestSubjectArray and CertRequestSubjectArrayOutput values. You can construct a concrete instance of `CertRequestSubjectArrayInput` via:
CertRequestSubjectArray{ CertRequestSubjectArgs{...} }
type CertRequestSubjectArrayOutput ¶
type CertRequestSubjectArrayOutput struct{ *pulumi.OutputState }
func (CertRequestSubjectArrayOutput) ElementType ¶
func (CertRequestSubjectArrayOutput) ElementType() reflect.Type
func (CertRequestSubjectArrayOutput) Index ¶
func (o CertRequestSubjectArrayOutput) Index(i pulumi.IntInput) CertRequestSubjectOutput
func (CertRequestSubjectArrayOutput) ToCertRequestSubjectArrayOutput ¶
func (o CertRequestSubjectArrayOutput) ToCertRequestSubjectArrayOutput() CertRequestSubjectArrayOutput
func (CertRequestSubjectArrayOutput) ToCertRequestSubjectArrayOutputWithContext ¶
func (o CertRequestSubjectArrayOutput) ToCertRequestSubjectArrayOutputWithContext(ctx context.Context) CertRequestSubjectArrayOutput
type CertRequestSubjectInput ¶
type CertRequestSubjectInput interface { pulumi.Input ToCertRequestSubjectOutput() CertRequestSubjectOutput ToCertRequestSubjectOutputWithContext(context.Context) CertRequestSubjectOutput }
CertRequestSubjectInput is an input type that accepts CertRequestSubjectArgs and CertRequestSubjectOutput values. You can construct a concrete instance of `CertRequestSubjectInput` via:
CertRequestSubjectArgs{...}
type CertRequestSubjectOutput ¶
type CertRequestSubjectOutput struct{ *pulumi.OutputState }
func (CertRequestSubjectOutput) CommonName ¶
func (o CertRequestSubjectOutput) CommonName() pulumi.StringPtrOutput
func (CertRequestSubjectOutput) Country ¶
func (o CertRequestSubjectOutput) Country() pulumi.StringPtrOutput
func (CertRequestSubjectOutput) ElementType ¶
func (CertRequestSubjectOutput) ElementType() reflect.Type
func (CertRequestSubjectOutput) Locality ¶
func (o CertRequestSubjectOutput) Locality() pulumi.StringPtrOutput
func (CertRequestSubjectOutput) Organization ¶
func (o CertRequestSubjectOutput) Organization() pulumi.StringPtrOutput
func (CertRequestSubjectOutput) OrganizationalUnit ¶
func (o CertRequestSubjectOutput) OrganizationalUnit() pulumi.StringPtrOutput
func (CertRequestSubjectOutput) PostalCode ¶
func (o CertRequestSubjectOutput) PostalCode() pulumi.StringPtrOutput
func (CertRequestSubjectOutput) Province ¶
func (o CertRequestSubjectOutput) Province() pulumi.StringPtrOutput
func (CertRequestSubjectOutput) SerialNumber ¶
func (o CertRequestSubjectOutput) SerialNumber() pulumi.StringPtrOutput
func (CertRequestSubjectOutput) StreetAddresses ¶
func (o CertRequestSubjectOutput) StreetAddresses() pulumi.StringArrayOutput
func (CertRequestSubjectOutput) ToCertRequestSubjectOutput ¶
func (o CertRequestSubjectOutput) ToCertRequestSubjectOutput() CertRequestSubjectOutput
func (CertRequestSubjectOutput) ToCertRequestSubjectOutputWithContext ¶
func (o CertRequestSubjectOutput) ToCertRequestSubjectOutputWithContext(ctx context.Context) CertRequestSubjectOutput
type GetCertificateArgs ¶
type GetCertificateArgs struct { // The URL of the website to get the certificates from. Url string `pulumi:"url"` // Whether to verify the certificate chain while parsing it or not VerifyChain *bool `pulumi:"verifyChain"` }
A collection of arguments for invoking getCertificate.
type GetCertificateCertificate ¶
type GetCertificateCertificate struct { IsCa bool `pulumi:"isCa"` Issuer string `pulumi:"issuer"` NotAfter string `pulumi:"notAfter"` NotBefore string `pulumi:"notBefore"` PublicKeyAlgorithm string `pulumi:"publicKeyAlgorithm"` SerialNumber string `pulumi:"serialNumber"` Sha1Fingerprint string `pulumi:"sha1Fingerprint"` SignatureAlgorithm string `pulumi:"signatureAlgorithm"` Subject string `pulumi:"subject"` Version int `pulumi:"version"` }
type GetCertificateCertificateArgs ¶
type GetCertificateCertificateArgs struct { IsCa pulumi.BoolInput `pulumi:"isCa"` Issuer pulumi.StringInput `pulumi:"issuer"` NotAfter pulumi.StringInput `pulumi:"notAfter"` NotBefore pulumi.StringInput `pulumi:"notBefore"` PublicKeyAlgorithm pulumi.StringInput `pulumi:"publicKeyAlgorithm"` SerialNumber pulumi.StringInput `pulumi:"serialNumber"` Sha1Fingerprint pulumi.StringInput `pulumi:"sha1Fingerprint"` SignatureAlgorithm pulumi.StringInput `pulumi:"signatureAlgorithm"` Subject pulumi.StringInput `pulumi:"subject"` Version pulumi.IntInput `pulumi:"version"` }
func (GetCertificateCertificateArgs) ElementType ¶
func (GetCertificateCertificateArgs) ElementType() reflect.Type
func (GetCertificateCertificateArgs) ToGetCertificateCertificateOutput ¶
func (i GetCertificateCertificateArgs) ToGetCertificateCertificateOutput() GetCertificateCertificateOutput
func (GetCertificateCertificateArgs) ToGetCertificateCertificateOutputWithContext ¶
func (i GetCertificateCertificateArgs) ToGetCertificateCertificateOutputWithContext(ctx context.Context) GetCertificateCertificateOutput
type GetCertificateCertificateArray ¶
type GetCertificateCertificateArray []GetCertificateCertificateInput
func (GetCertificateCertificateArray) ElementType ¶
func (GetCertificateCertificateArray) ElementType() reflect.Type
func (GetCertificateCertificateArray) ToGetCertificateCertificateArrayOutput ¶
func (i GetCertificateCertificateArray) ToGetCertificateCertificateArrayOutput() GetCertificateCertificateArrayOutput
func (GetCertificateCertificateArray) ToGetCertificateCertificateArrayOutputWithContext ¶
func (i GetCertificateCertificateArray) ToGetCertificateCertificateArrayOutputWithContext(ctx context.Context) GetCertificateCertificateArrayOutput
type GetCertificateCertificateArrayInput ¶
type GetCertificateCertificateArrayInput interface { pulumi.Input ToGetCertificateCertificateArrayOutput() GetCertificateCertificateArrayOutput ToGetCertificateCertificateArrayOutputWithContext(context.Context) GetCertificateCertificateArrayOutput }
GetCertificateCertificateArrayInput is an input type that accepts GetCertificateCertificateArray and GetCertificateCertificateArrayOutput values. You can construct a concrete instance of `GetCertificateCertificateArrayInput` via:
GetCertificateCertificateArray{ GetCertificateCertificateArgs{...} }
type GetCertificateCertificateArrayOutput ¶
type GetCertificateCertificateArrayOutput struct{ *pulumi.OutputState }
func (GetCertificateCertificateArrayOutput) ElementType ¶
func (GetCertificateCertificateArrayOutput) ElementType() reflect.Type
func (GetCertificateCertificateArrayOutput) Index ¶
func (o GetCertificateCertificateArrayOutput) Index(i pulumi.IntInput) GetCertificateCertificateOutput
func (GetCertificateCertificateArrayOutput) ToGetCertificateCertificateArrayOutput ¶
func (o GetCertificateCertificateArrayOutput) ToGetCertificateCertificateArrayOutput() GetCertificateCertificateArrayOutput
func (GetCertificateCertificateArrayOutput) ToGetCertificateCertificateArrayOutputWithContext ¶
func (o GetCertificateCertificateArrayOutput) ToGetCertificateCertificateArrayOutputWithContext(ctx context.Context) GetCertificateCertificateArrayOutput
type GetCertificateCertificateInput ¶
type GetCertificateCertificateInput interface { pulumi.Input ToGetCertificateCertificateOutput() GetCertificateCertificateOutput ToGetCertificateCertificateOutputWithContext(context.Context) GetCertificateCertificateOutput }
GetCertificateCertificateInput is an input type that accepts GetCertificateCertificateArgs and GetCertificateCertificateOutput values. You can construct a concrete instance of `GetCertificateCertificateInput` via:
GetCertificateCertificateArgs{...}
type GetCertificateCertificateOutput ¶
type GetCertificateCertificateOutput struct{ *pulumi.OutputState }
func (GetCertificateCertificateOutput) ElementType ¶
func (GetCertificateCertificateOutput) ElementType() reflect.Type
func (GetCertificateCertificateOutput) IsCa ¶
func (o GetCertificateCertificateOutput) IsCa() pulumi.BoolOutput
func (GetCertificateCertificateOutput) Issuer ¶
func (o GetCertificateCertificateOutput) Issuer() pulumi.StringOutput
func (GetCertificateCertificateOutput) NotAfter ¶
func (o GetCertificateCertificateOutput) NotAfter() pulumi.StringOutput
func (GetCertificateCertificateOutput) NotBefore ¶
func (o GetCertificateCertificateOutput) NotBefore() pulumi.StringOutput
func (GetCertificateCertificateOutput) PublicKeyAlgorithm ¶
func (o GetCertificateCertificateOutput) PublicKeyAlgorithm() pulumi.StringOutput
func (GetCertificateCertificateOutput) SerialNumber ¶
func (o GetCertificateCertificateOutput) SerialNumber() pulumi.StringOutput
func (GetCertificateCertificateOutput) Sha1Fingerprint ¶
func (o GetCertificateCertificateOutput) Sha1Fingerprint() pulumi.StringOutput
func (GetCertificateCertificateOutput) SignatureAlgorithm ¶
func (o GetCertificateCertificateOutput) SignatureAlgorithm() pulumi.StringOutput
func (GetCertificateCertificateOutput) Subject ¶
func (o GetCertificateCertificateOutput) Subject() pulumi.StringOutput
func (GetCertificateCertificateOutput) ToGetCertificateCertificateOutput ¶
func (o GetCertificateCertificateOutput) ToGetCertificateCertificateOutput() GetCertificateCertificateOutput
func (GetCertificateCertificateOutput) ToGetCertificateCertificateOutputWithContext ¶
func (o GetCertificateCertificateOutput) ToGetCertificateCertificateOutputWithContext(ctx context.Context) GetCertificateCertificateOutput
func (GetCertificateCertificateOutput) Version ¶
func (o GetCertificateCertificateOutput) Version() pulumi.IntOutput
type GetCertificateResult ¶
type GetCertificateResult struct { // The certificates protecting the site, with the root of the chain first. // * `certificates.#.not_after` - The time until which the certificate is invalid, as an // [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp. // * `certificates.#.not_before` - The time after which the certificate is valid, as an // [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp. // * `certificates.#.is_ca` - `true` if this certificate is a ca certificate. // * `certificates.#.issuer` - Who verified and signed the certificate, roughly following // [RFC2253](https://tools.ietf.org/html/rfc2253). // * `certificates.#.public_key_algorithm` - The algorithm used to create the certificate. // * `certificates.#.serial_number` - Number that uniquely identifies the certificate with the CA's system. The `format` // function can be used to convert this base 10 number into other bases, such as hex. // * `certificates.#.sha1_fingerprint` - The SHA1 fingerprint of the public key of the certificate. // * `certificates.#.signature_algorithm` - The algorithm used to sign the certificate. // * `certificates.#.subject` - The entity the certificate belongs to, roughly following // [RFC2253](https://tools.ietf.org/html/rfc2253). // * `certificates.#.version` - The version the certificate is in. Certificates []GetCertificateCertificate `pulumi:"certificates"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Url string `pulumi:"url"` VerifyChain *bool `pulumi:"verifyChain"` }
A collection of values returned by getCertificate.
func GetCertificate ¶
func GetCertificate(ctx *pulumi.Context, args *GetCertificateArgs, opts ...pulumi.InvokeOption) (*GetCertificateResult, error)
Use this data source to get information, such as SHA1 fingerprint or serial number, about the TLS certificates that protect an HTTPS website. Note that the certificate chain isn't verified.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/eks" "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/iam" "github.com/pulumi/pulumi-tls/sdk/v3/go/tls" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleCluster, err := eks.NewCluster(ctx, "exampleCluster", nil) if err != nil { return err } _, err = iam.NewOpenIdConnectProvider(ctx, "exampleOpenIdConnectProvider", &iam.OpenIdConnectProviderArgs{ ClientIdLists: pulumi.StringArray{ pulumi.String("sts.amazonaws.com"), }, ThumbprintLists: pulumi.StringArray{ exampleCertificate.ApplyT(func(exampleCertificate tls.GetCertificateResult) (string, error) { return exampleCertificate.Certificates[0].Sha1Fingerprint, nil }).(pulumi.StringOutput), }, Url: pulumi.String(exampleCluster.Identities.ApplyT(func(identities []eks.ClusterIdentity) (string, error) { return identities[0].Oidcs[0].Issuer, nil }).(pulumi.StringOutput)), }) if err != nil { return err } return nil }) }
```
type GetPublicKeyArgs ¶
type GetPublicKeyArgs struct { // The private key to use. Currently-supported key types are "RSA" or "ECDSA". PrivateKeyPem string `pulumi:"privateKeyPem"` }
A collection of arguments for invoking getPublicKey.
type GetPublicKeyResult ¶
type GetPublicKeyResult struct { Algorithm string `pulumi:"algorithm"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The private key data in PEM format. PrivateKeyPem string `pulumi:"privateKeyPem"` // The md5 hash of the public key data in // OpenSSH MD5 hash format, e.g. `aa:bb:cc:...`. Only available if the // selected private key format is compatible, as per the rules for // `publicKeyOpenssh`. PublicKeyFingerprintMd5 string `pulumi:"publicKeyFingerprintMd5"` // The public key data in OpenSSH `authorizedKeys` // format, if the selected private key format is compatible. All RSA keys // are supported, and ECDSA keys with curves "P256", "P384" and "P521" // are supported. This attribute is empty if an incompatible ECDSA curve // is selected. PublicKeyOpenssh string `pulumi:"publicKeyOpenssh"` // The public key data in PEM format. PublicKeyPem string `pulumi:"publicKeyPem"` }
A collection of values returned by getPublicKey.
func GetPublicKey ¶
func GetPublicKey(ctx *pulumi.Context, args *GetPublicKeyArgs, opts ...pulumi.InvokeOption) (*GetPublicKeyResult, error)
Use this data source to get the public key from a PEM-encoded private key for use in other resources.
type LocallySignedCert ¶
type LocallySignedCert struct { pulumi.CustomResourceState // List of keywords each describing a use that is permitted // for the issued certificate. The valid keywords are listed below. AllowedUses pulumi.StringArrayOutput `pulumi:"allowedUses"` // PEM-encoded certificate data for the CA. CaCertPem pulumi.StringOutput `pulumi:"caCertPem"` // The name of the algorithm for the key provided // in `caPrivateKeyPem`. CaKeyAlgorithm pulumi.StringOutput `pulumi:"caKeyAlgorithm"` // PEM-encoded private key data for the CA. // This can be read from a separate file using the “file“ interpolation // function. CaPrivateKeyPem pulumi.StringOutput `pulumi:"caPrivateKeyPem"` // The certificate data in PEM format. CertPem pulumi.StringOutput `pulumi:"certPem"` // PEM-encoded request certificate data. CertRequestPem pulumi.StringOutput `pulumi:"certRequestPem"` // Number of hours before the certificates expiry when a new certificate will be generated EarlyRenewalHours pulumi.IntPtrOutput `pulumi:"earlyRenewalHours"` // Boolean controlling whether the CA flag will be set in the // generated certificate. Defaults to `false`, meaning that the certificate does not represent // a certificate authority. IsCaCertificate pulumi.BoolPtrOutput `pulumi:"isCaCertificate"` ReadyForRenewal pulumi.BoolOutput `pulumi:"readyForRenewal"` // If `true`, the certificate will include // the subject key identifier. Defaults to `false`, in which case the subject // key identifier is not set at all. SetSubjectKeyId pulumi.BoolPtrOutput `pulumi:"setSubjectKeyId"` // The time until which the certificate is invalid, as an // [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp. ValidityEndTime pulumi.StringOutput `pulumi:"validityEndTime"` // The number of hours after initial issuing that the // certificate will become invalid. ValidityPeriodHours pulumi.IntOutput `pulumi:"validityPeriodHours"` // The time after which the certificate is valid, as an // [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp. ValidityStartTime pulumi.StringOutput `pulumi:"validityStartTime"` }
func GetLocallySignedCert ¶
func GetLocallySignedCert(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LocallySignedCertState, opts ...pulumi.ResourceOption) (*LocallySignedCert, error)
GetLocallySignedCert gets an existing LocallySignedCert 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 NewLocallySignedCert ¶
func NewLocallySignedCert(ctx *pulumi.Context, name string, args *LocallySignedCertArgs, opts ...pulumi.ResourceOption) (*LocallySignedCert, error)
NewLocallySignedCert registers a new resource with the given unique name, arguments, and options.
func (*LocallySignedCert) ElementType ¶
func (*LocallySignedCert) ElementType() reflect.Type
func (*LocallySignedCert) ToLocallySignedCertOutput ¶
func (i *LocallySignedCert) ToLocallySignedCertOutput() LocallySignedCertOutput
func (*LocallySignedCert) ToLocallySignedCertOutputWithContext ¶
func (i *LocallySignedCert) ToLocallySignedCertOutputWithContext(ctx context.Context) LocallySignedCertOutput
func (*LocallySignedCert) ToLocallySignedCertPtrOutput ¶ added in v3.1.1
func (i *LocallySignedCert) ToLocallySignedCertPtrOutput() LocallySignedCertPtrOutput
func (*LocallySignedCert) ToLocallySignedCertPtrOutputWithContext ¶ added in v3.1.1
func (i *LocallySignedCert) ToLocallySignedCertPtrOutputWithContext(ctx context.Context) LocallySignedCertPtrOutput
type LocallySignedCertArgs ¶
type LocallySignedCertArgs struct { // List of keywords each describing a use that is permitted // for the issued certificate. The valid keywords are listed below. AllowedUses pulumi.StringArrayInput // PEM-encoded certificate data for the CA. CaCertPem pulumi.StringInput // The name of the algorithm for the key provided // in `caPrivateKeyPem`. CaKeyAlgorithm pulumi.StringInput // PEM-encoded private key data for the CA. // This can be read from a separate file using the “file“ interpolation // function. CaPrivateKeyPem pulumi.StringInput // PEM-encoded request certificate data. CertRequestPem pulumi.StringInput // Number of hours before the certificates expiry when a new certificate will be generated EarlyRenewalHours pulumi.IntPtrInput // Boolean controlling whether the CA flag will be set in the // generated certificate. Defaults to `false`, meaning that the certificate does not represent // a certificate authority. IsCaCertificate pulumi.BoolPtrInput // If `true`, the certificate will include // the subject key identifier. Defaults to `false`, in which case the subject // key identifier is not set at all. SetSubjectKeyId pulumi.BoolPtrInput // The number of hours after initial issuing that the // certificate will become invalid. ValidityPeriodHours pulumi.IntInput }
The set of arguments for constructing a LocallySignedCert resource.
func (LocallySignedCertArgs) ElementType ¶
func (LocallySignedCertArgs) ElementType() reflect.Type
type LocallySignedCertArray ¶ added in v3.1.1
type LocallySignedCertArray []LocallySignedCertInput
func (LocallySignedCertArray) ElementType ¶ added in v3.1.1
func (LocallySignedCertArray) ElementType() reflect.Type
func (LocallySignedCertArray) ToLocallySignedCertArrayOutput ¶ added in v3.1.1
func (i LocallySignedCertArray) ToLocallySignedCertArrayOutput() LocallySignedCertArrayOutput
func (LocallySignedCertArray) ToLocallySignedCertArrayOutputWithContext ¶ added in v3.1.1
func (i LocallySignedCertArray) ToLocallySignedCertArrayOutputWithContext(ctx context.Context) LocallySignedCertArrayOutput
type LocallySignedCertArrayInput ¶ added in v3.1.1
type LocallySignedCertArrayInput interface { pulumi.Input ToLocallySignedCertArrayOutput() LocallySignedCertArrayOutput ToLocallySignedCertArrayOutputWithContext(context.Context) LocallySignedCertArrayOutput }
LocallySignedCertArrayInput is an input type that accepts LocallySignedCertArray and LocallySignedCertArrayOutput values. You can construct a concrete instance of `LocallySignedCertArrayInput` via:
LocallySignedCertArray{ LocallySignedCertArgs{...} }
type LocallySignedCertArrayOutput ¶ added in v3.1.1
type LocallySignedCertArrayOutput struct{ *pulumi.OutputState }
func (LocallySignedCertArrayOutput) ElementType ¶ added in v3.1.1
func (LocallySignedCertArrayOutput) ElementType() reflect.Type
func (LocallySignedCertArrayOutput) Index ¶ added in v3.1.1
func (o LocallySignedCertArrayOutput) Index(i pulumi.IntInput) LocallySignedCertOutput
func (LocallySignedCertArrayOutput) ToLocallySignedCertArrayOutput ¶ added in v3.1.1
func (o LocallySignedCertArrayOutput) ToLocallySignedCertArrayOutput() LocallySignedCertArrayOutput
func (LocallySignedCertArrayOutput) ToLocallySignedCertArrayOutputWithContext ¶ added in v3.1.1
func (o LocallySignedCertArrayOutput) ToLocallySignedCertArrayOutputWithContext(ctx context.Context) LocallySignedCertArrayOutput
type LocallySignedCertInput ¶
type LocallySignedCertInput interface { pulumi.Input ToLocallySignedCertOutput() LocallySignedCertOutput ToLocallySignedCertOutputWithContext(ctx context.Context) LocallySignedCertOutput }
type LocallySignedCertMap ¶ added in v3.1.1
type LocallySignedCertMap map[string]LocallySignedCertInput
func (LocallySignedCertMap) ElementType ¶ added in v3.1.1
func (LocallySignedCertMap) ElementType() reflect.Type
func (LocallySignedCertMap) ToLocallySignedCertMapOutput ¶ added in v3.1.1
func (i LocallySignedCertMap) ToLocallySignedCertMapOutput() LocallySignedCertMapOutput
func (LocallySignedCertMap) ToLocallySignedCertMapOutputWithContext ¶ added in v3.1.1
func (i LocallySignedCertMap) ToLocallySignedCertMapOutputWithContext(ctx context.Context) LocallySignedCertMapOutput
type LocallySignedCertMapInput ¶ added in v3.1.1
type LocallySignedCertMapInput interface { pulumi.Input ToLocallySignedCertMapOutput() LocallySignedCertMapOutput ToLocallySignedCertMapOutputWithContext(context.Context) LocallySignedCertMapOutput }
LocallySignedCertMapInput is an input type that accepts LocallySignedCertMap and LocallySignedCertMapOutput values. You can construct a concrete instance of `LocallySignedCertMapInput` via:
LocallySignedCertMap{ "key": LocallySignedCertArgs{...} }
type LocallySignedCertMapOutput ¶ added in v3.1.1
type LocallySignedCertMapOutput struct{ *pulumi.OutputState }
func (LocallySignedCertMapOutput) ElementType ¶ added in v3.1.1
func (LocallySignedCertMapOutput) ElementType() reflect.Type
func (LocallySignedCertMapOutput) MapIndex ¶ added in v3.1.1
func (o LocallySignedCertMapOutput) MapIndex(k pulumi.StringInput) LocallySignedCertOutput
func (LocallySignedCertMapOutput) ToLocallySignedCertMapOutput ¶ added in v3.1.1
func (o LocallySignedCertMapOutput) ToLocallySignedCertMapOutput() LocallySignedCertMapOutput
func (LocallySignedCertMapOutput) ToLocallySignedCertMapOutputWithContext ¶ added in v3.1.1
func (o LocallySignedCertMapOutput) ToLocallySignedCertMapOutputWithContext(ctx context.Context) LocallySignedCertMapOutput
type LocallySignedCertOutput ¶
type LocallySignedCertOutput struct {
*pulumi.OutputState
}
func (LocallySignedCertOutput) ElementType ¶
func (LocallySignedCertOutput) ElementType() reflect.Type
func (LocallySignedCertOutput) ToLocallySignedCertOutput ¶
func (o LocallySignedCertOutput) ToLocallySignedCertOutput() LocallySignedCertOutput
func (LocallySignedCertOutput) ToLocallySignedCertOutputWithContext ¶
func (o LocallySignedCertOutput) ToLocallySignedCertOutputWithContext(ctx context.Context) LocallySignedCertOutput
func (LocallySignedCertOutput) ToLocallySignedCertPtrOutput ¶ added in v3.1.1
func (o LocallySignedCertOutput) ToLocallySignedCertPtrOutput() LocallySignedCertPtrOutput
func (LocallySignedCertOutput) ToLocallySignedCertPtrOutputWithContext ¶ added in v3.1.1
func (o LocallySignedCertOutput) ToLocallySignedCertPtrOutputWithContext(ctx context.Context) LocallySignedCertPtrOutput
type LocallySignedCertPtrInput ¶ added in v3.1.1
type LocallySignedCertPtrInput interface { pulumi.Input ToLocallySignedCertPtrOutput() LocallySignedCertPtrOutput ToLocallySignedCertPtrOutputWithContext(ctx context.Context) LocallySignedCertPtrOutput }
type LocallySignedCertPtrOutput ¶ added in v3.1.1
type LocallySignedCertPtrOutput struct {
*pulumi.OutputState
}
func (LocallySignedCertPtrOutput) ElementType ¶ added in v3.1.1
func (LocallySignedCertPtrOutput) ElementType() reflect.Type
func (LocallySignedCertPtrOutput) ToLocallySignedCertPtrOutput ¶ added in v3.1.1
func (o LocallySignedCertPtrOutput) ToLocallySignedCertPtrOutput() LocallySignedCertPtrOutput
func (LocallySignedCertPtrOutput) ToLocallySignedCertPtrOutputWithContext ¶ added in v3.1.1
func (o LocallySignedCertPtrOutput) ToLocallySignedCertPtrOutputWithContext(ctx context.Context) LocallySignedCertPtrOutput
type LocallySignedCertState ¶
type LocallySignedCertState struct { // List of keywords each describing a use that is permitted // for the issued certificate. The valid keywords are listed below. AllowedUses pulumi.StringArrayInput // PEM-encoded certificate data for the CA. CaCertPem pulumi.StringPtrInput // The name of the algorithm for the key provided // in `caPrivateKeyPem`. CaKeyAlgorithm pulumi.StringPtrInput // PEM-encoded private key data for the CA. // This can be read from a separate file using the “file“ interpolation // function. CaPrivateKeyPem pulumi.StringPtrInput // The certificate data in PEM format. CertPem pulumi.StringPtrInput // PEM-encoded request certificate data. CertRequestPem pulumi.StringPtrInput // Number of hours before the certificates expiry when a new certificate will be generated EarlyRenewalHours pulumi.IntPtrInput // Boolean controlling whether the CA flag will be set in the // generated certificate. Defaults to `false`, meaning that the certificate does not represent // a certificate authority. IsCaCertificate pulumi.BoolPtrInput ReadyForRenewal pulumi.BoolPtrInput // If `true`, the certificate will include // the subject key identifier. Defaults to `false`, in which case the subject // key identifier is not set at all. SetSubjectKeyId pulumi.BoolPtrInput // The time until which the certificate is invalid, as an // [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp. ValidityEndTime pulumi.StringPtrInput // The number of hours after initial issuing that the // certificate will become invalid. ValidityPeriodHours pulumi.IntPtrInput // The time after which the certificate is valid, as an // [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp. ValidityStartTime pulumi.StringPtrInput }
func (LocallySignedCertState) ElementType ¶
func (LocallySignedCertState) ElementType() reflect.Type
type PrivateKey ¶
type PrivateKey struct { pulumi.CustomResourceState // The name of the algorithm to use for // the key. Currently-supported values are "RSA" and "ECDSA". Algorithm pulumi.StringOutput `pulumi:"algorithm"` // When `algorithm` is "ECDSA", the name of the elliptic // curve to use. May be any one of "P224", "P256", "P384" or "P521", with "P224" as the // default. EcdsaCurve pulumi.StringPtrOutput `pulumi:"ecdsaCurve"` // The private key data in PEM format. PrivateKeyPem pulumi.StringOutput `pulumi:"privateKeyPem"` // The md5 hash of the public key data in // OpenSSH MD5 hash format, e.g. `aa:bb:cc:...`. Only available if the // selected private key format is compatible, as per the rules for // `publicKeyOpenssh`. PublicKeyFingerprintMd5 pulumi.StringOutput `pulumi:"publicKeyFingerprintMd5"` // The public key data in OpenSSH `authorizedKeys` // format, if the selected private key format is compatible. All RSA keys // are supported, and ECDSA keys with curves "P256", "P384" and "P521" // are supported. This attribute is empty if an incompatible ECDSA curve // is selected. PublicKeyOpenssh pulumi.StringOutput `pulumi:"publicKeyOpenssh"` // The public key data in PEM format. PublicKeyPem pulumi.StringOutput `pulumi:"publicKeyPem"` // When `algorithm` is "RSA", the size of the generated // RSA key in bits. Defaults to 2048. RsaBits pulumi.IntPtrOutput `pulumi:"rsaBits"` }
func GetPrivateKey ¶
func GetPrivateKey(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PrivateKeyState, opts ...pulumi.ResourceOption) (*PrivateKey, error)
GetPrivateKey gets an existing PrivateKey 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 NewPrivateKey ¶
func NewPrivateKey(ctx *pulumi.Context, name string, args *PrivateKeyArgs, opts ...pulumi.ResourceOption) (*PrivateKey, error)
NewPrivateKey registers a new resource with the given unique name, arguments, and options.
func (*PrivateKey) ElementType ¶
func (*PrivateKey) ElementType() reflect.Type
func (*PrivateKey) ToPrivateKeyOutput ¶
func (i *PrivateKey) ToPrivateKeyOutput() PrivateKeyOutput
func (*PrivateKey) ToPrivateKeyOutputWithContext ¶
func (i *PrivateKey) ToPrivateKeyOutputWithContext(ctx context.Context) PrivateKeyOutput
func (*PrivateKey) ToPrivateKeyPtrOutput ¶ added in v3.1.1
func (i *PrivateKey) ToPrivateKeyPtrOutput() PrivateKeyPtrOutput
func (*PrivateKey) ToPrivateKeyPtrOutputWithContext ¶ added in v3.1.1
func (i *PrivateKey) ToPrivateKeyPtrOutputWithContext(ctx context.Context) PrivateKeyPtrOutput
type PrivateKeyArgs ¶
type PrivateKeyArgs struct { // The name of the algorithm to use for // the key. Currently-supported values are "RSA" and "ECDSA". Algorithm pulumi.StringInput // When `algorithm` is "ECDSA", the name of the elliptic // curve to use. May be any one of "P224", "P256", "P384" or "P521", with "P224" as the // default. EcdsaCurve pulumi.StringPtrInput // When `algorithm` is "RSA", the size of the generated // RSA key in bits. Defaults to 2048. RsaBits pulumi.IntPtrInput }
The set of arguments for constructing a PrivateKey resource.
func (PrivateKeyArgs) ElementType ¶
func (PrivateKeyArgs) ElementType() reflect.Type
type PrivateKeyArray ¶ added in v3.1.1
type PrivateKeyArray []PrivateKeyInput
func (PrivateKeyArray) ElementType ¶ added in v3.1.1
func (PrivateKeyArray) ElementType() reflect.Type
func (PrivateKeyArray) ToPrivateKeyArrayOutput ¶ added in v3.1.1
func (i PrivateKeyArray) ToPrivateKeyArrayOutput() PrivateKeyArrayOutput
func (PrivateKeyArray) ToPrivateKeyArrayOutputWithContext ¶ added in v3.1.1
func (i PrivateKeyArray) ToPrivateKeyArrayOutputWithContext(ctx context.Context) PrivateKeyArrayOutput
type PrivateKeyArrayInput ¶ added in v3.1.1
type PrivateKeyArrayInput interface { pulumi.Input ToPrivateKeyArrayOutput() PrivateKeyArrayOutput ToPrivateKeyArrayOutputWithContext(context.Context) PrivateKeyArrayOutput }
PrivateKeyArrayInput is an input type that accepts PrivateKeyArray and PrivateKeyArrayOutput values. You can construct a concrete instance of `PrivateKeyArrayInput` via:
PrivateKeyArray{ PrivateKeyArgs{...} }
type PrivateKeyArrayOutput ¶ added in v3.1.1
type PrivateKeyArrayOutput struct{ *pulumi.OutputState }
func (PrivateKeyArrayOutput) ElementType ¶ added in v3.1.1
func (PrivateKeyArrayOutput) ElementType() reflect.Type
func (PrivateKeyArrayOutput) Index ¶ added in v3.1.1
func (o PrivateKeyArrayOutput) Index(i pulumi.IntInput) PrivateKeyOutput
func (PrivateKeyArrayOutput) ToPrivateKeyArrayOutput ¶ added in v3.1.1
func (o PrivateKeyArrayOutput) ToPrivateKeyArrayOutput() PrivateKeyArrayOutput
func (PrivateKeyArrayOutput) ToPrivateKeyArrayOutputWithContext ¶ added in v3.1.1
func (o PrivateKeyArrayOutput) ToPrivateKeyArrayOutputWithContext(ctx context.Context) PrivateKeyArrayOutput
type PrivateKeyInput ¶
type PrivateKeyInput interface { pulumi.Input ToPrivateKeyOutput() PrivateKeyOutput ToPrivateKeyOutputWithContext(ctx context.Context) PrivateKeyOutput }
type PrivateKeyMap ¶ added in v3.1.1
type PrivateKeyMap map[string]PrivateKeyInput
func (PrivateKeyMap) ElementType ¶ added in v3.1.1
func (PrivateKeyMap) ElementType() reflect.Type
func (PrivateKeyMap) ToPrivateKeyMapOutput ¶ added in v3.1.1
func (i PrivateKeyMap) ToPrivateKeyMapOutput() PrivateKeyMapOutput
func (PrivateKeyMap) ToPrivateKeyMapOutputWithContext ¶ added in v3.1.1
func (i PrivateKeyMap) ToPrivateKeyMapOutputWithContext(ctx context.Context) PrivateKeyMapOutput
type PrivateKeyMapInput ¶ added in v3.1.1
type PrivateKeyMapInput interface { pulumi.Input ToPrivateKeyMapOutput() PrivateKeyMapOutput ToPrivateKeyMapOutputWithContext(context.Context) PrivateKeyMapOutput }
PrivateKeyMapInput is an input type that accepts PrivateKeyMap and PrivateKeyMapOutput values. You can construct a concrete instance of `PrivateKeyMapInput` via:
PrivateKeyMap{ "key": PrivateKeyArgs{...} }
type PrivateKeyMapOutput ¶ added in v3.1.1
type PrivateKeyMapOutput struct{ *pulumi.OutputState }
func (PrivateKeyMapOutput) ElementType ¶ added in v3.1.1
func (PrivateKeyMapOutput) ElementType() reflect.Type
func (PrivateKeyMapOutput) MapIndex ¶ added in v3.1.1
func (o PrivateKeyMapOutput) MapIndex(k pulumi.StringInput) PrivateKeyOutput
func (PrivateKeyMapOutput) ToPrivateKeyMapOutput ¶ added in v3.1.1
func (o PrivateKeyMapOutput) ToPrivateKeyMapOutput() PrivateKeyMapOutput
func (PrivateKeyMapOutput) ToPrivateKeyMapOutputWithContext ¶ added in v3.1.1
func (o PrivateKeyMapOutput) ToPrivateKeyMapOutputWithContext(ctx context.Context) PrivateKeyMapOutput
type PrivateKeyOutput ¶
type PrivateKeyOutput struct {
*pulumi.OutputState
}
func (PrivateKeyOutput) ElementType ¶
func (PrivateKeyOutput) ElementType() reflect.Type
func (PrivateKeyOutput) ToPrivateKeyOutput ¶
func (o PrivateKeyOutput) ToPrivateKeyOutput() PrivateKeyOutput
func (PrivateKeyOutput) ToPrivateKeyOutputWithContext ¶
func (o PrivateKeyOutput) ToPrivateKeyOutputWithContext(ctx context.Context) PrivateKeyOutput
func (PrivateKeyOutput) ToPrivateKeyPtrOutput ¶ added in v3.1.1
func (o PrivateKeyOutput) ToPrivateKeyPtrOutput() PrivateKeyPtrOutput
func (PrivateKeyOutput) ToPrivateKeyPtrOutputWithContext ¶ added in v3.1.1
func (o PrivateKeyOutput) ToPrivateKeyPtrOutputWithContext(ctx context.Context) PrivateKeyPtrOutput
type PrivateKeyPtrInput ¶ added in v3.1.1
type PrivateKeyPtrInput interface { pulumi.Input ToPrivateKeyPtrOutput() PrivateKeyPtrOutput ToPrivateKeyPtrOutputWithContext(ctx context.Context) PrivateKeyPtrOutput }
type PrivateKeyPtrOutput ¶ added in v3.1.1
type PrivateKeyPtrOutput struct {
*pulumi.OutputState
}
func (PrivateKeyPtrOutput) ElementType ¶ added in v3.1.1
func (PrivateKeyPtrOutput) ElementType() reflect.Type
func (PrivateKeyPtrOutput) ToPrivateKeyPtrOutput ¶ added in v3.1.1
func (o PrivateKeyPtrOutput) ToPrivateKeyPtrOutput() PrivateKeyPtrOutput
func (PrivateKeyPtrOutput) ToPrivateKeyPtrOutputWithContext ¶ added in v3.1.1
func (o PrivateKeyPtrOutput) ToPrivateKeyPtrOutputWithContext(ctx context.Context) PrivateKeyPtrOutput
type PrivateKeyState ¶
type PrivateKeyState struct { // The name of the algorithm to use for // the key. Currently-supported values are "RSA" and "ECDSA". Algorithm pulumi.StringPtrInput // When `algorithm` is "ECDSA", the name of the elliptic // curve to use. May be any one of "P224", "P256", "P384" or "P521", with "P224" as the // default. EcdsaCurve pulumi.StringPtrInput // The private key data in PEM format. PrivateKeyPem pulumi.StringPtrInput // The md5 hash of the public key data in // OpenSSH MD5 hash format, e.g. `aa:bb:cc:...`. Only available if the // selected private key format is compatible, as per the rules for // `publicKeyOpenssh`. PublicKeyFingerprintMd5 pulumi.StringPtrInput // The public key data in OpenSSH `authorizedKeys` // format, if the selected private key format is compatible. All RSA keys // are supported, and ECDSA keys with curves "P256", "P384" and "P521" // are supported. This attribute is empty if an incompatible ECDSA curve // is selected. PublicKeyOpenssh pulumi.StringPtrInput // The public key data in PEM format. PublicKeyPem pulumi.StringPtrInput // When `algorithm` is "RSA", the size of the generated // RSA key in bits. Defaults to 2048. RsaBits pulumi.IntPtrInput }
func (PrivateKeyState) ElementType ¶
func (PrivateKeyState) ElementType() reflect.Type
type Provider ¶
type Provider struct {
pulumi.ProviderResourceState
}
The provider type for the tls package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
func NewProvider ¶
func NewProvider(ctx *pulumi.Context, name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)
NewProvider registers a new resource with the given unique name, arguments, and options.
func (*Provider) ElementType ¶
func (*Provider) ToProviderOutput ¶
func (i *Provider) ToProviderOutput() ProviderOutput
func (*Provider) ToProviderOutputWithContext ¶
func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
func (*Provider) ToProviderPtrOutput ¶ added in v3.1.1
func (i *Provider) ToProviderPtrOutput() ProviderPtrOutput
func (*Provider) ToProviderPtrOutputWithContext ¶ added in v3.1.1
func (i *Provider) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
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
func (ProviderOutput) ToProviderPtrOutput ¶ added in v3.1.1
func (o ProviderOutput) ToProviderPtrOutput() ProviderPtrOutput
func (ProviderOutput) ToProviderPtrOutputWithContext ¶ added in v3.1.1
func (o ProviderOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
type ProviderPtrInput ¶ added in v3.1.1
type ProviderPtrInput interface { pulumi.Input ToProviderPtrOutput() ProviderPtrOutput ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput }
type ProviderPtrOutput ¶ added in v3.1.1
type ProviderPtrOutput struct {
*pulumi.OutputState
}
func (ProviderPtrOutput) ElementType ¶ added in v3.1.1
func (ProviderPtrOutput) ElementType() reflect.Type
func (ProviderPtrOutput) ToProviderPtrOutput ¶ added in v3.1.1
func (o ProviderPtrOutput) ToProviderPtrOutput() ProviderPtrOutput
func (ProviderPtrOutput) ToProviderPtrOutputWithContext ¶ added in v3.1.1
func (o ProviderPtrOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
type SelfSignedCert ¶
type SelfSignedCert struct { pulumi.CustomResourceState // List of keywords each describing a use that is permitted // for the issued certificate. The valid keywords are listed below. AllowedUses pulumi.StringArrayOutput `pulumi:"allowedUses"` // The certificate data in PEM format. CertPem pulumi.StringOutput `pulumi:"certPem"` // List of DNS names for which a certificate is being requested. DnsNames pulumi.StringArrayOutput `pulumi:"dnsNames"` // Number of hours before the certificates expiry when a new certificate will be generated EarlyRenewalHours pulumi.IntPtrOutput `pulumi:"earlyRenewalHours"` // List of IP addresses for which a certificate is being requested. IpAddresses pulumi.StringArrayOutput `pulumi:"ipAddresses"` // Boolean controlling whether the CA flag will be set in the // generated certificate. Defaults to `false`, meaning that the certificate does not represent // a certificate authority. IsCaCertificate pulumi.BoolPtrOutput `pulumi:"isCaCertificate"` // The name of the algorithm for the key provided // in `privateKeyPem`. KeyAlgorithm pulumi.StringOutput `pulumi:"keyAlgorithm"` // PEM-encoded private key that the certificate will belong to PrivateKeyPem pulumi.StringOutput `pulumi:"privateKeyPem"` ReadyForRenewal pulumi.BoolOutput `pulumi:"readyForRenewal"` // If `true`, the certificate will include // the subject key identifier. Defaults to `false`, in which case the subject // key identifier is not set at all. SetSubjectKeyId pulumi.BoolPtrOutput `pulumi:"setSubjectKeyId"` // The subject for which a certificate is being requested. // This is a nested configuration block whose structure matches the // corresponding block for `CertRequest`. Subjects SelfSignedCertSubjectArrayOutput `pulumi:"subjects"` // List of URIs for which a certificate is being requested. Uris pulumi.StringArrayOutput `pulumi:"uris"` // The time until which the certificate is invalid, as an // [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp. ValidityEndTime pulumi.StringOutput `pulumi:"validityEndTime"` // The number of hours after initial issuing that the // certificate will become invalid. ValidityPeriodHours pulumi.IntOutput `pulumi:"validityPeriodHours"` // The time after which the certificate is valid, as an // [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp. ValidityStartTime pulumi.StringOutput `pulumi:"validityStartTime"` }
func GetSelfSignedCert ¶
func GetSelfSignedCert(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SelfSignedCertState, opts ...pulumi.ResourceOption) (*SelfSignedCert, error)
GetSelfSignedCert gets an existing SelfSignedCert 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 NewSelfSignedCert ¶
func NewSelfSignedCert(ctx *pulumi.Context, name string, args *SelfSignedCertArgs, opts ...pulumi.ResourceOption) (*SelfSignedCert, error)
NewSelfSignedCert registers a new resource with the given unique name, arguments, and options.
func (*SelfSignedCert) ElementType ¶
func (*SelfSignedCert) ElementType() reflect.Type
func (*SelfSignedCert) ToSelfSignedCertOutput ¶
func (i *SelfSignedCert) ToSelfSignedCertOutput() SelfSignedCertOutput
func (*SelfSignedCert) ToSelfSignedCertOutputWithContext ¶
func (i *SelfSignedCert) ToSelfSignedCertOutputWithContext(ctx context.Context) SelfSignedCertOutput
func (*SelfSignedCert) ToSelfSignedCertPtrOutput ¶ added in v3.1.1
func (i *SelfSignedCert) ToSelfSignedCertPtrOutput() SelfSignedCertPtrOutput
func (*SelfSignedCert) ToSelfSignedCertPtrOutputWithContext ¶ added in v3.1.1
func (i *SelfSignedCert) ToSelfSignedCertPtrOutputWithContext(ctx context.Context) SelfSignedCertPtrOutput
type SelfSignedCertArgs ¶
type SelfSignedCertArgs struct { // List of keywords each describing a use that is permitted // for the issued certificate. The valid keywords are listed below. AllowedUses pulumi.StringArrayInput // List of DNS names for which a certificate is being requested. DnsNames pulumi.StringArrayInput // Number of hours before the certificates expiry when a new certificate will be generated EarlyRenewalHours pulumi.IntPtrInput // List of IP addresses for which a certificate is being requested. IpAddresses pulumi.StringArrayInput // Boolean controlling whether the CA flag will be set in the // generated certificate. Defaults to `false`, meaning that the certificate does not represent // a certificate authority. IsCaCertificate pulumi.BoolPtrInput // The name of the algorithm for the key provided // in `privateKeyPem`. KeyAlgorithm pulumi.StringInput // PEM-encoded private key that the certificate will belong to PrivateKeyPem pulumi.StringInput // If `true`, the certificate will include // the subject key identifier. Defaults to `false`, in which case the subject // key identifier is not set at all. SetSubjectKeyId pulumi.BoolPtrInput // The subject for which a certificate is being requested. // This is a nested configuration block whose structure matches the // corresponding block for `CertRequest`. Subjects SelfSignedCertSubjectArrayInput // List of URIs for which a certificate is being requested. Uris pulumi.StringArrayInput // The number of hours after initial issuing that the // certificate will become invalid. ValidityPeriodHours pulumi.IntInput }
The set of arguments for constructing a SelfSignedCert resource.
func (SelfSignedCertArgs) ElementType ¶
func (SelfSignedCertArgs) ElementType() reflect.Type
type SelfSignedCertArray ¶ added in v3.1.1
type SelfSignedCertArray []SelfSignedCertInput
func (SelfSignedCertArray) ElementType ¶ added in v3.1.1
func (SelfSignedCertArray) ElementType() reflect.Type
func (SelfSignedCertArray) ToSelfSignedCertArrayOutput ¶ added in v3.1.1
func (i SelfSignedCertArray) ToSelfSignedCertArrayOutput() SelfSignedCertArrayOutput
func (SelfSignedCertArray) ToSelfSignedCertArrayOutputWithContext ¶ added in v3.1.1
func (i SelfSignedCertArray) ToSelfSignedCertArrayOutputWithContext(ctx context.Context) SelfSignedCertArrayOutput
type SelfSignedCertArrayInput ¶ added in v3.1.1
type SelfSignedCertArrayInput interface { pulumi.Input ToSelfSignedCertArrayOutput() SelfSignedCertArrayOutput ToSelfSignedCertArrayOutputWithContext(context.Context) SelfSignedCertArrayOutput }
SelfSignedCertArrayInput is an input type that accepts SelfSignedCertArray and SelfSignedCertArrayOutput values. You can construct a concrete instance of `SelfSignedCertArrayInput` via:
SelfSignedCertArray{ SelfSignedCertArgs{...} }
type SelfSignedCertArrayOutput ¶ added in v3.1.1
type SelfSignedCertArrayOutput struct{ *pulumi.OutputState }
func (SelfSignedCertArrayOutput) ElementType ¶ added in v3.1.1
func (SelfSignedCertArrayOutput) ElementType() reflect.Type
func (SelfSignedCertArrayOutput) Index ¶ added in v3.1.1
func (o SelfSignedCertArrayOutput) Index(i pulumi.IntInput) SelfSignedCertOutput
func (SelfSignedCertArrayOutput) ToSelfSignedCertArrayOutput ¶ added in v3.1.1
func (o SelfSignedCertArrayOutput) ToSelfSignedCertArrayOutput() SelfSignedCertArrayOutput
func (SelfSignedCertArrayOutput) ToSelfSignedCertArrayOutputWithContext ¶ added in v3.1.1
func (o SelfSignedCertArrayOutput) ToSelfSignedCertArrayOutputWithContext(ctx context.Context) SelfSignedCertArrayOutput
type SelfSignedCertInput ¶
type SelfSignedCertInput interface { pulumi.Input ToSelfSignedCertOutput() SelfSignedCertOutput ToSelfSignedCertOutputWithContext(ctx context.Context) SelfSignedCertOutput }
type SelfSignedCertMap ¶ added in v3.1.1
type SelfSignedCertMap map[string]SelfSignedCertInput
func (SelfSignedCertMap) ElementType ¶ added in v3.1.1
func (SelfSignedCertMap) ElementType() reflect.Type
func (SelfSignedCertMap) ToSelfSignedCertMapOutput ¶ added in v3.1.1
func (i SelfSignedCertMap) ToSelfSignedCertMapOutput() SelfSignedCertMapOutput
func (SelfSignedCertMap) ToSelfSignedCertMapOutputWithContext ¶ added in v3.1.1
func (i SelfSignedCertMap) ToSelfSignedCertMapOutputWithContext(ctx context.Context) SelfSignedCertMapOutput
type SelfSignedCertMapInput ¶ added in v3.1.1
type SelfSignedCertMapInput interface { pulumi.Input ToSelfSignedCertMapOutput() SelfSignedCertMapOutput ToSelfSignedCertMapOutputWithContext(context.Context) SelfSignedCertMapOutput }
SelfSignedCertMapInput is an input type that accepts SelfSignedCertMap and SelfSignedCertMapOutput values. You can construct a concrete instance of `SelfSignedCertMapInput` via:
SelfSignedCertMap{ "key": SelfSignedCertArgs{...} }
type SelfSignedCertMapOutput ¶ added in v3.1.1
type SelfSignedCertMapOutput struct{ *pulumi.OutputState }
func (SelfSignedCertMapOutput) ElementType ¶ added in v3.1.1
func (SelfSignedCertMapOutput) ElementType() reflect.Type
func (SelfSignedCertMapOutput) MapIndex ¶ added in v3.1.1
func (o SelfSignedCertMapOutput) MapIndex(k pulumi.StringInput) SelfSignedCertOutput
func (SelfSignedCertMapOutput) ToSelfSignedCertMapOutput ¶ added in v3.1.1
func (o SelfSignedCertMapOutput) ToSelfSignedCertMapOutput() SelfSignedCertMapOutput
func (SelfSignedCertMapOutput) ToSelfSignedCertMapOutputWithContext ¶ added in v3.1.1
func (o SelfSignedCertMapOutput) ToSelfSignedCertMapOutputWithContext(ctx context.Context) SelfSignedCertMapOutput
type SelfSignedCertOutput ¶
type SelfSignedCertOutput struct {
*pulumi.OutputState
}
func (SelfSignedCertOutput) ElementType ¶
func (SelfSignedCertOutput) ElementType() reflect.Type
func (SelfSignedCertOutput) ToSelfSignedCertOutput ¶
func (o SelfSignedCertOutput) ToSelfSignedCertOutput() SelfSignedCertOutput
func (SelfSignedCertOutput) ToSelfSignedCertOutputWithContext ¶
func (o SelfSignedCertOutput) ToSelfSignedCertOutputWithContext(ctx context.Context) SelfSignedCertOutput
func (SelfSignedCertOutput) ToSelfSignedCertPtrOutput ¶ added in v3.1.1
func (o SelfSignedCertOutput) ToSelfSignedCertPtrOutput() SelfSignedCertPtrOutput
func (SelfSignedCertOutput) ToSelfSignedCertPtrOutputWithContext ¶ added in v3.1.1
func (o SelfSignedCertOutput) ToSelfSignedCertPtrOutputWithContext(ctx context.Context) SelfSignedCertPtrOutput
type SelfSignedCertPtrInput ¶ added in v3.1.1
type SelfSignedCertPtrInput interface { pulumi.Input ToSelfSignedCertPtrOutput() SelfSignedCertPtrOutput ToSelfSignedCertPtrOutputWithContext(ctx context.Context) SelfSignedCertPtrOutput }
type SelfSignedCertPtrOutput ¶ added in v3.1.1
type SelfSignedCertPtrOutput struct {
*pulumi.OutputState
}
func (SelfSignedCertPtrOutput) ElementType ¶ added in v3.1.1
func (SelfSignedCertPtrOutput) ElementType() reflect.Type
func (SelfSignedCertPtrOutput) ToSelfSignedCertPtrOutput ¶ added in v3.1.1
func (o SelfSignedCertPtrOutput) ToSelfSignedCertPtrOutput() SelfSignedCertPtrOutput
func (SelfSignedCertPtrOutput) ToSelfSignedCertPtrOutputWithContext ¶ added in v3.1.1
func (o SelfSignedCertPtrOutput) ToSelfSignedCertPtrOutputWithContext(ctx context.Context) SelfSignedCertPtrOutput
type SelfSignedCertState ¶
type SelfSignedCertState struct { // List of keywords each describing a use that is permitted // for the issued certificate. The valid keywords are listed below. AllowedUses pulumi.StringArrayInput // The certificate data in PEM format. CertPem pulumi.StringPtrInput // List of DNS names for which a certificate is being requested. DnsNames pulumi.StringArrayInput // Number of hours before the certificates expiry when a new certificate will be generated EarlyRenewalHours pulumi.IntPtrInput // List of IP addresses for which a certificate is being requested. IpAddresses pulumi.StringArrayInput // Boolean controlling whether the CA flag will be set in the // generated certificate. Defaults to `false`, meaning that the certificate does not represent // a certificate authority. IsCaCertificate pulumi.BoolPtrInput // The name of the algorithm for the key provided // in `privateKeyPem`. KeyAlgorithm pulumi.StringPtrInput // PEM-encoded private key that the certificate will belong to PrivateKeyPem pulumi.StringPtrInput ReadyForRenewal pulumi.BoolPtrInput // If `true`, the certificate will include // the subject key identifier. Defaults to `false`, in which case the subject // key identifier is not set at all. SetSubjectKeyId pulumi.BoolPtrInput // The subject for which a certificate is being requested. // This is a nested configuration block whose structure matches the // corresponding block for `CertRequest`. Subjects SelfSignedCertSubjectArrayInput // List of URIs for which a certificate is being requested. Uris pulumi.StringArrayInput // The time until which the certificate is invalid, as an // [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp. ValidityEndTime pulumi.StringPtrInput // The number of hours after initial issuing that the // certificate will become invalid. ValidityPeriodHours pulumi.IntPtrInput // The time after which the certificate is valid, as an // [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp. ValidityStartTime pulumi.StringPtrInput }
func (SelfSignedCertState) ElementType ¶
func (SelfSignedCertState) ElementType() reflect.Type
type SelfSignedCertSubject ¶
type SelfSignedCertSubject struct { CommonName *string `pulumi:"commonName"` Country *string `pulumi:"country"` Locality *string `pulumi:"locality"` Organization *string `pulumi:"organization"` OrganizationalUnit *string `pulumi:"organizationalUnit"` PostalCode *string `pulumi:"postalCode"` Province *string `pulumi:"province"` SerialNumber *string `pulumi:"serialNumber"` StreetAddresses []string `pulumi:"streetAddresses"` }
type SelfSignedCertSubjectArgs ¶
type SelfSignedCertSubjectArgs struct { CommonName pulumi.StringPtrInput `pulumi:"commonName"` Country pulumi.StringPtrInput `pulumi:"country"` Locality pulumi.StringPtrInput `pulumi:"locality"` Organization pulumi.StringPtrInput `pulumi:"organization"` OrganizationalUnit pulumi.StringPtrInput `pulumi:"organizationalUnit"` PostalCode pulumi.StringPtrInput `pulumi:"postalCode"` Province pulumi.StringPtrInput `pulumi:"province"` SerialNumber pulumi.StringPtrInput `pulumi:"serialNumber"` StreetAddresses pulumi.StringArrayInput `pulumi:"streetAddresses"` }
func (SelfSignedCertSubjectArgs) ElementType ¶
func (SelfSignedCertSubjectArgs) ElementType() reflect.Type
func (SelfSignedCertSubjectArgs) ToSelfSignedCertSubjectOutput ¶
func (i SelfSignedCertSubjectArgs) ToSelfSignedCertSubjectOutput() SelfSignedCertSubjectOutput
func (SelfSignedCertSubjectArgs) ToSelfSignedCertSubjectOutputWithContext ¶
func (i SelfSignedCertSubjectArgs) ToSelfSignedCertSubjectOutputWithContext(ctx context.Context) SelfSignedCertSubjectOutput
type SelfSignedCertSubjectArray ¶
type SelfSignedCertSubjectArray []SelfSignedCertSubjectInput
func (SelfSignedCertSubjectArray) ElementType ¶
func (SelfSignedCertSubjectArray) ElementType() reflect.Type
func (SelfSignedCertSubjectArray) ToSelfSignedCertSubjectArrayOutput ¶
func (i SelfSignedCertSubjectArray) ToSelfSignedCertSubjectArrayOutput() SelfSignedCertSubjectArrayOutput
func (SelfSignedCertSubjectArray) ToSelfSignedCertSubjectArrayOutputWithContext ¶
func (i SelfSignedCertSubjectArray) ToSelfSignedCertSubjectArrayOutputWithContext(ctx context.Context) SelfSignedCertSubjectArrayOutput
type SelfSignedCertSubjectArrayInput ¶
type SelfSignedCertSubjectArrayInput interface { pulumi.Input ToSelfSignedCertSubjectArrayOutput() SelfSignedCertSubjectArrayOutput ToSelfSignedCertSubjectArrayOutputWithContext(context.Context) SelfSignedCertSubjectArrayOutput }
SelfSignedCertSubjectArrayInput is an input type that accepts SelfSignedCertSubjectArray and SelfSignedCertSubjectArrayOutput values. You can construct a concrete instance of `SelfSignedCertSubjectArrayInput` via:
SelfSignedCertSubjectArray{ SelfSignedCertSubjectArgs{...} }
type SelfSignedCertSubjectArrayOutput ¶
type SelfSignedCertSubjectArrayOutput struct{ *pulumi.OutputState }
func (SelfSignedCertSubjectArrayOutput) ElementType ¶
func (SelfSignedCertSubjectArrayOutput) ElementType() reflect.Type
func (SelfSignedCertSubjectArrayOutput) Index ¶
func (o SelfSignedCertSubjectArrayOutput) Index(i pulumi.IntInput) SelfSignedCertSubjectOutput
func (SelfSignedCertSubjectArrayOutput) ToSelfSignedCertSubjectArrayOutput ¶
func (o SelfSignedCertSubjectArrayOutput) ToSelfSignedCertSubjectArrayOutput() SelfSignedCertSubjectArrayOutput
func (SelfSignedCertSubjectArrayOutput) ToSelfSignedCertSubjectArrayOutputWithContext ¶
func (o SelfSignedCertSubjectArrayOutput) ToSelfSignedCertSubjectArrayOutputWithContext(ctx context.Context) SelfSignedCertSubjectArrayOutput
type SelfSignedCertSubjectInput ¶
type SelfSignedCertSubjectInput interface { pulumi.Input ToSelfSignedCertSubjectOutput() SelfSignedCertSubjectOutput ToSelfSignedCertSubjectOutputWithContext(context.Context) SelfSignedCertSubjectOutput }
SelfSignedCertSubjectInput is an input type that accepts SelfSignedCertSubjectArgs and SelfSignedCertSubjectOutput values. You can construct a concrete instance of `SelfSignedCertSubjectInput` via:
SelfSignedCertSubjectArgs{...}
type SelfSignedCertSubjectOutput ¶
type SelfSignedCertSubjectOutput struct{ *pulumi.OutputState }
func (SelfSignedCertSubjectOutput) CommonName ¶
func (o SelfSignedCertSubjectOutput) CommonName() pulumi.StringPtrOutput
func (SelfSignedCertSubjectOutput) Country ¶
func (o SelfSignedCertSubjectOutput) Country() pulumi.StringPtrOutput
func (SelfSignedCertSubjectOutput) ElementType ¶
func (SelfSignedCertSubjectOutput) ElementType() reflect.Type
func (SelfSignedCertSubjectOutput) Locality ¶
func (o SelfSignedCertSubjectOutput) Locality() pulumi.StringPtrOutput
func (SelfSignedCertSubjectOutput) Organization ¶
func (o SelfSignedCertSubjectOutput) Organization() pulumi.StringPtrOutput
func (SelfSignedCertSubjectOutput) OrganizationalUnit ¶
func (o SelfSignedCertSubjectOutput) OrganizationalUnit() pulumi.StringPtrOutput
func (SelfSignedCertSubjectOutput) PostalCode ¶
func (o SelfSignedCertSubjectOutput) PostalCode() pulumi.StringPtrOutput
func (SelfSignedCertSubjectOutput) Province ¶
func (o SelfSignedCertSubjectOutput) Province() pulumi.StringPtrOutput
func (SelfSignedCertSubjectOutput) SerialNumber ¶
func (o SelfSignedCertSubjectOutput) SerialNumber() pulumi.StringPtrOutput
func (SelfSignedCertSubjectOutput) StreetAddresses ¶
func (o SelfSignedCertSubjectOutput) StreetAddresses() pulumi.StringArrayOutput
func (SelfSignedCertSubjectOutput) ToSelfSignedCertSubjectOutput ¶
func (o SelfSignedCertSubjectOutput) ToSelfSignedCertSubjectOutput() SelfSignedCertSubjectOutput
func (SelfSignedCertSubjectOutput) ToSelfSignedCertSubjectOutputWithContext ¶
func (o SelfSignedCertSubjectOutput) ToSelfSignedCertSubjectOutputWithContext(ctx context.Context) SelfSignedCertSubjectOutput