1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-09 10:56:49 +00:00
gcloud-help/gcloud/alpha/access-context-manager/cloud-bindings/create
2022-03-01 04:29:52 +00:00

63 lines
2.2 KiB
Text

NAME
gcloud alpha access-context-manager cloud-bindings create - create a new
cloud access binding
SYNOPSIS
gcloud alpha access-context-manager cloud-bindings create
--group-key=GROUP_KEY (--level=LEVEL : --policy=POLICY)
[--organization=ORGANIZATION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Create a new cloud access binding.
EXAMPLES
To create a new cloud access binding, run:
$ gcloud alpha access-context-manager cloud-bindings create \
--group-key=my-group-key --level=my-access-level
REQUIRED FLAGS
--group-key=GROUP_KEY
Google Group id whose members are subject to the restrictions of this
binding.
Level resource - The access level to create. The arguments in this group
can be used to specify the attributes of this resource.
This must be specified.
--level=LEVEL
ID of the level or fully qualified identifier for the level. To set
the level attribute:
▸ provide the argument --level on the command line.
This flag must be specified if any of the other arguments in this
group are specified.
--policy=POLICY
The ID of the access policy. To set the policy attribute:
▸ provide the argument --level on the command line with a fully
specified name;
▸ provide the argument --policy on the command line;
▸ set the property access_context_manager/policy.
OPTIONAL FLAGS
--organization=ORGANIZATION
The parent organization for the cloud access binding.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
NOTES
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. This variant is also available:
$ gcloud access-context-manager cloud-bindings create