-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: knqyf263 <[email protected]> Co-authored-by: DmitriyLewen <[email protected]>
- Loading branch information
1 parent
1f2e91b
commit 27117f8
Showing
23 changed files
with
512 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
## trivy auth | ||
|
||
Authentication | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for auth | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--cache-dir string cache directory (default "/path/to/cache") | ||
-c, --config string config path (default "trivy.yaml") | ||
-d, --debug debug mode | ||
--generate-default-config write the default config to trivy-default.yaml | ||
--insecure allow insecure server connections | ||
-q, --quiet suppress progress bar and log output | ||
--timeout duration timeout (default 5m0s) | ||
-v, --version show version | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [trivy](trivy.md) - Unified security scanner | ||
* [trivy auth login](trivy_auth_login.md) - Log in to a registry | ||
* [trivy auth logout](trivy_auth_logout.md) - Log out of a registry | ||
|
41 changes: 41 additions & 0 deletions
41
docs/docs/references/configuration/cli/trivy_auth_login.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
## trivy auth login | ||
|
||
Log in to a registry | ||
|
||
``` | ||
trivy auth login SERVER [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
# Log in to reg.example.com | ||
cat ~/my_password.txt | trivy auth login --username foo --password-stdin reg.example.com | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for login | ||
--password strings password. Comma-separated passwords allowed. TRIVY_PASSWORD should be used for security reasons. | ||
--password-stdin password from stdin. Comma-separated passwords are not supported. | ||
--username strings username. Comma-separated usernames allowed. | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--cache-dir string cache directory (default "/path/to/cache") | ||
-c, --config string config path (default "trivy.yaml") | ||
-d, --debug debug mode | ||
--generate-default-config write the default config to trivy-default.yaml | ||
--insecure allow insecure server connections | ||
-q, --quiet suppress progress bar and log output | ||
--timeout duration timeout (default 5m0s) | ||
-v, --version show version | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [trivy auth](trivy_auth.md) - Authentication | ||
|
38 changes: 38 additions & 0 deletions
38
docs/docs/references/configuration/cli/trivy_auth_logout.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
## trivy auth logout | ||
|
||
Log out of a registry | ||
|
||
``` | ||
trivy auth logout SERVER [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
# Log out of reg.example.com | ||
trivy auth logout reg.example.com | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for logout | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--cache-dir string cache directory (default "/path/to/cache") | ||
-c, --config string config path (default "trivy.yaml") | ||
-d, --debug debug mode | ||
--generate-default-config write the default config to trivy-default.yaml | ||
--insecure allow insecure server connections | ||
-q, --quiet suppress progress bar and log output | ||
--timeout duration timeout (default 5m0s) | ||
-v, --version show version | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [trivy auth](trivy_auth.md) - Authentication | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.