Subcommands
- service-account create: Create a service account
- service-account ratelimit: Retrieve rate limit usage for a service account
service-account create
Create a service account to gain programmatic access to your secrets using 1Password CLI.Flags
--vault flag. The syntax looks like this:
read_itemswrite_items(requiresread_items)share_items(requiresread_items)
read_items.
You can set an expiry to a service account using the --expires-in flag.
1Password CLI only returns the service account token once.
Save the token in 1Password immediately to avoid losing it.
Treat this token like a password, and don’t store it in plaintext.