Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Custom auth backend name

Gazi Dizdaroğlu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 8, 2023

Hello,

 

Is it possible to give a custom auth name instead of "jwt" on the pipe? 

https://bitbucket.org/atlassian/vault-secrets/src/master/

2 answers

1 accepted

1 vote
Answer accepted
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 20, 2023

Hi @Gazi Dizdaroğlu . New pipe version released with feature you requested:

oidc: true
script:
  - pipe: atlassian/vault-secrets:0.5.0
    variables:
      VAULT_ADDRESS: "<your vault address>"
      VAULT_OIDC_ROLE: "<your created role name with attached policies in vault>"
      VAULT_AUTH_PATH: "my-custom-jwt-path"
      SECRET_PATH: "secret/foo"

Regards, Igor

Gazi Dizdaroğlu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 20, 2023

Thank you so much <3 

Like Igor Stoyanov likes this
0 votes
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 10, 2023

Hi @Gazi Dizdaroğlu . Please, provide more details to your question.

`vault auth enable jwt` is not a custom name, it is how you enable jwt.

I can not find any other occurences.

Also this example does not use jwt at all:
script:
  - pipe: atlassian/vault-secrets:0.3.0
    variables:
      VAULT_ADDRESS: "<your vault address>"
      VAULT_NAMESPACE: "<your vault namespace>"
      VAULT_TOKEN: "<your vault token>"
      SECRET_PATH: "secret/foo"

Regards, Igor

Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 11, 2023

Okay, now i understood what your want according to:

plugin method is mounted at the /auth/jwt path in Vault. Since it is possible to enable auth methods at any location, please update your API calls accordingly.

Currently, pipe does not support different path, but i will add this as a feature request, and notify you when this feature will become available.

Regards, Igor

 

Like Gazi Dizdaroğlu likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events