connect
Looking up a Connect server by its ID is more efficient than using the Connect server's name.
Subcommands
- connect group: Manage group access to Secrets Automation
- connect server: Manage Connect servers
- connect token: Manage Connect server tokens
- connect vault: Manage Connect server vault access
connect group
Subcommands
- connect group grant: Grant a group access to manage Secrets Automation
- connect group revoke: Revoke a group's access to manage Secrets Automation
connect group grant
Grant a group access to manage Secrets Automation.
Flags
If you don't specify a server, it adds the group to the list of Secrets Automation managers.
connect group revoke
Revoke a group's access to manage Secrets Automation.
Flags
connect server
Subcommands
- connect server create: Set up a Connect server
- connect server delete: Remove a Connect server
- connect server edit: Rename a Connect server
- connect server get: Get a Connect server
- connect server list: List Connect servers
connect server create
Add a 1Password Connect server to your account and generate a credentials file
for it. 1Password CLI saves the 1password-credentials.json
file in the
current directory.
Note: You can't grant a Connect server access to your built-in Personal, Private, or Employee vault.
Flags
1Password CLI saves the 1password-credentials.json
file in the
current directory.
connect server delete
Remove a Connect server. Specify the server by name or ID.
The credentials file and all the tokens for the server will no longer be valid.
connect server edit
Rename a Connect server. Specify the server by name or ID.
Flags
connect server get
Get details about a Connect server. Specify the server by name or ID.
connect server list
Get a list of Connect servers.
connect token
Subcommands
- connect token create: Issue a token for a 1Password Connect server
- connect token delete: Revoke a token for a Connect server
- connect token edit: Rename a Connect server token
- connect token list: Get a list of tokens
connect token create
Issue a new token for a Connect server.
Flags
Returns a token.
You can only provision Connect server tokens to vaults that the Connect server
has access to. Use op connect vault grant
to grant access to vaults.
Note: You can't grant a Connect server access to your built-in Personal, Private, or Employee vault.
By default, the --vaults
option grants the same permissions as the server.
To further limit the permissions a token has to read-only or write-only, add a
comma and r
or w
after the vault specification. For example:
connect token delete
Revoke a token for a Connect server.
Flags
connect token edit
Rename a Connect server token.
Flags
connect token list
List tokens for Connect servers.
Flags
Returns both active and revoked tokens.
The integrationId
is the ID for the Connect server the token belongs to.
connect vault
Subcommands
- connect vault grant: Grant a Connect server access to a vault
- connect vault revoke: Revoke a Connect server's access to a vault
connect vault grant
Grant a Connect server access to a vault.
Note: You can't grant a Connect server access to your built-in Personal, Private, or Employee vault.
Flags
connect vault revoke
Revoke a Connect server's access to a vault.