sklp registry
sklp registryDescription
Registry credentials live in $XDG_CONFIG_HOME/sklp/registries.yaml (0600). They are the only source a push reads — sklp does not consult ~/.docker/config.json.
Subcommands
Technical details
Technical details
Raw command JSON
{
"path": [
"sklp",
"registry"
],
"slug": "registry",
"name": "registry",
"short": "Manage container registry credentials: login | ls | logout",
"long": "Registry credentials live in $XDG_CONFIG_HOME/sklp/registries.yaml (0600).\nThey are the only source a push reads — sklp does not consult ~/.docker/config.json.",
"synopsis": "sklp registry",
"subcommands": [
{
"path": [
"sklp",
"registry",
"login"
],
"slug": "registry-login",
"name": "login",
"short": "Save a registry credential (host from --provider or the positional)",
"synopsis": "sklp registry login [flags] [host]",
"flags": [
{
"name": "provider",
"aliases": [
"p"
],
"usage": "pre-fill host and username: docker-hub | github | scaleway",
"type": "string"
},
{
"name": "username",
"aliases": [
"u"
],
"usage": "registry username",
"type": "string"
},
{
"name": "password-stdin",
"usage": "read the password from stdin instead of prompting",
"type": "bool"
},
{
"name": "credential-command",
"usage": "store a lookup command whose stdout is the password, instead of the password itself",
"type": "string"
}
],
"positionals": [
{
"name": "host",
"required": false
}
]
},
{
"path": [
"sklp",
"registry",
"logout"
],
"slug": "registry-logout",
"name": "logout",
"short": "Remove a registry credential",
"synopsis": "sklp registry logout <host>",
"positionals": [
{
"name": "host",
"required": true
}
]
},
{
"path": [
"sklp",
"registry",
"ls"
],
"slug": "registry-ls",
"name": "ls",
"short": "List configured registries (never prints a secret)",
"synopsis": "sklp registry ls"
}
]
}