Get information on an ACL token.
data "nomad_acl_token" "my_token" {
accessor_id = "aa534e09-6a07-0a45-2295-a7f77063d429"
}
The following arguments are supported:
accessor_id
: (string)
Non-sensitive identifier for this token.The following attributes are exported:
name
: (string)
Non-sensitive identifier for this token.accessor_id
: (string)
Non-sensitive identifier for this token.secret_id
: (string)
The token value itself.type
: (string)
The type of the token.policies
: (list of strings)
List of policy names associated with this token.roles
(set: [])
- The list of roles attached to the token. Each entry has
name
and id
attributes.global
: (bool)
Whether the token is replicated to all regions, or if it
will only be used in the region it was created.create_time
: (string)
Date and time the token was created.expiration_ttl
: (string)
The expiration TTL for the token.expiration_time
(string)
- The timestamp after which the token is
considered expired and eligible for destruction.