Token Info

Invoke the info operation

Fetch information about a token.

SecurityaccessToken
Request
query Parameters
site
string

Send the request to the specfifed site

Request Body schema:
token
string

If no token is provided then the session token is used.

Responses
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

503

Service Unavailable (strongbox sealed)

post/v1/state/strongbox/token/info
Request samples
token: 21811edd-4438-4213-a56a-0aaac25bdc97
Response samples
display-name: userpass-admin@telco.com
accessor: e9dee1cf-d425-4960-ae2a-1d344b1c3e4c
expires: 2022-01-11T17:52:20.892198Z
tenant: telco
tenant-kind: site-provider
policies:
  - default
  - root
  - user
meta:
  username: admin@telco.com
  source: userpass
  ip: 192.168.100.1
creation-time: 2022-01-11T17:32:11.292198Z
renewal-time: 2022-01-11T17:32:11.292198Z
entity-alias-id: f2257e09-83a6-49e4-acaf-b5819760d297
explicit-max-ttl: 0s
num-uses: 0
orphan: true
renewable: true
period: 0s
type: default
ttl: 14d
max-ttl: 32d
disabled: false
bound-cidrs:
  - 192.168.0.0/24

Invoke the token-info operation

Fetch information about a token.

SecurityaccessToken
Request
Request Body schema:
One of:
token
string

If no token or accessor is provided then the session token is used.

Responses
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

503

Service Unavailable (strongbox sealed)

post/v1/token-info
Request samples
token: aa1ddebf-0c91-4625-8994-303edb68a06c
Response samples
display-name: userpass-admin@telco.com
accessor: e9dee1cf-d425-4960-ae2a-1d344b1c3e4c
expires: 2022-01-11T17:52:20.892198Z
tenant: telco
tenant-kind: site-provider
policies:
  - default
  - root
  - user
meta:
  username: admin@telco.com
  source: userpass
  ip: 192.168.100.1
creation-time: 2022-01-11T17:32:11.292198Z
renewal-time: 2022-01-11T17:32:11.292198Z
entity-alias-id: f2257e09-83a6-49e4-acaf-b5819760d297
explicit-max-ttl: 0s
num-uses: 0
orphan: true
renewable: true
period: 0s
type: default
ttl: 14d
max-ttl: 32d
disabled: false
bound-cidrs:
  - 192.168.0.0/24