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

Login via Federated Credentials for Managed Identities #1568

Open
thriqon opened this issue May 21, 2024 · 1 comment
Open

Login via Federated Credentials for Managed Identities #1568

thriqon opened this issue May 21, 2024 · 1 comment
Labels
enhancement New feature or request medium_priority Medium priority work in In trying to solve, or in working with contributors

Comments

@thriqon
Copy link

thriqon commented May 21, 2024

SUMMARY

It should be possible to authenticate with Azure using federated credentials with managed identities (s. https://azure.github.io/azure-workload-identity/docs/topics/federated-identity-credential.html )

This allows using Azure without transporting secret credentials.

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

azure_rm_common

ADDITIONAL INFORMATION

If a federated credential mapping is present, the following ansible-playbook code should work:

# All UUIDs below are random.

- name: Get facts for current logged in user
  azure.azcollection.azure_rm_account_info:
    tenant: a26a3086-a0e6-46f7-9d05-45e1dafc392d
    subscription_id: c0a3630c-f7a9-4c16-911e-d4161768c68c
    client_id: 1a99877a-99dd-46fc-821f-293f9ae171ec
@Fred-sun
Copy link
Collaborator

@thriqon Thank you for submitting the question, we will investigate and resolve it!

@Fred-sun Fred-sun added enhancement New feature or request medium_priority Medium priority work in In trying to solve, or in working with contributors labels May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request medium_priority Medium priority work in In trying to solve, or in working with contributors
Projects
None yet
Development

No branches or pull requests

2 participants