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

Add option to authenticate using TransIP key-pair #14

Closed
roaldnefs opened this issue Jan 2, 2021 · 0 comments
Closed

Add option to authenticate using TransIP key-pair #14

roaldnefs opened this issue Jan 2, 2021 · 0 comments

Comments

@roaldnefs
Copy link
Owner

Is your feature request related to a problem? Please describe.
Currently authentication is implemented by allowing an access token to be used when initialising a new transip.TransIP client. As the access tokens have a limited validity, the user will have to create a new access token at least every month (the maximum expiration time).

Describe the solution you'd like
The TransIP API also allows the creation of an access token by using a private key. By allowing the user to specify either an access token or private key when initialising a new transip.TransIP client, the client could dynamically generate a new access token when a private key is used.

Additional context
Official API documentation about authentication: https://api.transip.nl/rest/docs.html#header-authentication.

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

No branches or pull requests

1 participant