[NAME]
oidc-token \- gets OIDC access token from oidc-agent
[FILES]
oidc-token does not read or write any files.
[EXAMPLES]
.PP
.nf
oidc-token example
.fi
.RS
Gets an access token for the 'example' account configuration.
.RE
.PP
.nf
oidc-token example -t 60
.fi
.RS
Gets an access token for the 'example' account configuration which will be valid
for at least 60 seconds.
.RE
.PP
.nf
oidc-token example -i
.fi
.RS
Gets the issuer url associated to the requested access token.
.RE
.PP
.nf
oidc-token example -a
.fi
.RS
Gets an access token, the associated issuer url, and the expiration date of the
token. One information per line.
.RE
.PP
.nf
eval `oidc-token example -c`
.fi
.RS
Sets environment variables with the access token, the associated issuer url, and the expiration date of the
token. 
.RE
.PP
.nf
oidc-token example --scope=openid --scope=profile
.fi
.RS
Gets an access token for the 'example' account configuration which will be only
valid for the 'openid' and 'profile' scope.
.RE
.PP
[SEE ALSO]
oidc-agent(1), oidc-add(1), oidc-gen(1)
.PP
Low-traffic mailing list with updates such as critical security incidents and new releases: https://www.lists.kit.edu/sympa/subscribe/oidc-agent-user
.PP
Full documentation can be found at https://indigo-dc.gitbooks.io/oidc-agent/user/oidc-token
