Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with connection #30

Open
luisxkimo opened this issue Apr 27, 2020 · 2 comments
Open

Problems with connection #30

luisxkimo opened this issue Apr 27, 2020 · 2 comments

Comments

@luisxkimo
Copy link

Hi,

I have lot of problems to connect with the plugin to my Vault instance. I get different errors when I tried some approach with the parameters.

1. With approle in the role path

image


2. With the path role that I used to read from cli

image

I used this role Id and secret Id in a http post request and it works:

POST: https://vaultinstance.com/v1/auth/approle/login

{
	"role_id":"{{TEMP_ROLE_ID}}",
	"secret_id": "{{TEMP_SECRET}}"
}

RESPONSE

{
    "request_id": "",
    "lease_id": "",
    "renewable": false,
    "lease_duration": 0,
    "data": null,
    "wrap_info": {
        "token": "SSS",
        "accessor": "DDDD",
        "ttl": 120,
        "creation_time": "2020-04-27T16:06:48.271773469Z",
        "creation_path": "auth/approle/login",
        "wrapped_accessor": "VVV"
    },
    "warnings": null,
    "auth": null
}

TC Version: 2019.2.3 (build 72031)
Plugin version: 0.1.92 (got from TC compilation)

@VladRassokhin
Copy link
Contributor

VladRassokhin commented May 18, 2020

Proper value for AppRole auth endpoint path would be role in your case

@luisxkimo
Copy link
Author

Hi @VladRassokhin ,

We've tried with some options:

approle
approle/
/approle
auth/approle
auth/approle/
/auth/approle/
/auth/approle
auth/approle/login

And every time we get the same error: missing client token

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants