Expand description
Registry authentication support.
Structsยง
- An authorization error from accessing a registry.
[registries.NAME]
tables.- The
[registry]
table, which more keys than the[registries.NAME]
tables.
Enumsยง
Staticsยง
- BUILT_
IN_ ๐PROVIDERS List of credential providers built-in to Cargo. Keep in sync with thematch
incredential_action
.
Functionsยง
- Returns the token to use for the given registry. If a
login_url
is provided and a token is not available, the login_url will be included in the returned error. - auth_
token_ ๐optional Returns the token to use for the given registry. - Store a token in the cache for future calls.
- credential_
action ๐ - credential_
provider ๐Get the list of credential providers for a registry source. - Log in to the given registry.
- Log out from the given registry.
- Get the credential configuration for a
SourceId
. - Use the
[credential-alias]
table to see if the provider name has been aliased.