Modifying authentication configuration

Create an admin API token, reset the admin password, reset the identity provider (IdP), and two-factor authentication with the stanctl commands.

Creating an admin API token

Create an admin API token.

stanctl auth create-admin-api-token

Resetting a user's password

Reset a user's password.

stanctl auth reset-password

Use the following options with the command:

Option Required Description
--email Yes The email ID of the user.
--password No The password of the user. If this option is not specified, you are prompted for the password.
stanctl auth reset-password --email=<email ID of the user> --password=<password>

Resetting the IdP configuration

Reset IdP configuration.

stanctl auth reset-idp

Resetting two-factor authentication

Reset two-factor authentication on Instana.

stanctl auth reset-2fa

Use the --email option to set the email ID of the user.

Example:

stanctl auth reset-2fa --email=xyz@example.com