To work with Deckhouse Stronghold, get the access parameters from the administrator. Log in from the command line with the Deckhouse CLI d8 utility or through the web interface if it is available in the installation.
Access parameters:
- Stronghold server address
- Authentication method and path
- Web interface address, if you log in through a browser
- Additional connection parameters, if they are required in your installation
Log in via the CLI
To configure access to your project from the command line, follow these steps.
Install the Deckhouse CLI
d8utility.Set the Stronghold server address in an environment variable:
export STRONGHOLD_ADDR=https://stronghold.domain.myReplace
https://stronghold.domain.mywith the address you received from the administrator.Log in through OIDC. To do this, authenticate to Stronghold using the following command:
d8 stronghold login -path=oidc_deckhouse -method=oidc -no-printThis example uses OIDC authentication with the
oidcmethod and theoidc_deckhousepath. If your installation uses different parameters, specify the values provided by the administrator.After you run the command, the Deckhouse CLI tool will open a browser to complete login through the configured OIDC provider. If the browser does not open automatically, copy the URL from the command output and open it manually.
Verify access using the following command:
d8 stronghold status
To work with Deckhouse Stronghold, use commands in the following format:
d8 stronghold <command>Log in through the web interface
If the Stronghold web interface is available in your installation, log in through a browser:
- Open the Stronghold web interface address provided by the administrator.
- Select a login method, for example, OIDC.
- If required, specify the role name or any other parameters provided by the administrator.
- Authenticate.
After a successful login, Stronghold opens the user interface with the corresponding access permissions.
After logging in, it’s recommended that you create a test secret. The required steps are described in “Creating a test secret”.