authentication

Manage authentication for feature experimentation

abtasty-cli feature-experimentation authentication login

NAME

abtasty-cli feature-experimentation authentication login - Create auth file

SYNOPSIS

abtasty-cli feature-experimentation authentication login [--credential-file] | [-u <username> | --username=<username>] [-i <clientID> | --client-id=<clientID>] [-s <clientSecret> | --client-secret=<clientSecret>] [-a <accountID> | --account-id=<accountID>] [-e <accountEnvID> | --account-environment-id=<accountEnvID>]

📘

Config file

You either insert your credentials in flags(username, client id, client secret, account id) or you use the path flag that contain these information and import them.

🚧

Access to your credentials

This feature and the access to the generation of credentials is related to the Remote Control API, it's still in Early Adoption phase, if you want to try it and have any questions, feel free to ask [email protected]

Create credentials

Create credentials

DESCRIPTION

   Create an auth file based on the credentials (username, client_id, client_secret).

The command creates a file with the username as filename and stores username, client_id, and client_secret in $HOME/.abtasty/credentials/fe/USERNAME.yaml, and writes account_id in $HOME/.abtasty/credentials/fe/.cli.yamlto manage your feature experimentation resources automatically.

EXAMPLES

abtasty-cli feature-experimentation authentication login -u USERNAME -i CLIENT_ID -s CLIENT_SECRET -a ACCOUNT_ID

REQUIRED FLAGS

--username = _USERNAME_

    The username of the credentials

--client-id = _CLIENT_ID_

    The client id of your feature experimentation account

--client-secret = _CLIENT_SECRET_

    The client secret of your feature experimentation account

--account-id = _ACCOUNT_ID_

    The account id of your feature experimentation account

--account-environment-id = _ACCOUNT_ENV_ID_

    The account environment id of your feature experimentation account

--credential-file = _PATH_FILE_

    The path for the file where you want to import credentials (username, clientID, clientSecret, accountID, accountEnvID).

Here's an example of the path file example.yaml, you must fill in the info from Flagship plateform

username: username
account_id: ai
account_environment_id: aei
client_id: ci
client_secret: cs

❗️

Required information

Username, client id, client secret, account id are required field, you either insert them as flags or import a file that contains them with the path flag.

👍

CLI usage

After adding your configuration to the CLI, you are good to use it !


abtasty-cli feature-experimentation authentication list

NAME

abtasty-cli feature-experimentation authentication list - List all authentications

SYNOPSIS

abtasty-cli feature-experimentation authentication list [--output-format = OUTPUT_FORMAT [table|json|json-pretty]]

DESCRIPTION

    List all authentications

EXAMPLES

abtasty-cli feature-experimentation authentication list

FLAGS

--output-format = _OUTPUT_FORMAT_

    The output format for printing command output resources. The default is table. The supported formats are: json-pretty, table, json.


abtasty-cli feature-experimentation authentication get

NAME

abtasty-cli feature-experimentation authentication get - Get an auth credentials

SYNOPSIS

abtasty-cli feature-experimentation authentication get [-u USERNAME | --username=USERNAME]

DESCRIPTION

    Get an auth credentials

EXAMPLES

abtasty-cli feature-experimentation authentication get -u USERNAME

REQUIRED FLAGS

--username = _USERNAME_

    The username of the credentials you want to display

FLAGS

--output-format _OUTPUT_FORMAT_

    The output format for printing command output resources. The default is table. The supported formats are: json-pretty, table, json.


abtasty-cli feature-experimentation authentication delete

NAME

abtasty-cli feature-experimentation authentication delete - Delete an auth

SYNOPSIS

abtasty-cli feature-experimentation authentication delete [-u USERNAME | --username=USERNAME]

DESCRIPTION

    Delete an auth

EXAMPLES

abtasty-cli feature-experimentation authentication delete -u USERNAME

REQUIRED FLAGS

--username = _USERNAME_

    The username of the credentials you want to delete



abtasty-cli feature-experimentation authentication current

NAME

abtasty-cli feature-experimentation authentication current - Get the currently used authentication

SYNOPSIS

abtasty-cli feature-experimentation authentication current

DESCRIPTION

    Get the currently used authentication

EXAMPLES

abtasty-cli feature-experimentation authentication current