Third Party Authorities

Learn how to connect to third party authorities.

OnlyNv allows you to connect to third party authorities, as long as they implement the OnlyNv API. This allows you to choose your own source of truth for your environment variables.

Initialising with a Third Party

nv init allows you to pass a third-party authority URL. This will redirect you to the third party authority's init page, where you can create a new project.

$   nv init my-authority.dev
    Initialising Project...
 
    Press ENTER to open in browser:
    https://my-authority.dev/init/M6ibGtlyhy7JzP96YUef_

Manually Linking to a Third Party

To set your project to point to a third party authority, you need to modify your .lnvrc to point to the new authority.

.lnvrc
    authority: '@onlynv/platform'
    authority: 'https://my-authority.dev'

You may need to init a new project on the third party authority before re-linking. All tools which recognise the .lnvrc file will now point to the new authority.

On this page