Documentation Index
Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Blink Runner supports authentication to HashiCorp Vault using the AppRole authentication method. AppRole enables Blink Runner to securely access secrets without requiring static root or administrative tokens. With AppRole authentication, Blink Runner authenticates to Vault using two credentials:- role_id – Identifies the AppRole
- secret_id – Authenticates Blink Runner as that AppRole
Required Vault AppRole Configuration
To enable Blink Runner authentication through AppRole, configure the following:Enable AppRole Authentication
If AppRole is not already enabled, enable it in Vault:By default, Vault creates the AppRole authentication method at:The corresponding AppRole mount path is:Custom AppRole Mount PathAppRole may also be mounted at a custom path.Example:This creates the authentication endpoint at:The AppRole mount path becomes:
The AppRole mount path controls only where authentication occurs. It does not determine where secrets are stored.
Create a Vault Policy
Blink Runner requires a Vault policy that grants access to the secret paths it will use.For example, if Blink Runner needs access under:and the secrets engine uses KV v2, the policy must allow access to both:Write the policy to Vault:unless explicitly intended.
datapathsmetadatapaths
Policy Recommendations
For production environments, Blink recommends applying least-privilege access.Grant access only to the secret paths required by Blink Runner and avoid overly broad permissions such as:Create the AppRole
Create a dedicated AppRole for Blink Runner and attach the policy.Default AppRole mount:Custom AppRole Mount PathIf AppRole is mounted at a custom path, replace
auth/approle with the custom mount path.Example:Retrieve the Role ID
Retrieve the AppRole Custom mount:The
role_id:Default mount:role_id identifies the AppRole used by Blink Runner.Generate a Secret ID
Generate a Custom mount:
secret_id for the AppRole.Default mount: Treat the
secret_id as a sensitive credential and store it securely. Validate AppRole Authentication
Validate the AppRole configuration by performing a login.Default mount:Custom mount:A successful response returns a Vault client token.
Validate Secret Access
After authentication succeeds, verify that the returned token can access the expected secret paths.Example using KV v2:If these operations fail with:the AppRole policy does not provide sufficient access to the configured secret path.
Navigate to Blink
To complete the integration, provide the following Vault details to Blink:
- Vault address
- AppRole mount path
role_idsecret_id- Secrets engine and secret path used by Blink Runner
Vault Authentication vs Secret Storage
AppRole authentication and secret storage are separate Vault components. Authentication occurs under:Operational Considerations
During startup, Blink Runner validates:- Vault connectivity
- Authentication success
- Token validity
Recommended Production Practices
Blink recommends the following operational practices:- Use a dedicated AppRole for Blink Runner
- Apply least-privilege access policies
- Rotate
secret_idvalues regularly - Use short token TTLs where possible
- Avoid root or administrative tokens
- Store
role_idandsecret_idsecurely