Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update central token related content #8827

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -68,6 +68,10 @@ You can publish a Ballerina archive to the <a href="https://central.ballerina.io

3. Download and place the `Settings.toml` file in your home repository (`<USER_HOME>/.ballerina/`). If you already have a `Settings.toml` file configured in your home repository, follow the other option and copy the access token into the `Settings.toml`.
Thevakumar-Luheerathan marked this conversation as resolved.
Show resolved Hide resolved

Note : These generated tokens are valid only for an year from the generation. Upon the expiration of
Thevakumar-Luheerathan marked this conversation as resolved.
Show resolved Hide resolved
the token, a new token should be generated and `Settings.toml` should be updated with it. Otherwise, you
may get any error related to unauthorised access.
Thevakumar-Luheerathan marked this conversation as resolved.
Show resolved Hide resolved

### Configure proxy settings (optional)

If you are connected to the internet via an HTTP proxy, you need to configure it in the `Settings.toml` file to carry out the Ballerina Central related operations such as publishing a package, pulling a package or resolving packages. Add the following section to `Settings.toml`.
Thevakumar-Luheerathan marked this conversation as resolved.
Show resolved Hide resolved
Expand Down