AuthBackendRoletagBlacklist

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

Example Usage

using Pulumi;
using Vault = Pulumi.Vault;

class MyStack : Stack
{
    public MyStack()
    {
        var exampleAuthBackend = new Vault.AuthBackend("exampleAuthBackend", new Vault.AuthBackendArgs
        {
            Type = "aws",
        });
        var exampleAuthBackendRoletagBlacklist = new Vault.Aws.AuthBackendRoletagBlacklist("exampleAuthBackendRoletagBlacklist", new Vault.Aws.AuthBackendRoletagBlacklistArgs
        {
            Backend = exampleAuthBackend.Path,
            SafetyBuffer = 360,
        });
    }

}
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleAuthBackend, err := vault.NewAuthBackend(ctx, "exampleAuthBackend", &vault.AuthBackendArgs{
			Type: pulumi.String("aws"),
		})
		if err != nil {
			return err
		}
		_, err = aws.NewAuthBackendRoletagBlacklist(ctx, "exampleAuthBackendRoletagBlacklist", &aws.AuthBackendRoletagBlacklistArgs{
			Backend:      exampleAuthBackend.Path,
			SafetyBuffer: pulumi.Int(360),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
import pulumi
import pulumi_vault as vault

example_auth_backend = vault.AuthBackend("exampleAuthBackend", type="aws")
example_auth_backend_roletag_blacklist = vault.aws.AuthBackendRoletagBlacklist("exampleAuthBackendRoletagBlacklist",
    backend=example_auth_backend.path,
    safety_buffer=360)
import * as pulumi from "@pulumi/pulumi";
import * as vault from "@pulumi/vault";

const exampleAuthBackend = new vault.AuthBackend("exampleAuthBackend", {type: "aws"});
const exampleAuthBackendRoletagBlacklist = new vault.aws.AuthBackendRoletagBlacklist("exampleAuthBackendRoletagBlacklist", {
    backend: exampleAuthBackend.path,
    safetyBuffer: 360,
});

Create a AuthBackendRoletagBlacklist Resource

new AuthBackendRoletagBlacklist(name: string, args: AuthBackendRoletagBlacklistArgs, opts?: CustomResourceOptions);
@overload
def AuthBackendRoletagBlacklist(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                backend: Optional[str] = None,
                                disable_periodic_tidy: Optional[bool] = None,
                                safety_buffer: Optional[int] = None)
@overload
def AuthBackendRoletagBlacklist(resource_name: str,
                                args: AuthBackendRoletagBlacklistArgs,
                                opts: Optional[ResourceOptions] = None)
func NewAuthBackendRoletagBlacklist(ctx *Context, name string, args AuthBackendRoletagBlacklistArgs, opts ...ResourceOption) (*AuthBackendRoletagBlacklist, error)
public AuthBackendRoletagBlacklist(string name, AuthBackendRoletagBlacklistArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args AuthBackendRoletagBlacklistArgs
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 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 string
The unique name of the resource.
args AuthBackendRoletagBlacklistArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AuthBackendRoletagBlacklistArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

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

The AuthBackendRoletagBlacklist resource accepts the following input properties:

Backend 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.
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 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.
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 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.
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 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.
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.

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 str
The provider-assigned unique ID for this managed resource.

Look up an 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,
        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)
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:

Backend 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.
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 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.
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 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.
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 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.
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.

Package Details

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