mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-02 21:25:45 +00:00
add expire time to service token create
This commit is contained in:
@@ -53,6 +53,15 @@ With this command can create, view and delete service tokens.
|
|||||||
|
|
||||||
Default: `Service token generated via CLI`
|
Default: `Service token generated via CLI`
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
<Accordion title="--expiry-seconds">
|
||||||
|
```bash
|
||||||
|
infisical service-token create --scope=dev:/global --access-level=read --expiry-seconds 120
|
||||||
|
```
|
||||||
|
|
||||||
|
Set the service token's expiration time in seconds from now. To never expire set to zero.
|
||||||
|
|
||||||
|
Default: `1 day`
|
||||||
|
</Accordion>
|
||||||
<Accordion title="--access-level">
|
<Accordion title="--access-level">
|
||||||
```bash
|
```bash
|
||||||
infisical service-token create --scope=dev:/global --access-level=read --access-level=write
|
infisical service-token create --scope=dev:/global --access-level=read --access-level=write
|
||||||
|
|||||||
Reference in New Issue
Block a user