Skip to content

Vault token should not require 'root' or 'sudo' privileges #134

@far-blue

Description

@far-blue

I'm investigating the new integration options for fabio with cert stores, esp. vault (btw. great work, really looking forward to using it!) and I'm struggling with Vault Tokens.

I've created an orphan token with a limited policy but when I try to use it with Fabio I'm getting the following:

2016/07/26 12:35:57 [FATAL] vault: client: Error making API request.

URL: POST http://vault-server:8200/v1/auth/token/create
Code: 400. Errors:

  • root or sudo privileges required to create orphan token

This would suggest Fabio needs a token with a root policy. I'm not sure I'm happy about having a token with root-level access floating about my config files and live environments.

Is there a reason fabio needs a root token? Am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions