Skip to content

Vault Dev Mode Initialization Error #5453

@sehyun-wincl

Description

@sehyun-wincl

Problem description

It generate error when run the standard Guardian in demo mode using docker-compose up -d --build --pull always

Error message:
Error initializing Dev mode: failed to create root token with ID "Q5D>3nu+Z#TbN.@9PWHSyL": 1 error occurred:
* invalid request

Step to reproduce

Steps to reproduce the behavior:

  1. Clone guardian repo
  2. Environment file configuration
  3. Run demo mode: docker-compose up -d --build --pull always
  4. See error

Expected behavior

Running the vault without issue.
It looks like VAULT_DEV_ROOT_TOKEN_ID in docker-compose.yml file contains unsupported special characters (>, +, #, ., @) that violate Vault's token format validation rules. Changing VAULT_DEV_ROOT_TOKEN_ID to 1234, like in the other yml files, allows it to run properly.

Screenshots

Image Image

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions