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

Allow authentication with OAuth 2 Access Token #231

Open
jduepmeier opened this issue Oct 23, 2024 · 2 comments
Open

Allow authentication with OAuth 2 Access Token #231

jduepmeier opened this issue Oct 23, 2024 · 2 comments
Labels
enhancement New feature or request Jira Has an Internal Jira Story

Comments

@jduepmeier
Copy link

Summary

The rest api for ontap now supports OAuth 2 authentification for the REST api.
Add a parameter to provide an access token for authentication.

See https://docs.netapp.com/us-en/ontap/authentication/overview-oauth2.html for additional informations.

Or https://docs.netapp.com/us-en/ontap/authentication/oauth2-rest-api.html#step-1-acquire-an-access-token with a curl example.

This should be supported in all modules that use the rest api.

Component Name

modules.*

Additional Information

- name: create or modify s3 user
  na_ontap_s3_users:
    state: present
    name: carchi8py
    vserver: ansibleSVM
    comment: not enabled
    hostname: "{{ netapp_hostname }}"
   # use token instead of username/password
    token: "{{ netapp_token }}"
    https: true
    validate_certs: false
    use_rest: always
@carchi8py carchi8py added enhancement New feature or request Jira Has an Internal Jira Story labels Oct 23, 2024
@carchi8py
Copy link
Contributor

We have an internal story for this DEVOPS-7045, I don't have an ETA on when this will be complete.

@Mohammad-Atif-Khan
Copy link

This is a very important feature for use in Enterprise environments, where the accounts need to be managed centrally, require audit and revocation on demand.

Can this be prioritized?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Jira Has an Internal Jira Story
Projects
None yet
Development

No branches or pull requests

3 participants