AuthBackendCert

Import

AWS auth backend certificates can be imported using auth/, the backend path, /config/certificate/, and the cert_name e.g.

 $ pulumi import vault:aws/authBackendCert:AuthBackendCert example auth/aws/config/certificate/my-cert

Create a AuthBackendCert Resource

new AuthBackendCert(name: string, args: AuthBackendCertArgs, opts?: CustomResourceOptions);
@overload
def AuthBackendCert(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    aws_public_cert: Optional[str] = None,
                    backend: Optional[str] = None,
                    cert_name: Optional[str] = None,
                    type: Optional[str] = None)
@overload
def AuthBackendCert(resource_name: str,
                    args: AuthBackendCertArgs,
                    opts: Optional[ResourceOptions] = None)
func NewAuthBackendCert(ctx *Context, name string, args AuthBackendCertArgs, opts ...ResourceOption) (*AuthBackendCert, error)
public AuthBackendCert(string name, AuthBackendCertArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args AuthBackendCertArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args AuthBackendCertArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AuthBackendCertArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AuthBackendCertArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

AuthBackendCert Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The AuthBackendCert resource accepts the following input properties:

AwsPublicCert string
The Base64 encoded AWS Public key required to verify PKCS7 signature of the EC2 instance metadata. You can find this key in the AWS documentation.
CertName string
The name of the certificate.
Backend string
The path the AWS auth backend being configured was mounted at. Defaults to aws.
Type string
Either “pkcs7” or “identity”, indicating the type of document which can be verified using the given certificate. Defaults to “pkcs7”.
AwsPublicCert string
The Base64 encoded AWS Public key required to verify PKCS7 signature of the EC2 instance metadata. You can find this key in the AWS documentation.
CertName string
The name of the certificate.
Backend string
The path the AWS auth backend being configured was mounted at. Defaults to aws.
Type string
Either “pkcs7” or “identity”, indicating the type of document which can be verified using the given certificate. Defaults to “pkcs7”.
awsPublicCert string
The Base64 encoded AWS Public key required to verify PKCS7 signature of the EC2 instance metadata. You can find this key in the AWS documentation.
certName string
The name of the certificate.
backend string
The path the AWS auth backend being configured was mounted at. Defaults to aws.
type string
Either “pkcs7” or “identity”, indicating the type of document which can be verified using the given certificate. Defaults to “pkcs7”.
aws_public_cert str
The Base64 encoded AWS Public key required to verify PKCS7 signature of the EC2 instance metadata. You can find this key in the AWS documentation.
cert_name str
The name of the certificate.
backend str
The path the AWS auth backend being configured was mounted at. Defaults to aws.
type str
Either “pkcs7” or “identity”, indicating the type of document which can be verified using the given certificate. Defaults to “pkcs7”.

Outputs

All input properties are implicitly available as output properties. Additionally, the AuthBackendCert resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing AuthBackendCert Resource

Get an existing AuthBackendCert resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: AuthBackendCertState, opts?: CustomResourceOptions): AuthBackendCert
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        aws_public_cert: Optional[str] = None,
        backend: Optional[str] = None,
        cert_name: Optional[str] = None,
        type: Optional[str] = None) -> AuthBackendCert
func GetAuthBackendCert(ctx *Context, name string, id IDInput, state *AuthBackendCertState, opts ...ResourceOption) (*AuthBackendCert, error)
public static AuthBackendCert Get(string name, Input<string> id, AuthBackendCertState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

AwsPublicCert string
The Base64 encoded AWS Public key required to verify PKCS7 signature of the EC2 instance metadata. You can find this key in the AWS documentation.
Backend string
The path the AWS auth backend being configured was mounted at. Defaults to aws.
CertName string
The name of the certificate.
Type string
Either “pkcs7” or “identity”, indicating the type of document which can be verified using the given certificate. Defaults to “pkcs7”.
AwsPublicCert string
The Base64 encoded AWS Public key required to verify PKCS7 signature of the EC2 instance metadata. You can find this key in the AWS documentation.
Backend string
The path the AWS auth backend being configured was mounted at. Defaults to aws.
CertName string
The name of the certificate.
Type string
Either “pkcs7” or “identity”, indicating the type of document which can be verified using the given certificate. Defaults to “pkcs7”.
awsPublicCert string
The Base64 encoded AWS Public key required to verify PKCS7 signature of the EC2 instance metadata. You can find this key in the AWS documentation.
backend string
The path the AWS auth backend being configured was mounted at. Defaults to aws.
certName string
The name of the certificate.
type string
Either “pkcs7” or “identity”, indicating the type of document which can be verified using the given certificate. Defaults to “pkcs7”.
aws_public_cert str
The Base64 encoded AWS Public key required to verify PKCS7 signature of the EC2 instance metadata. You can find this key in the AWS documentation.
backend str
The path the AWS auth backend being configured was mounted at. Defaults to aws.
cert_name str
The name of the certificate.
type str
Either “pkcs7” or “identity”, indicating the type of document which can be verified using the given certificate. Defaults to “pkcs7”.

Package Details

Repository
https://github.com/pulumi/pulumi-vault
License
Apache-2.0
Notes
This Pulumi package is based on the vault Terraform Provider.