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

vault.aws.AuthBackendRoletagBlacklist

Explore with Pulumi AI

Configures the periodic tidying operation of the blacklisted role tag entries.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as vault from "@pulumi/vault";

const example = new vault.AuthBackend("example", {type: "aws"});
const exampleAuthBackendRoletagBlacklist = new vault.aws.AuthBackendRoletagBlacklist("example", {
    backend: example.path,
    safetyBuffer: 360,
});
Copy
import pulumi
import pulumi_vault as vault

example = vault.AuthBackend("example", type="aws")
example_auth_backend_roletag_blacklist = vault.aws.AuthBackendRoletagBlacklist("example",
    backend=example.path,
    safety_buffer=360)
Copy
package main

import (
	"github.com/pulumi/pulumi-vault/sdk/v6/go/vault"
	"github.com/pulumi/pulumi-vault/sdk/v6/go/vault/aws"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := vault.NewAuthBackend(ctx, "example", &vault.AuthBackendArgs{
			Type: pulumi.String("aws"),
		})
		if err != nil {
			return err
		}
		_, err = aws.NewAuthBackendRoletagBlacklist(ctx, "example", &aws.AuthBackendRoletagBlacklistArgs{
			Backend:      example.Path,
			SafetyBuffer: pulumi.Int(360),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vault = Pulumi.Vault;

return await Deployment.RunAsync(() => 
{
    var example = new Vault.AuthBackend("example", new()
    {
        Type = "aws",
    });

    var exampleAuthBackendRoletagBlacklist = new Vault.Aws.AuthBackendRoletagBlacklist("example", new()
    {
        Backend = example.Path,
        SafetyBuffer = 360,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vault.AuthBackend;
import com.pulumi.vault.AuthBackendArgs;
import com.pulumi.vault.aws.AuthBackendRoletagBlacklist;
import com.pulumi.vault.aws.AuthBackendRoletagBlacklistArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new AuthBackend("example", AuthBackendArgs.builder()
            .type("aws")
            .build());

        var exampleAuthBackendRoletagBlacklist = new AuthBackendRoletagBlacklist("exampleAuthBackendRoletagBlacklist", AuthBackendRoletagBlacklistArgs.builder()
            .backend(example.path())
            .safetyBuffer(360)
            .build());

    }
}
Copy
resources:
  example:
    type: vault:AuthBackend
    properties:
      type: aws
  exampleAuthBackendRoletagBlacklist:
    type: vault:aws:AuthBackendRoletagBlacklist
    name: example
    properties:
      backend: ${example.path}
      safetyBuffer: 360
Copy

Create AuthBackendRoletagBlacklist Resource

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

Constructor syntax

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

@overload
def AuthBackendRoletagBlacklist(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                backend: Optional[str] = None,
                                disable_periodic_tidy: Optional[bool] = None,
                                namespace: Optional[str] = None,
                                safety_buffer: Optional[int] = None)
func NewAuthBackendRoletagBlacklist(ctx *Context, name string, args AuthBackendRoletagBlacklistArgs, opts ...ResourceOption) (*AuthBackendRoletagBlacklist, error)
public AuthBackendRoletagBlacklist(string name, AuthBackendRoletagBlacklistArgs args, CustomResourceOptions? opts = null)
public AuthBackendRoletagBlacklist(String name, AuthBackendRoletagBlacklistArgs args)
public AuthBackendRoletagBlacklist(String name, AuthBackendRoletagBlacklistArgs args, CustomResourceOptions options)
type: vault:aws:AuthBackendRoletagBlacklist
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. AuthBackendRoletagBlacklistArgs
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. AuthBackendRoletagBlacklistArgs
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. AuthBackendRoletagBlacklistArgs
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. AuthBackendRoletagBlacklistArgs
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. AuthBackendRoletagBlacklistArgs
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 authBackendRoletagBlacklistResource = new Vault.Aws.AuthBackendRoletagBlacklist("authBackendRoletagBlacklistResource", new()
{
    Backend = "string",
    DisablePeriodicTidy = false,
    Namespace = "string",
    SafetyBuffer = 0,
});
Copy
example, err := aws.NewAuthBackendRoletagBlacklist(ctx, "authBackendRoletagBlacklistResource", &aws.AuthBackendRoletagBlacklistArgs{
	Backend:             pulumi.String("string"),
	DisablePeriodicTidy: pulumi.Bool(false),
	Namespace:           pulumi.String("string"),
	SafetyBuffer:        pulumi.Int(0),
})
Copy
var authBackendRoletagBlacklistResource = new AuthBackendRoletagBlacklist("authBackendRoletagBlacklistResource", AuthBackendRoletagBlacklistArgs.builder()
    .backend("string")
    .disablePeriodicTidy(false)
    .namespace("string")
    .safetyBuffer(0)
    .build());
Copy
auth_backend_roletag_blacklist_resource = vault.aws.AuthBackendRoletagBlacklist("authBackendRoletagBlacklistResource",
    backend="string",
    disable_periodic_tidy=False,
    namespace="string",
    safety_buffer=0)
Copy
const authBackendRoletagBlacklistResource = new vault.aws.AuthBackendRoletagBlacklist("authBackendRoletagBlacklistResource", {
    backend: "string",
    disablePeriodicTidy: false,
    namespace: "string",
    safetyBuffer: 0,
});
Copy
type: vault:aws:AuthBackendRoletagBlacklist
properties:
    backend: string
    disablePeriodicTidy: false
    namespace: string
    safetyBuffer: 0
Copy

AuthBackendRoletagBlacklist 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 AuthBackendRoletagBlacklist resource accepts the following input properties:

Backend
This property is required.
Changes to this property will trigger replacement.
string
The path the AWS auth backend being configured was mounted at.
DisablePeriodicTidy bool
If set to true, disables the periodic tidying of the roletag blacklist entries. Defaults to false.
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.
SafetyBuffer int
The amount of extra time that must have passed beyond the roletag expiration, before it is removed from the backend storage. Defaults to 259,200 seconds, or 72 hours.
Backend
This property is required.
Changes to this property will trigger replacement.
string
The path the AWS auth backend being configured was mounted at.
DisablePeriodicTidy bool
If set to true, disables the periodic tidying of the roletag blacklist entries. Defaults to false.
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.
SafetyBuffer int
The amount of extra time that must have passed beyond the roletag expiration, before it is removed from the backend storage. Defaults to 259,200 seconds, or 72 hours.
backend
This property is required.
Changes to this property will trigger replacement.
String
The path the AWS auth backend being configured was mounted at.
disablePeriodicTidy Boolean
If set to true, disables the periodic tidying of the roletag blacklist entries. Defaults to false.
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.
safetyBuffer Integer
The amount of extra time that must have passed beyond the roletag expiration, before it is removed from the backend storage. Defaults to 259,200 seconds, or 72 hours.
backend
This property is required.
Changes to this property will trigger replacement.
string
The path the AWS auth backend being configured was mounted at.
disablePeriodicTidy boolean
If set to true, disables the periodic tidying of the roletag blacklist entries. Defaults to false.
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.
safetyBuffer number
The amount of extra time that must have passed beyond the roletag expiration, before it is removed from the backend storage. Defaults to 259,200 seconds, or 72 hours.
backend
This property is required.
Changes to this property will trigger replacement.
str
The path the AWS auth backend being configured was mounted at.
disable_periodic_tidy bool
If set to true, disables the periodic tidying of the roletag blacklist entries. Defaults to false.
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.
safety_buffer int
The amount of extra time that must have passed beyond the roletag expiration, before it is removed from the backend storage. Defaults to 259,200 seconds, or 72 hours.
backend
This property is required.
Changes to this property will trigger replacement.
String
The path the AWS auth backend being configured was mounted at.
disablePeriodicTidy Boolean
If set to true, disables the periodic tidying of the roletag blacklist entries. Defaults to false.
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.
safetyBuffer Number
The amount of extra time that must have passed beyond the roletag expiration, before it is removed from the backend storage. Defaults to 259,200 seconds, or 72 hours.

Outputs

All input properties are implicitly available as output properties. Additionally, the AuthBackendRoletagBlacklist 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 AuthBackendRoletagBlacklist Resource

Get an existing AuthBackendRoletagBlacklist 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?: AuthBackendRoletagBlacklistState, opts?: CustomResourceOptions): AuthBackendRoletagBlacklist
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        backend: Optional[str] = None,
        disable_periodic_tidy: Optional[bool] = None,
        namespace: Optional[str] = None,
        safety_buffer: Optional[int] = None) -> AuthBackendRoletagBlacklist
func GetAuthBackendRoletagBlacklist(ctx *Context, name string, id IDInput, state *AuthBackendRoletagBlacklistState, opts ...ResourceOption) (*AuthBackendRoletagBlacklist, error)
public static AuthBackendRoletagBlacklist Get(string name, Input<string> id, AuthBackendRoletagBlacklistState? state, CustomResourceOptions? opts = null)
public static AuthBackendRoletagBlacklist get(String name, Output<String> id, AuthBackendRoletagBlacklistState state, CustomResourceOptions options)
resources:  _:    type: vault:aws:AuthBackendRoletagBlacklist    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:
Backend Changes to this property will trigger replacement. string
The path the AWS auth backend being configured was mounted at.
DisablePeriodicTidy bool
If set to true, disables the periodic tidying of the roletag blacklist entries. Defaults to false.
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.
SafetyBuffer int
The amount of extra time that must have passed beyond the roletag expiration, before it is removed from the backend storage. Defaults to 259,200 seconds, or 72 hours.
Backend Changes to this property will trigger replacement. string
The path the AWS auth backend being configured was mounted at.
DisablePeriodicTidy bool
If set to true, disables the periodic tidying of the roletag blacklist entries. Defaults to false.
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.
SafetyBuffer int
The amount of extra time that must have passed beyond the roletag expiration, before it is removed from the backend storage. Defaults to 259,200 seconds, or 72 hours.
backend Changes to this property will trigger replacement. String
The path the AWS auth backend being configured was mounted at.
disablePeriodicTidy Boolean
If set to true, disables the periodic tidying of the roletag blacklist entries. Defaults to false.
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.
safetyBuffer Integer
The amount of extra time that must have passed beyond the roletag expiration, before it is removed from the backend storage. Defaults to 259,200 seconds, or 72 hours.
backend Changes to this property will trigger replacement. string
The path the AWS auth backend being configured was mounted at.
disablePeriodicTidy boolean
If set to true, disables the periodic tidying of the roletag blacklist entries. Defaults to false.
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.
safetyBuffer number
The amount of extra time that must have passed beyond the roletag expiration, before it is removed from the backend storage. Defaults to 259,200 seconds, or 72 hours.
backend Changes to this property will trigger replacement. str
The path the AWS auth backend being configured was mounted at.
disable_periodic_tidy bool
If set to true, disables the periodic tidying of the roletag blacklist entries. Defaults to false.
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.
safety_buffer int
The amount of extra time that must have passed beyond the roletag expiration, before it is removed from the backend storage. Defaults to 259,200 seconds, or 72 hours.
backend Changes to this property will trigger replacement. String
The path the AWS auth backend being configured was mounted at.
disablePeriodicTidy Boolean
If set to true, disables the periodic tidying of the roletag blacklist entries. Defaults to false.
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.
safetyBuffer Number
The amount of extra time that must have passed beyond the roletag expiration, before it is removed from the backend storage. Defaults to 259,200 seconds, or 72 hours.

Package Details

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