Skip to content

Update azure credentials to be more flexible#787

Merged
motus merged 5 commits into
microsoft:mainfrom
eujing:auth-service-update
Jul 19, 2024
Merged

Update azure credentials to be more flexible#787
motus merged 5 commits into
microsoft:mainfrom
eujing:auth-service-update

Conversation

@eujing

@eujing eujing commented Jul 10, 2024

Copy link
Copy Markdown
Contributor

These changes are mainly to add flexibility to the auth service in supporting azure authenticating via:

  • A personal identity via az CLI for the local dev environment. This will still run into expiring issues, but is probably fine for local dev.
  • A personal or managed identity in an azure hosted environment. The flexibility to use the managed identity allows us to avoid the expiring issue without needing a separate SP, key-vault and cert setup, aligning with new security recommendations.

@eujing eujing requested a review from a team as a code owner July 10, 2024 19:22

@motus motus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense! Let's merge it in

Comment thread mlos_bench/mlos_bench/services/remote/azure/azure_auth.py
@motus motus enabled auto-merge (squash) July 15, 2024 18:56
@motus motus disabled auto-merge July 19, 2024 22:51
@motus motus merged commit b889225 into microsoft:main Jul 19, 2024
bpkroth pushed a commit to bpkroth/MLOS that referenced this pull request Jul 22, 2024
These changes are mainly to add flexibility to the auth service in
supporting azure authenticating via:

- A personal identity via az CLI for the local dev environment. This
will still run into expiring issues, but is probably fine for local dev.
- A personal or managed identity in an azure hosted environment. The
flexibility to use the managed identity allows us to avoid the expiring
issue without needing a separate SP, key-vault and cert setup, aligning
with new security recommendations.

---------

Co-authored-by: Eu Jing Chua <eujingchua@microsoft.com>
Co-authored-by: Sergiy Matusevych <sergiym@microsoft.com>
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

Successfully merging this pull request may close these issues.

4 participants