AuthBackendRoleTag

class AuthBackendRoleTag : KotlinCustomResource

Reads role tag information from an AWS auth backend in Vault.

Example Usage

resources:
aws:
type: vault:AuthBackend
properties:
path: '%s'
type: aws
role:
type: vault:aws:AuthBackendRole
properties:
backend: ${aws.path}
role: '%s'
authType: ec2
boundAccountId: '123456789012'
policies:
- dev
- prod
- qa
- test
roleTag: VaultRoleTag
test:
type: vault:aws:AuthBackendRoleTag
properties:
backend: ${aws.path}
role: ${role.role}
policies:
- prod
- dev
- test
maxTtl: 1h
instanceId: i-1234567

Properties

Link copied to clipboard

If set, allows migration of the underlying instances where the client resides. Use with caution.

Link copied to clipboard
val backend: Output<String>?

The path to the AWS auth backend to read role tags from, with no leading or trailing /s. Defaults to "aws".

Link copied to clipboard

If set, only allows a single token to be granted per instance ID.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val instanceId: Output<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.

Link copied to clipboard
val maxTtl: Output<String>?

The maximum TTL of the tokens issued using this role.

Link copied to clipboard
val namespace: Output<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.

Link copied to clipboard
val policies: Output<List<String>>?

The policies to be associated with the tag. Must be a subset of the policies associated with the role.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val role: Output<String>

The name of the AWS auth backend role to read role tags from, with no leading or trailing /s.

Link copied to clipboard
val tagKey: Output<String>

The key of the role tag.

Link copied to clipboard
val tagValue: Output<String>

The value to set the role key.

Link copied to clipboard
val urn: Output<String>