Feature experimentation

1 - Retrieve your credentials

Create credentials

2 - Use auth login command

Once you retrieve your credentials, use the abtasty-cli feat-exp auth logincmd to create your auth file. You can create an auth file in two ways:

insert credentials

abtasty-cli feat-exp auth login --username USERNAME -i CLIENT_ID -s CLIENT_SECRET -a ACCOUNT_ID

insert a file

The file inserted must have the same schema as the example below to extract the credentials.

username: username
account_id: ai
account_environment_id: aei
client_id: ci
client_secret: cs
abtasty-cli feat-exp auth login -p PATH_FILE

The abtasty-cli feat-exp auth login command creates a file with the username name as fileName and stores it in $HOME/.abtasty/credentials/fe/USERNAME.yaml and writes the value of the flags as key-value pairs then you can use the use command to generate the access token to manage your flagship resources automatically.

📘 List configurations

You can use the commandabtasty-cli feat-exp auth listto check your auth files

The use command lets you select the configuration you want to manage

abtasty-cli feat-exp account-environment use -i ACCOUNT_ENVIRONMENT_ID

The command generates a token that expires after 24 hours and automatically refreshes.

Last updated

Was this helpful?