» openstack_identity_auth_scope_v3

Use this data source to get authentication information about the current auth scope in use. This can be used as self-discovery or introspection of the username or project name currently in use.

» Example Usage

data "openstack_identity_auth_scope_v3" "scope" {
  name = "my_scope"
}

» Argument Reference

  • name - (Required) The name of the scope. This is an arbitrary name which is only used as a unique identifier so an actual token isn't used as the ID.

  • region - (Optional) The region in which to obtain the V3 Identity client. A Identity client is needed to retrieve tokens IDs. If omitted, the region argument of the provider is used.

» Attributes Reference

id is set to the name given to the scope. In addition, the following attributes are exported:

The roles block contains: