# Manage Issuance

> Manage Credential Issuance configurations and integration.

Before using Affinidi CLI and access CLI topics, you need to login to the Affinidi using the command affinidi start and select a project to generate the required access token to perform tasks.

## Command References

    affinidi issuance

Use these commands to manage credential issuance configurations

### affinidi issuance create-config

Creates credential issuance configuration in your active project

USAGE

```bash
affinidi  issuance create-config [--json] [--no-color] [--no-input] [-n [value]] [-d	 [value]] [-w [value]] [--credential-offer-duration [value]] [-f [value]] [--enable-webhook] [-u [value]]
```

FLAGS

-d, --description=[value]				Description of the credential issuance configuration

-f, --file=[value]					   Location of a json file containing the list of allowed schemas for creating a											credential offer. One or more schemas can be added to the issuance. The											credential type ID must be unique

-n, --name=[value]					   Name of the credential issuance configuration

-u, --webhook-url=[value]				URL to receive notifications after VC is claimed

-w, --wallet-id=[value]				  ID of the wallet

 --credential-offer-duration=[value]  Credential offer duration in seconds	   –[no-]enable-webhook				Enable/Disable VC claim notifications

GLOBAL FLAGS

--json  Format output as json.

--no-color Disables color in the output. If you have trouble distinguishing colors, consider using this flag.

--no-input Disables all the interactive prompts

EXAMPLES

```bash
affinidi  issuance create-config -n [value] -w [value] -f credentialSchemas.json
```

```bash
affinidi issuance create-config --name [value] --wallet-id [value] --description [value] --credential-offer-duration [value] --file credentialSchemas.json --[no-]enable-webhook --webhook-url [value]
```

### affinidi issuance delete-config

Deletes credential issuance configuration from your active project

USAGE

```bash
affinidi  issuance delete-config [--json] [--no-color] [--no-input] [-i [value]]
```

FLAGS

-i, --id=[value]  ID of the credential issuance configuration

GLOBAL FLAGS

--json  Format output as json.

--no-color Disables color in the output. If you have trouble distinguishing colors, consider using this flag.

--no-input Disables all the interactive prompts

EXAMPLES

```bash
affinidi  issuance delete-config -i [value]
```

```bash
affinidi issuance delete-config --id [value]
```

### affinidi issuance get-config

Gets the details of the credential issuance configuration in your active project

USAGE

```bash
affinidi  issuance get-config [--json] [--no-color] [--no-input] [-i [value]]
```

FLAGS

-i, --id=[value]  ID of the credential issuance configuration

GLOBAL FLAGS

--json  Format output as json.

--no-color Disables color in the output. If you have trouble distinguishing colors, consider using this flag.

--no-input Disables all the interactive prompts

EXAMPLES

```bash
affinidi  issuance get-config -i [value]
```

```bash
affinidi issuance get-config --id [value]
```

### affinidi issuance list-configs

Lists credential issuance configurations in your active project

USAGE

```bash
affinidi  issuance list-configs [--json] [--no-color] [--no-input]
```

GLOBAL FLAGS

--json  Format output as json.

--no-color Disables color in the output. If you have trouble distinguishing colors, consider using this flag.

--no-input Disables all the interactive prompts

EXAMPLES

```bash
affinidi  issuance list-configs
```

### affinidi issuance update-config

Updates credential issuance configuration in your active project

USAGE

```bash
affinidi  issuance update-config [--json] [--no-color] [--no-input] [-i [value]] [-n	 [value]] [-d [value]] [-w [value]] [--credential-offer-duration [value]] [-f [value]] [--enable-webhook -u [value]]
```

FLAGS

-d, --description=[value]				Description of the credential issuance configuration

-f, --file=[value]					   Location of a json file containing the list of allowed schemas for creating a											credential offer. One or more schemas can be added to the issuance. The											credential type ID must be unique

-i, --id=[value]						 ID of the credential issuance configuration

-n, --name=[value]					   Name of the credential issuance configuration

-u, --webhook-url=[value]				URL to receive notifications after VC is claimed

-w, --wallet-id=[value]				  ID of the wallet

 --credential-offer-duration=[value]  Credential offer duration in seconds	   –[no-]enable-webhook				Enable/Disable VC claim notifications

GLOBAL FLAGS

--json  Format output as json.

--no-color Disables color in the output. If you have trouble distinguishing colors, consider using this flag.

--no-input Disables all the interactive prompts

EXAMPLES

```bash
affinidi  issuance update-config -i [value] -f credentialSchemas.json
```

```bash
affinidi issuance update-config --id [value] --name [value] --wallet-id [value] --description [value] --credential-offer-duration [value] --file credentialSchemas.json --[no-]enable-webhook --webhook-url [value]
```
