rwx vaults access allow
Allow a repository, user, or service account to access a vault.
Usage
rwx vaults access allow [flags]
Options
--vault <name-or-id> (required)
The name or ID of the vault.
--repository-slug <slug>
The repository whose runs may access the vault. Requires --repository-branch-pattern.
--repository-branch-pattern <pattern>
The branch pattern whose runs may access the vault. Requires --repository-slug.
--email <email>
The user who may access the vault.
--service-account <name-or-id>
The service account that may access the vault.
Exactly one of --repository-slug, --email, or --service-account is required.
--allow-for <duration>
Allow access for a duration. This option is not supported for repositories and cannot be combined with --expires-at.
--expires-at <timestamp>
Allow access until a timestamp. This option is not supported for repositories and cannot be combined with --allow-for.
Global options
--format <format>
Output format: text or json. Defaults to text.
--json
Output JSON data to stdout. Equivalent to --format json.
--access-token <token>
The access token for RWX. Defaults to the value of the $RWX_ACCESS_TOKEN environment variable.