* or [JWT for GitLab](https://www.vaultproject.io/docs/auth/jwt/oidc_providers#gitlab).
:warning: The [AppRole](https://www.vaultproject.io/docs/auth/approle) used in your CI/CD shall have a **short `token_ttl`**
:warning: If using the [AppRole](https://www.vaultproject.io/docs/auth/approle)method, the AppRole used in your CI/CD shall have a **short `token_ttl`**
(let's say 10 minutes) and a **long `secret_id_ttl`** (could be infinite).
This way:
@@ -77,6 +80,7 @@ The tool requires the following environment variables to be set (as GitLab CI se
| `VAULT_BASE_KV_SECRETS_PATH` | The base [Key/Value secrets](https://www.vaultproject.io/api-docs/secret/kv/kv-v1) API path | `/secret` |
| `VAULT_ROLE_ID` | The [AppRole](https://www.vaultproject.io/docs/auth/approle) RoleID | _none_ (required to use the [AppRole](https://www.vaultproject.io/docs/auth/approle) Auth Method) |
| `VAULT_SECRET_ID` | The [AppRole](https://www.vaultproject.io/docs/auth/approle) SecretID | _none_ (required to use the [AppRole](https://www.vaultproject.io/docs/auth/approle) Auth Method) |
| `VAULT_TOKEN` | The token to use | _none_ (required to use the [Token](https://www.vaultproject.io/docs/auth/token) Auth Method) |
| `VAULT_JWT_TOKEN` | The signed [JSON Web Token](https://en.wikipedia.org/wiki/JSON_Web_Token) to login | `$CI_JOB_JWT` |
| `VAULT_JWT_ROLE` | Name of the role against which the login is being attempted | `default_role` (used with the [JWT/OIDC](https://www.vaultproject.io/docs/auth/jwt) Auth Method) |