...
1## crane auth get
2
3Implements a credential helper
4
5```
6crane auth get [REGISTRY_ADDR] [flags]
7```
8
9### Examples
10
11```
12 # Read configured credentials for reg.example.com
13 $ echo "reg.example.com" | crane auth get
14 {"username":"AzureDiamond","password":"hunter2"}
15 # or
16 $ crane auth get reg.example.com
17 {"username":"AzureDiamond","password":"hunter2"}
18```
19
20### Options
21
22```
23 -h, --help help for get
24```
25
26### Options inherited from parent commands
27
28```
29 --allow-nondistributable-artifacts Allow pushing non-distributable (foreign) layers
30 --insecure Allow image references to be fetched without TLS
31 --platform platform Specifies the platform in the form os/arch[/variant][:osversion] (e.g. linux/amd64). (default all)
32 -v, --verbose Enable debug logs
33```
34
35### SEE ALSO
36
37* [crane auth](crane_auth.md) - Log in or access credentials
38
View as plain text