Add example of attribute mapping repos
This commit is contained in:
parent
03500c2f23
commit
bbbd1424f7
@ -193,6 +193,13 @@ the [gcloud][gcloud] command-line tool.
|
|||||||
to further restrict the authentication using `--attribute-condition`
|
to further restrict the authentication using `--attribute-condition`
|
||||||
flags.
|
flags.
|
||||||
|
|
||||||
|
For example, you can map the attribute repository values (which can be
|
||||||
|
used later to restrict the authentication to specific repositories):
|
||||||
|
|
||||||
|
```sh
|
||||||
|
--attribute-mapping="google.subject=assertion.sub,attribute.repository=assertion.repository"
|
||||||
|
```
|
||||||
|
|
||||||
1. Get the full ID for the Workload Identity Provider:
|
1. Get the full ID for the Workload Identity Provider:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
Loading…
Reference in New Issue
Block a user