HashiCorp Vault
AuthBackendRoleTag
Reads role tag information from an AWS auth backend in Vault.
Create a AuthBackendRoleTag Resource
new AuthBackendRoleTag(name: string, args: AuthBackendRoleTagArgs, opts?: CustomResourceOptions);
@overload
def AuthBackendRoleTag(resource_name: str,
opts: Optional[ResourceOptions] = None,
allow_instance_migration: Optional[bool] = None,
backend: Optional[str] = None,
disallow_reauthentication: Optional[bool] = None,
instance_id: Optional[str] = None,
max_ttl: Optional[str] = None,
policies: Optional[Sequence[str]] = None,
role: Optional[str] = None)
@overload
def AuthBackendRoleTag(resource_name: str,
args: AuthBackendRoleTagArgs,
opts: Optional[ResourceOptions] = None)
func NewAuthBackendRoleTag(ctx *Context, name string, args AuthBackendRoleTagArgs, opts ...ResourceOption) (*AuthBackendRoleTag, error)
public AuthBackendRoleTag(string name, AuthBackendRoleTagArgs args, CustomResourceOptions? opts = null)
public AuthBackendRoleTag(String name, AuthBackendRoleTagArgs args)
public AuthBackendRoleTag(String name, AuthBackendRoleTagArgs args, CustomResourceOptions options)
type: vault:aws:AuthBackendRoleTag
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AuthBackendRoleTagArgs
- 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 AuthBackendRoleTagArgs
- 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 AuthBackendRoleTagArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AuthBackendRoleTagArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AuthBackendRoleTagArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AuthBackendRoleTag 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 AuthBackendRoleTag resource accepts the following input properties:
- Role string
The name of the AWS auth backend role to read role tags from, with no leading or trailing
/
s.- Allow
Instance boolMigration If set, allows migration of the underlying instances where the client resides. Use with caution.
- Backend string
The path to the AWS auth backend to read role tags from, with no leading or trailing
/
s. Defaults to "aws".- Disallow
Reauthentication bool If set, only allows a single token to be granted per instance ID.
- Instance
Id string Instance ID for which this tag is intended for. If set, the created tag can only be used by the instance with the given ID.
- Max
Ttl string The maximum TTL of the tokens issued using this role.
- Policies List<string>
The policies to be associated with the tag. Must be a subset of the policies associated with the role.
- Role string
The name of the AWS auth backend role to read role tags from, with no leading or trailing
/
s.- Allow
Instance boolMigration If set, allows migration of the underlying instances where the client resides. Use with caution.
- Backend string
The path to the AWS auth backend to read role tags from, with no leading or trailing
/
s. Defaults to "aws".- Disallow
Reauthentication bool If set, only allows a single token to be granted per instance ID.
- Instance
Id string Instance ID for which this tag is intended for. If set, the created tag can only be used by the instance with the given ID.
- Max
Ttl string The maximum TTL of the tokens issued using this role.
- Policies []string
The policies to be associated with the tag. Must be a subset of the policies associated with the role.
- role String
The name of the AWS auth backend role to read role tags from, with no leading or trailing
/
s.- allow
Instance BooleanMigration If set, allows migration of the underlying instances where the client resides. Use with caution.
- backend String
The path to the AWS auth backend to read role tags from, with no leading or trailing
/
s. Defaults to "aws".- disallow
Reauthentication Boolean If set, only allows a single token to be granted per instance ID.
- instance
Id String Instance ID for which this tag is intended for. If set, the created tag can only be used by the instance with the given ID.
- max
Ttl String The maximum TTL of the tokens issued using this role.
- policies List<String>
The policies to be associated with the tag. Must be a subset of the policies associated with the role.
- role string
The name of the AWS auth backend role to read role tags from, with no leading or trailing
/
s.- allow
Instance booleanMigration If set, allows migration of the underlying instances where the client resides. Use with caution.
- backend string
The path to the AWS auth backend to read role tags from, with no leading or trailing
/
s. Defaults to "aws".- disallow
Reauthentication boolean If set, only allows a single token to be granted per instance ID.
- instance
Id string Instance ID for which this tag is intended for. If set, the created tag can only be used by the instance with the given ID.
- max
Ttl string The maximum TTL of the tokens issued using this role.
- policies string[]
The policies to be associated with the tag. Must be a subset of the policies associated with the role.
- role str
The name of the AWS auth backend role to read role tags from, with no leading or trailing
/
s.- allow_
instance_ boolmigration If set, allows migration of the underlying instances where the client resides. Use with caution.
- backend str
The path to the AWS auth backend to read role tags from, with no leading or trailing
/
s. Defaults to "aws".- disallow_
reauthentication bool If set, only allows a single token to be granted per instance ID.
- instance_
id str Instance ID for which this tag is intended for. If set, the created tag can only be used by the instance with the given ID.
- max_
ttl str The maximum TTL of the tokens issued using this role.
- policies Sequence[str]
The policies to be associated with the tag. Must be a subset of the policies associated with the role.
- role String
The name of the AWS auth backend role to read role tags from, with no leading or trailing
/
s.- allow
Instance BooleanMigration If set, allows migration of the underlying instances where the client resides. Use with caution.
- backend String
The path to the AWS auth backend to read role tags from, with no leading or trailing
/
s. Defaults to "aws".- disallow
Reauthentication Boolean If set, only allows a single token to be granted per instance ID.
- instance
Id String Instance ID for which this tag is intended for. If set, the created tag can only be used by the instance with the given ID.
- max
Ttl String The maximum TTL of the tokens issued using this role.
- policies List<String>
The policies to be associated with the tag. Must be a subset of the policies associated with the role.
Outputs
All input properties are implicitly available as output properties. Additionally, the AuthBackendRoleTag resource produces the following output properties:
Look up an Existing AuthBackendRoleTag Resource
Get an existing AuthBackendRoleTag 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?: AuthBackendRoleTagState, opts?: CustomResourceOptions): AuthBackendRoleTag
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allow_instance_migration: Optional[bool] = None,
backend: Optional[str] = None,
disallow_reauthentication: Optional[bool] = None,
instance_id: Optional[str] = None,
max_ttl: Optional[str] = None,
policies: Optional[Sequence[str]] = None,
role: Optional[str] = None,
tag_key: Optional[str] = None,
tag_value: Optional[str] = None) -> AuthBackendRoleTag
func GetAuthBackendRoleTag(ctx *Context, name string, id IDInput, state *AuthBackendRoleTagState, opts ...ResourceOption) (*AuthBackendRoleTag, error)
public static AuthBackendRoleTag Get(string name, Input<string> id, AuthBackendRoleTagState? state, CustomResourceOptions? opts = null)
public static AuthBackendRoleTag get(String name, Output<String> id, AuthBackendRoleTagState 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.
- Allow
Instance boolMigration If set, allows migration of the underlying instances where the client resides. Use with caution.
- Backend string
The path to the AWS auth backend to read role tags from, with no leading or trailing
/
s. Defaults to "aws".- Disallow
Reauthentication bool If set, only allows a single token to be granted per instance ID.
- Instance
Id string Instance ID for which this tag is intended for. If set, the created tag can only be used by the instance with the given ID.
- Max
Ttl string The maximum TTL of the tokens issued using this role.
- Policies List<string>
The policies to be associated with the tag. Must be a subset of the policies associated with the role.
- Role string
The name of the AWS auth backend role to read role tags from, with no leading or trailing
/
s.- Tag
Key string The key of the role tag.
- Tag
Value string The value to set the role key.
- Allow
Instance boolMigration If set, allows migration of the underlying instances where the client resides. Use with caution.
- Backend string
The path to the AWS auth backend to read role tags from, with no leading or trailing
/
s. Defaults to "aws".- Disallow
Reauthentication bool If set, only allows a single token to be granted per instance ID.
- Instance
Id string Instance ID for which this tag is intended for. If set, the created tag can only be used by the instance with the given ID.
- Max
Ttl string The maximum TTL of the tokens issued using this role.
- Policies []string
The policies to be associated with the tag. Must be a subset of the policies associated with the role.
- Role string
The name of the AWS auth backend role to read role tags from, with no leading or trailing
/
s.- Tag
Key string The key of the role tag.
- Tag
Value string The value to set the role key.
- allow
Instance BooleanMigration If set, allows migration of the underlying instances where the client resides. Use with caution.
- backend String
The path to the AWS auth backend to read role tags from, with no leading or trailing
/
s. Defaults to "aws".- disallow
Reauthentication Boolean If set, only allows a single token to be granted per instance ID.
- instance
Id String Instance ID for which this tag is intended for. If set, the created tag can only be used by the instance with the given ID.
- max
Ttl String The maximum TTL of the tokens issued using this role.
- policies List<String>
The policies to be associated with the tag. Must be a subset of the policies associated with the role.
- role String
The name of the AWS auth backend role to read role tags from, with no leading or trailing
/
s.- tag
Key String The key of the role tag.
- tag
Value String The value to set the role key.
- allow
Instance booleanMigration If set, allows migration of the underlying instances where the client resides. Use with caution.
- backend string
The path to the AWS auth backend to read role tags from, with no leading or trailing
/
s. Defaults to "aws".- disallow
Reauthentication boolean If set, only allows a single token to be granted per instance ID.
- instance
Id string Instance ID for which this tag is intended for. If set, the created tag can only be used by the instance with the given ID.
- max
Ttl string The maximum TTL of the tokens issued using this role.
- policies string[]
The policies to be associated with the tag. Must be a subset of the policies associated with the role.
- role string
The name of the AWS auth backend role to read role tags from, with no leading or trailing
/
s.- tag
Key string The key of the role tag.
- tag
Value string The value to set the role key.
- allow_
instance_ boolmigration If set, allows migration of the underlying instances where the client resides. Use with caution.
- backend str
The path to the AWS auth backend to read role tags from, with no leading or trailing
/
s. Defaults to "aws".- disallow_
reauthentication bool If set, only allows a single token to be granted per instance ID.
- instance_
id str Instance ID for which this tag is intended for. If set, the created tag can only be used by the instance with the given ID.
- max_
ttl str The maximum TTL of the tokens issued using this role.
- policies Sequence[str]
The policies to be associated with the tag. Must be a subset of the policies associated with the role.
- role str
The name of the AWS auth backend role to read role tags from, with no leading or trailing
/
s.- tag_
key str The key of the role tag.
- tag_
value str The value to set the role key.
- allow
Instance BooleanMigration If set, allows migration of the underlying instances where the client resides. Use with caution.
- backend String
The path to the AWS auth backend to read role tags from, with no leading or trailing
/
s. Defaults to "aws".- disallow
Reauthentication Boolean If set, only allows a single token to be granted per instance ID.
- instance
Id String Instance ID for which this tag is intended for. If set, the created tag can only be used by the instance with the given ID.
- max
Ttl String The maximum TTL of the tokens issued using this role.
- policies List<String>
The policies to be associated with the tag. Must be a subset of the policies associated with the role.
- role String
The name of the AWS auth backend role to read role tags from, with no leading or trailing
/
s.- tag
Key String The key of the role tag.
- tag
Value String The value to set the role key.
Package Details
- Repository
- https://github.com/pulumi/pulumi-vault
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
vault
Terraform Provider.