1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 18:45:13 +00:00
gcloud-help/gcloud/access-context-manager/cloud-bindings/create
2022-03-01 04:29:52 +00:00

60 lines
2 KiB
Text

NAME
gcloud access-context-manager cloud-bindings create - create a new cloud
access binding
SYNOPSIS
gcloud access-context-manager cloud-bindings create --group-key=GROUP_KEY
(--level=LEVEL : --policy=POLICY) [--organization=ORGANIZATION]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Create a new cloud access binding.
EXAMPLES
To create a new cloud access binding, run:
$ gcloud 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 variant is also available:
$ gcloud alpha access-context-manager cloud-bindings create