Skip to content

Commit

Permalink
Merge pull request #8297 from harness/PL-56727
Browse files Browse the repository at this point in the history
[PL-56727]: approle custom path documentation
  • Loading branch information
pratmit authored Oct 16, 2024
2 parents fedaecd + 99eda00 commit 609b22b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,20 @@ path "auth/token/renew-self"
}
```

#### Custom Authentication Path for AppRole Login

:::note
This feature is supported on delegate version `837xx` and above and is available behind the Feature Flag `PL_APPROLE_CUSTOM_PATH`. Contact [Harness Support](mailto:support@harness.io) to enable the feature.
:::

The `appRoleLogin` method now supports a custom authentication path, utilizing it if provided, or defaulting to the standard `approle` endpoint if not specified.

![](./static/add-a-hashi-corp-vault-secrets-manager-68.png)

For example, the custom AppRole path can be set as `<customPath>`, providing greater flexibility in configuring the authentication mechanism. This feature is particularly useful in scenarios where the default authentication path requires customization.

Ensure that the custom AppRole path you configure exists in your HashiCorp Vault. This step is necessary for the authentication to succeed using the custom path.

### Option: Vault Agent

To authenticate with Vault Agent, make sure you have configured it on the required environment, with entries for **method** and **sinks**. For more information, see [Vault Agent](https://www.vaultproject.io/docs/agent).
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 609b22b

Please sign in to comment.