1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.nl/common/crane-auth.md

29 lines
794 B
Markdown
Raw Normal View History

2024-10-26 12:07:57 +02:00
# crane auth
> Log in of verkrijg inloggegevens.
> Meer informatie: <https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane_auth.md>.
- Voer het `crane auth` subcommando uit:
`crane auth {{subcommand}}`
- Implementeer credential helper:
`crane auth get {{registry_adres}} {{[-h|--help]}}`
2024-10-26 12:07:57 +02:00
- Log in bij een registry:
`crane auth login {{registry_adres}} {{[-h|--help]}} {{[-p|--password]}} {{wachtwoord}} {{-password-stdin}} {{[-u|--username]}} {{gebruikersnaam}}`
2024-10-26 12:07:57 +02:00
- Log uit bij een registry:
`crane auth logout {{registry_adres}} {{[-h|--help]}}`
2024-10-26 12:07:57 +02:00
- Verkrijg een token voor een remote repository:
`crane auth token {{registry_adres}} {{[-H|--header]}} {{[-h|--help]}} {{[-m|--mount]}} {{scope1 scope2 ...}} --push`
2024-10-26 12:07:57 +02:00
- Toon de help:
2024-10-26 12:07:57 +02:00
`crane auth {{[-h|--help]}}`