hashicorp / hashicorp/vault-plugin-auth-jwt

Add ability to map static values to metadata fields

Open
#344 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
107
Forks
73
Avg merge
13h 49m
Merged PRs (30d)
7

Description

This proposed `static_mapping` would behave similarly to the `claim_mapping` field on the backend role, but rather than mapping a claim from the JWT to a metadata field the user would be able to specify what value they want mapped to the metadata field.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the backend role's existing claim_mapping handling and trace how mapped values reach user metadata. Define the intended static_mapping configuration and constant-value behavior, then verify the resulting metadata and relevant authentication tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
authentication
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.