Skip to content
Registry StackDocsDevelopment (unreleased)

schedulingctl connection add command reference

View as Markdown

Save one product-scoped remote connection.

This page is generated from the public Clap command tree for Registry Stack source version 0.45.0 and catalog SHA-256 18546dbdf436972522108829ab0f8c804142a7474cfe3841e0b8ff10e061c842. Hidden implementation commands are omitted.

schedulingctl connection add [OPTIONS] <NAME>
ConditionRequirement
--token-endpoint <TOKEN_ENDPOINT> is present--private-key-jwt is required.
--client-id <CLIENT_ID> is present--private-key-jwt is required.
--private-key-file <PRIVATE_KEY_FILE> is present--private-key-jwt is required.
--scope <SCOPE> is present--private-key-jwt is required.
--resource <RESOURCE> is present--private-key-jwt is required.
--assertion-audience <ASSERTION_AUDIENCE> is present--private-key-jwt is required.
Command invocation--anonymous and --private-key-jwt cannot be used together.
Command invocation--anonymous and --token-env <TOKEN_ENV> cannot be used together.
Command invocation--anonymous and --token-file <TOKEN_FILE> cannot be used together.
Command invocation--private-key-jwt and --token-env <TOKEN_ENV> cannot be used together.
Command invocation--private-key-jwt and --token-file <TOKEN_FILE> cannot be used together.
Command invocation--token-env <TOKEN_ENV> and --token-file <TOKEN_FILE> cannot be used together.
ArgumentAlways requiredDefaultValuesEnvironmentDescription
<NAME>Yesn/an/an/aLocal connection name used by --connection and project selections
OptionAlways requiredRepeatableDefaultValuesEnvironmentDescription
--url <URL>NoNon/an/an/aAPI service base URL. Prompted when omitted in an interactive terminal
--ca-file <CA_FILE>NoNon/an/an/aPEM certificate authority bundle for a private-institution endpoint
--access-profile <ACCESS_PROFILE>NoNon/an/an/aCasework only: stable caller access profile applied to its profile headers
--anonymousNoNon/an/an/aSave a connection that sends no Authorization header
--token-file <TOKEN_FILE>NoNon/an/an/aFile holding a bearer token. The configuration stores only a secret reference
--token-env <TOKEN_ENV>NoNon/an/an/aEnvironment variable holding a bearer token. The configuration stores only a secret reference
--private-key-jwtNoNon/an/an/aAcquire renewable bearer tokens with OAuth private_key_jwt
--token-endpoint <TOKEN_ENDPOINT>NoNon/an/an/aOAuth token endpoint used for private_key_jwt authentication
--client-id <CLIENT_ID>NoNon/an/an/aOAuth client identifier registered at the token endpoint
--private-key-file <PRIVATE_KEY_FILE>NoNon/an/an/aOwner-only file containing the private client JWK
--scope <SCOPE>NoYesn/an/an/aOAuth scope to request; repeat the option for multiple scopes
--resource <RESOURCE>NoNon/an/an/aOptional RFC 8707 resource indicator for the requested token
--assertion-audience <ASSERTION_AUDIENCE>NoNon/an/an/aOptional assertion audience; defaults to the token endpoint
--format <FORMAT>NoNohumanhuman, jsonn/aEmit the selected command’s report in this format
-h, --helpNoNon/an/an/aPrint help

After changing a public command, argument, option, default, environment binding, or help description, run cargo run --locked -p registry-cli-docs -- --write, commit crates/registry-cli-docs/catalog.json, then run npm run generate from docs/site.