> For the complete documentation index, see [llms.txt](https://docs.abtasty.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.abtasty.com/server-side/command-line-interface/ab-tasty-cli-reference-v1xx/web-experimentation/web-experimentation-authentication.md).

# 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="https://233132171-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBWu23t7Qv6wLLh6Hl5b4%2Fuploads%2Fgit-blob-45ad425b34dd48fbf90636ff0405bfdc352f4531%2F1de63f8d10c9bcc97214d70e4730fb68a884a926d356703ae78db81fc78fb321-createWeCred.gif?alt=media" 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
