authentication

Manage authentication for web experimentation

abtasty-cli web-experimentation authentication login

NAME

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

SYNOPSIS

abtasty-cli web-experimentation authentication login [-u <username> | --username=<username>] [-i <clientID> | --client-id=<clientID>] [-s <clientSecret> | --client-secret=<clientSecret>] [-a <accountID> | --account-id=<accountID>]

📘

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 is 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/we/USERNAME.yaml, and writes account_id in $HOME/.abtasty/credentials/we/.cli.yamlto manage your web experimentation resources automatically.

EXAMPLES

abtasty-cli web-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 web experimentation account

--client-secret = _CLIENT_SECRET_

    The client secret of your web experimentation account

--account-id = _ACCOUNT_ID_

    The account id of your web experimentation account

You must fill in the info from AB Tasty platform

❗️

Required information

Username, client id, client secret, account id are required field, you either insert them as flags. You must fill in the info from AB Tasty platform

👍

CLI usage

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


abtasty-cli web-experimentation authentication list

NAME

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

SYNOPSIS

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

DESCRIPTION

    List all authentications

EXAMPLES

abtasty-cli web-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 web-experimentation authentication get

NAME

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

SYNOPSIS

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

DESCRIPTION

    Get an auth credentials

EXAMPLES

abtasty-cli web-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 web-experimentation authentication delete

NAME

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

SYNOPSIS

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

DESCRIPTION

    Delete an auth

EXAMPLES

abtasty-cli web-experimentation authentication delete -u USERNAME

REQUIRED FLAGS

--username = _USERNAME_

    The username of the credentials you want to delete



abtasty-cli web-experimentation authentication current

NAME

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

SYNOPSIS

abtasty-cli web-experimentation authentication current

DESCRIPTION

    Get the currently used authentication

EXAMPLES

abtasty-cli web-experimentation authentication current