Description #
The none
credential is a credential type that is used implicitly when no
other credential type is provided. It can also be specifically defined using an empty json object: {}
.
Configuration #
{
"credentials": [
{
"name": "myNoneCred"
}
],
"remotes": [
{
// will use the none credential implicitly
"name": "remote-without-credentials",
// ...
// "credentials" is not defined
},
{
// will resolve as the none credential
"name": "remote-with-inline-none-credentials",
// ...
"credentials": {}
},
{
// will resolve as the global myNoneCred credential
"name": "remote-with-global-none-credentials",
// ...
"credentials": "myNoneCred"
}
]
}
Available configuration options #
name #
- required (when defined globally)
The name of the credential. This has to be a valid identifier.