» opentelekomcloud_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 "opentelekomcloud_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.

» Attributes Reference

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

The roles block contains: