1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-10 19:31:55 +00:00
gcloud-help/gcloud/access-context-manager/cloud-bindings/create

54 lines
1.8 KiB
Text
Raw Normal View History

2022-03-01 04:29:52 +00:00
NAME
2022-10-18 11:38:19 +00:00
gcloud access-context-manager cloud-bindings create - create cloud access
bindings for a specific group
2022-03-01 04:29:52 +00:00
SYNOPSIS
gcloud access-context-manager cloud-bindings create --group-key=GROUP_KEY
2022-10-18 11:38:19 +00:00
--level=[LEVEL,...] [--organization=ORGANIZATION]
2022-03-01 04:29:52 +00:00
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
2022-10-18 11:38:19 +00:00
Create a new cloud access binding. The access level will be bound with the
group. The access level will be enforced when any user in the group tries
to access the Google cloud console or API.
2022-03-01 04:29:52 +00:00
EXAMPLES
To create a new cloud access binding, run:
$ gcloud access-context-manager cloud-bindings create \
2022-10-18 11:38:19 +00:00
--group-key=my-group-key \
--level=accessPolicies/123/accessLevels/abc
2022-03-01 04:29:52 +00:00
REQUIRED FLAGS
--group-key=GROUP_KEY
Google Group id whose members are subject to the restrictions of this
binding.
2022-10-18 11:38:19 +00:00
--level=[LEVEL,...]
The access level that will bind to the given group. The input must be
the full identifier for the access level, such as
accessPolicies/123/accessLevels/abc.
2022-03-01 04:29:52 +00:00
OPTIONAL FLAGS
--organization=ORGANIZATION
2022-10-18 11:38:19 +00:00
Parent organization for this binding.
2022-03-01 04:29:52 +00:00
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.
2022-10-18 11:38:19 +00:00
API REFERENCE
This command uses the accesscontextmanager/v1 API. The full documentation
for this API can be found at:
https://cloud.google.com/access-context-manager/docs/reference/rest/
2022-03-01 04:29:52 +00:00
NOTES
This variant is also available:
$ gcloud alpha access-context-manager cloud-bindings create