# authentication

## 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>]`

{% hint style="info" %}
📘 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.
{% endhint %}

{% hint style="warning" %}
🚧 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 [**product.feedback@abtasty.com**](mailto:product.feedback@abtasty.com)
{% endhint %}

<figure><img src="/files/AgfWezeW9EWofU6BjH8b" alt=""><figcaption><p>Create credentials</p></figcaption></figure>

#### 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.yaml`to manage your web experimentation resources automatically.

#### EXAMPLES

```shell
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](https://app.flagship.io)

{% hint style="danger" %}
❗️ 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](https://app2.abtasty.com)
{% endhint %}

{% hint style="success" %}
👍 CLI usage

After adding your configuration to the CLI, you are good to use it !
{% endhint %}

***

## 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

```shell
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

```shell
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

```shell
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

```shell
abtasty-cli web-experimentation authentication current
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.abtasty.com/server-side/command-line-interface/ab-tasty-cli-reference-v1xx/web-experimentation/web-experimentation-authentication.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
