1. Packages
  2. HashiCorp Vault Provider
  3. API Docs
  4. aws
  5. AuthBackendCert
HashiCorp Vault v6.6.0 published on Thursday, Mar 13, 2025 by Pulumi

vault.aws.AuthBackendCert

Explore with Pulumi AI

Example Usage

Create AuthBackendCert Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new AuthBackendCert(name: string, args: AuthBackendCertArgs, opts?: CustomResourceOptions);
@overload
def AuthBackendCert(resource_name: str,
                    args: AuthBackendCertArgs,
                    opts: Optional[ResourceOptions] = None)

@overload
def AuthBackendCert(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    aws_public_cert: Optional[str] = None,
                    cert_name: Optional[str] = None,
                    backend: Optional[str] = None,
                    namespace: Optional[str] = None,
                    type: Optional[str] = None)
func NewAuthBackendCert(ctx *Context, name string, args AuthBackendCertArgs, opts ...ResourceOption) (*AuthBackendCert, error)
public AuthBackendCert(string name, AuthBackendCertArgs args, CustomResourceOptions? opts = null)
public AuthBackendCert(String name, AuthBackendCertArgs args)
public AuthBackendCert(String name, AuthBackendCertArgs args, CustomResourceOptions options)
type: vault:aws:AuthBackendCert
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. AuthBackendCertArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. AuthBackendCertArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. AuthBackendCertArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. AuthBackendCertArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var authBackendCertResource = new Vault.Aws.AuthBackendCert("authBackendCertResource", new()
{
    AwsPublicCert = "string",
    CertName = "string",
    Backend = "string",
    Namespace = "string",
    Type = "string",
});
Copy
example, err := aws.NewAuthBackendCert(ctx, "authBackendCertResource", &aws.AuthBackendCertArgs{
	AwsPublicCert: pulumi.String("string"),
	CertName:      pulumi.String("string"),
	Backend:       pulumi.String("string"),
	Namespace:     pulumi.String("string"),
	Type:          pulumi.String("string"),
})
Copy
var authBackendCertResource = new AuthBackendCert("authBackendCertResource", AuthBackendCertArgs.builder()
    .awsPublicCert("string")
    .certName("string")
    .backend("string")
    .namespace("string")
    .type("string")
    .build());
Copy
auth_backend_cert_resource = vault.aws.AuthBackendCert("authBackendCertResource",
    aws_public_cert="string",
    cert_name="string",
    backend="string",
    namespace="string",
    type="string")
Copy
const authBackendCertResource = new vault.aws.AuthBackendCert("authBackendCertResource", {
    awsPublicCert: "string",
    certName: "string",
    backend: "string",
    namespace: "string",
    type: "string",
});
Copy
type: vault:aws:AuthBackendCert
properties:
    awsPublicCert: string
    backend: string
    certName: string
    namespace: string
    type: string
Copy

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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The AuthBackendCert resource accepts the following input properties:

AwsPublicCert
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
string
The name of the certificate.
Backend Changes to this property will trigger replacement. string
The path the AWS auth backend being configured was mounted at. Defaults to aws.
Namespace Changes to this property will trigger replacement. string
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
Type Changes to this property will trigger replacement. string
Either "pkcs7" or "identity", indicating the type of document which can be verified using the given certificate. Defaults to "pkcs7".
AwsPublicCert
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
string
The name of the certificate.
Backend Changes to this property will trigger replacement. string
The path the AWS auth backend being configured was mounted at. Defaults to aws.
Namespace Changes to this property will trigger replacement. string
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
Type Changes to this property will trigger replacement. string
Either "pkcs7" or "identity", indicating the type of document which can be verified using the given certificate. Defaults to "pkcs7".
awsPublicCert
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
String
The name of the certificate.
backend Changes to this property will trigger replacement. String
The path the AWS auth backend being configured was mounted at. Defaults to aws.
namespace Changes to this property will trigger replacement. String
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
type Changes to this property will trigger replacement. String
Either "pkcs7" or "identity", indicating the type of document which can be verified using the given certificate. Defaults to "pkcs7".
awsPublicCert
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
string
The name of the certificate.
backend Changes to this property will trigger replacement. string
The path the AWS auth backend being configured was mounted at. Defaults to aws.
namespace Changes to this property will trigger replacement. string
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
type Changes to this property will trigger replacement. string
Either "pkcs7" or "identity", indicating the type of document which can be verified using the given certificate. Defaults to "pkcs7".
aws_public_cert
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
str
The name of the certificate.
backend Changes to this property will trigger replacement. str
The path the AWS auth backend being configured was mounted at. Defaults to aws.
namespace Changes to this property will trigger replacement. str
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
type Changes to this property will trigger replacement. str
Either "pkcs7" or "identity", indicating the type of document which can be verified using the given certificate. Defaults to "pkcs7".
awsPublicCert
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
String
The name of the certificate.
backend Changes to this property will trigger replacement. String
The path the AWS auth backend being configured was mounted at. Defaults to aws.
namespace Changes to this property will trigger replacement. String
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
type Changes to this property will trigger replacement. String
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 string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up 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,
        namespace: 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)
public static AuthBackendCert get(String name, Output<String> id, AuthBackendCertState state, CustomResourceOptions options)
resources:  _:    type: vault:aws:AuthBackendCert    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The path the AWS auth backend being configured was mounted at. Defaults to aws.
CertName Changes to this property will trigger replacement. string
The name of the certificate.
Namespace Changes to this property will trigger replacement. string
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
Type Changes to this property will trigger replacement. string
Either "pkcs7" or "identity", indicating the type of document which can be verified using the given certificate. Defaults to "pkcs7".
AwsPublicCert Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The path the AWS auth backend being configured was mounted at. Defaults to aws.
CertName Changes to this property will trigger replacement. string
The name of the certificate.
Namespace Changes to this property will trigger replacement. string
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
Type Changes to this property will trigger replacement. string
Either "pkcs7" or "identity", indicating the type of document which can be verified using the given certificate. Defaults to "pkcs7".
awsPublicCert Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
The path the AWS auth backend being configured was mounted at. Defaults to aws.
certName Changes to this property will trigger replacement. String
The name of the certificate.
namespace Changes to this property will trigger replacement. String
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
type Changes to this property will trigger replacement. String
Either "pkcs7" or "identity", indicating the type of document which can be verified using the given certificate. Defaults to "pkcs7".
awsPublicCert Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The path the AWS auth backend being configured was mounted at. Defaults to aws.
certName Changes to this property will trigger replacement. string
The name of the certificate.
namespace Changes to this property will trigger replacement. string
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
type Changes to this property will trigger replacement. string
Either "pkcs7" or "identity", indicating the type of document which can be verified using the given certificate. Defaults to "pkcs7".
aws_public_cert Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. str
The path the AWS auth backend being configured was mounted at. Defaults to aws.
cert_name Changes to this property will trigger replacement. str
The name of the certificate.
namespace Changes to this property will trigger replacement. str
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
type Changes to this property will trigger replacement. str
Either "pkcs7" or "identity", indicating the type of document which can be verified using the given certificate. Defaults to "pkcs7".
awsPublicCert Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
The path the AWS auth backend being configured was mounted at. Defaults to aws.
certName Changes to this property will trigger replacement. String
The name of the certificate.
namespace Changes to this property will trigger replacement. String
The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
type Changes to this property will trigger replacement. String
Either "pkcs7" or "identity", indicating the type of document which can be verified using the given certificate. Defaults to "pkcs7".

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
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Vault pulumi/pulumi-vault
License
Apache-2.0
Notes
This Pulumi package is based on the vault Terraform Provider.