Documentation

CLI Reference

eg credential:scopes

eg credential:scopes remove

Description

Remove scopes from a credential by id or keyid

Usage

eg credential:scopes remove [options] <scopes..>

Options

Name, longform Type Default Description
-q, --quiet boolean false Only show major pieces of output
-t, --type required   Type of credential: can be one of: oauth2, basic-auth, key-auth [string]
--id required   Id or keyId of credential to remove scopes from [string]

Examples

Set scopes for a credential

$ eg credential:scopes remove -t oauth2 --id 2e90e145-bc4b-4ff1-a63a-a097644ba360 read
✔ Scopes read remove for 2e90e145-bc4b-4ff1-a63a-a097644ba360