HashiCorp Vault
AuthBackendIdentityWhitelist
Configures the periodic tidying operation of the whitelisted identity entries.
For more information, see the Vault docs.
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 exampleAuthBackendIdentityWhitelist = new Vault.Aws.AuthBackendIdentityWhitelist("exampleAuthBackendIdentityWhitelist", new Vault.Aws.AuthBackendIdentityWhitelistArgs
{
Backend = exampleAuthBackend.Path,
SafetyBuffer = 3600,
});
}
}
package main
import (
"github.com/pulumi/pulumi-vault/sdk/v5/go/vault"
"github.com/pulumi/pulumi-vault/sdk/v5/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.NewAuthBackendIdentityWhitelist(ctx, "exampleAuthBackendIdentityWhitelist", &aws.AuthBackendIdentityWhitelistArgs{
Backend: exampleAuthBackend.Path,
SafetyBuffer: pulumi.Int(3600),
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_vault as vault
example_auth_backend = vault.AuthBackend("exampleAuthBackend", type="aws")
example_auth_backend_identity_whitelist = vault.aws.AuthBackendIdentityWhitelist("exampleAuthBackendIdentityWhitelist",
backend=example_auth_backend.path,
safety_buffer=3600)
import * as pulumi from "@pulumi/pulumi";
import * as vault from "@pulumi/vault";
const exampleAuthBackend = new vault.AuthBackend("exampleAuthBackend", {type: "aws"});
const exampleAuthBackendIdentityWhitelist = new vault.aws.AuthBackendIdentityWhitelist("exampleAuthBackendIdentityWhitelist", {
backend: exampleAuthBackend.path,
safetyBuffer: 3600,
});
Coming soon!
Create a AuthBackendIdentityWhitelist Resource
new AuthBackendIdentityWhitelist(name: string, args?: AuthBackendIdentityWhitelistArgs, opts?: CustomResourceOptions);
@overload
def AuthBackendIdentityWhitelist(resource_name: str,
opts: Optional[ResourceOptions] = None,
backend: Optional[str] = None,
disable_periodic_tidy: Optional[bool] = None,
safety_buffer: Optional[int] = None)
@overload
def AuthBackendIdentityWhitelist(resource_name: str,
args: Optional[AuthBackendIdentityWhitelistArgs] = None,
opts: Optional[ResourceOptions] = None)
func NewAuthBackendIdentityWhitelist(ctx *Context, name string, args *AuthBackendIdentityWhitelistArgs, opts ...ResourceOption) (*AuthBackendIdentityWhitelist, error)
public AuthBackendIdentityWhitelist(string name, AuthBackendIdentityWhitelistArgs? args = null, CustomResourceOptions? opts = null)
public AuthBackendIdentityWhitelist(String name, AuthBackendIdentityWhitelistArgs args)
public AuthBackendIdentityWhitelist(String name, AuthBackendIdentityWhitelistArgs args, CustomResourceOptions options)
type: vault:aws:AuthBackendIdentityWhitelist
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AuthBackendIdentityWhitelistArgs
- 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 AuthBackendIdentityWhitelistArgs
- 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 AuthBackendIdentityWhitelistArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AuthBackendIdentityWhitelistArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AuthBackendIdentityWhitelistArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AuthBackendIdentityWhitelist 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 AuthBackendIdentityWhitelist resource accepts the following input properties:
- Backend string
The path of the AWS backend being configured.
- Disable
Periodic boolTidy If set to true, disables the periodic tidying of the identity-whitelist entries.
- Safety
Buffer int The amount of extra time, in minutes, that must have passed beyond the roletag expiration, before it is removed from the backend storage.
- Backend string
The path of the AWS backend being configured.
- Disable
Periodic boolTidy If set to true, disables the periodic tidying of the identity-whitelist entries.
- Safety
Buffer int The amount of extra time, in minutes, that must have passed beyond the roletag expiration, before it is removed from the backend storage.
- backend String
The path of the AWS backend being configured.
- disable
Periodic BooleanTidy If set to true, disables the periodic tidying of the identity-whitelist entries.
- safety
Buffer Integer The amount of extra time, in minutes, that must have passed beyond the roletag expiration, before it is removed from the backend storage.
- backend string
The path of the AWS backend being configured.
- disable
Periodic booleanTidy If set to true, disables the periodic tidying of the identity-whitelist entries.
- safety
Buffer number The amount of extra time, in minutes, that must have passed beyond the roletag expiration, before it is removed from the backend storage.
- backend str
The path of the AWS backend being configured.
- disable_
periodic_ booltidy If set to true, disables the periodic tidying of the identity-whitelist entries.
- safety_
buffer int The amount of extra time, in minutes, that must have passed beyond the roletag expiration, before it is removed from the backend storage.
- backend String
The path of the AWS backend being configured.
- disable
Periodic BooleanTidy If set to true, disables the periodic tidying of the identity-whitelist entries.
- safety
Buffer Number The amount of extra time, in minutes, that must have passed beyond the roletag expiration, before it is removed from the backend storage.
Outputs
All input properties are implicitly available as output properties. Additionally, the AuthBackendIdentityWhitelist 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 an Existing AuthBackendIdentityWhitelist Resource
Get an existing AuthBackendIdentityWhitelist 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?: AuthBackendIdentityWhitelistState, opts?: CustomResourceOptions): AuthBackendIdentityWhitelist
@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) -> AuthBackendIdentityWhitelist
func GetAuthBackendIdentityWhitelist(ctx *Context, name string, id IDInput, state *AuthBackendIdentityWhitelistState, opts ...ResourceOption) (*AuthBackendIdentityWhitelist, error)
public static AuthBackendIdentityWhitelist Get(string name, Input<string> id, AuthBackendIdentityWhitelistState? state, CustomResourceOptions? opts = null)
public static AuthBackendIdentityWhitelist get(String name, Output<String> id, AuthBackendIdentityWhitelistState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- 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.
- Backend string
The path of the AWS backend being configured.
- Disable
Periodic boolTidy If set to true, disables the periodic tidying of the identity-whitelist entries.
- Safety
Buffer int The amount of extra time, in minutes, that must have passed beyond the roletag expiration, before it is removed from the backend storage.
- Backend string
The path of the AWS backend being configured.
- Disable
Periodic boolTidy If set to true, disables the periodic tidying of the identity-whitelist entries.
- Safety
Buffer int The amount of extra time, in minutes, that must have passed beyond the roletag expiration, before it is removed from the backend storage.
- backend String
The path of the AWS backend being configured.
- disable
Periodic BooleanTidy If set to true, disables the periodic tidying of the identity-whitelist entries.
- safety
Buffer Integer The amount of extra time, in minutes, that must have passed beyond the roletag expiration, before it is removed from the backend storage.
- backend string
The path of the AWS backend being configured.
- disable
Periodic booleanTidy If set to true, disables the periodic tidying of the identity-whitelist entries.
- safety
Buffer number The amount of extra time, in minutes, that must have passed beyond the roletag expiration, before it is removed from the backend storage.
- backend str
The path of the AWS backend being configured.
- disable_
periodic_ booltidy If set to true, disables the periodic tidying of the identity-whitelist entries.
- safety_
buffer int The amount of extra time, in minutes, that must have passed beyond the roletag expiration, before it is removed from the backend storage.
- backend String
The path of the AWS backend being configured.
- disable
Periodic BooleanTidy If set to true, disables the periodic tidying of the identity-whitelist entries.
- safety
Buffer Number The amount of extra time, in minutes, that must have passed beyond the roletag expiration, before it is removed from the backend storage.
Import
AWS auth backend identity whitelists can be imported using auth/
, the backend
path, and /config/tidy/identity-whitelist
e.g.
$ pulumi import vault:aws/authBackendIdentityWhitelist:AuthBackendIdentityWhitelist example auth/aws/config/tidy/identity-whitelist
Package Details
- Repository
- https://github.com/pulumi/pulumi-vault
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
vault
Terraform Provider.