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

.Net: Switch from API keys to Azure Credentials when accessing Azure Cognitive Services #8512

Merged
merged 13 commits into from
Sep 10, 2024

Commits on Sep 4, 2024

  1. .Net: Switch from API keys to DefaultAzureCredential (#8506)

    ### Motivation and Context
    
    Switch to using DefaultAzureCredential and get all tests passing locally
    
    See: #6966 
    
    ### Description
    
    <!-- Describe your changes, the overall approach, the underlying design.
    These notes will help understanding how your code works. Thanks! -->
    
    ### Contribution Checklist
    
    <!-- Before submitting this PR, please make sure: -->
    
    - [ ] The code builds clean without any errors or warnings
    - [ ] The PR follows the [SK Contribution
    Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
    and the [pre-submission formatting
    script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
    raises no violations
    - [ ] All unit tests pass, and I have added new tests where possible
    - [ ] I didn't break anyone 😄
    markwallace-microsoft committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    2f46058 View commit details
    Browse the repository at this point in the history
  2. Add Azure Login action (#8511)

    ### Motivation and Context
    
    Adding a step to perform an Azure Login, this will be used by the
    integration tests to access Azure Cognitive Services
    
    ### Description
    
    <!-- Describe your changes, the overall approach, the underlying design.
    These notes will help understanding how your code works. Thanks! -->
    
    ### Contribution Checklist
    
    <!-- Before submitting this PR, please make sure: -->
    
    - [ ] The code builds clean without any errors or warnings
    - [ ] The PR follows the [SK Contribution
    Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
    and the [pre-submission formatting
    script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
    raises no violations
    - [ ] All unit tests pass, and I have added new tests where possible
    - [ ] I didn't break anyone 😄
    markwallace-microsoft committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    ec9458e View commit details
    Browse the repository at this point in the history
  3. Give write permissions to id-token in the workflow (#8521)

    ### Motivation and Context
    
    Give write permissions to id-token in the workflow
    
    ### Description
    
    <!-- Describe your changes, the overall approach, the underlying design.
    These notes will help understanding how your code works. Thanks! -->
    
    ### Contribution Checklist
    
    <!-- Before submitting this PR, please make sure: -->
    
    - [ ] The code builds clean without any errors or warnings
    - [ ] The PR follows the [SK Contribution
    Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
    and the [pre-submission formatting
    script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
    raises no violations
    - [ ] All unit tests pass, and I have added new tests where possible
    - [ ] I didn't break anyone 😄
    markwallace-microsoft committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    6906662 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    948c648 View commit details
    Browse the repository at this point in the history
  5. .Net: Update MixedAgentTests to use a token credential (#8523)

    ### Motivation and Context
    
    Update MixedAgentTests to use a token credential
    
    ### Description
    
    <!-- Describe your changes, the overall approach, the underlying design.
    These notes will help understanding how your code works. Thanks! -->
    
    ### Contribution Checklist
    
    <!-- Before submitting this PR, please make sure: -->
    
    - [ ] The code builds clean without any errors or warnings
    - [ ] The PR follows the [SK Contribution
    Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
    and the [pre-submission formatting
    script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
    raises no violations
    - [ ] All unit tests pass, and I have added new tests where possible
    - [ ] I didn't break anyone 😄
    markwallace-microsoft committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    1e1056c View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. .Net: Switch to using AzureCliCredential (#8532)

    ### Motivation and Context
    
    `DefaultAzureCredential` attempts multiple strategies but we can start
    by just relying on Azure Cli login.
    
    ### Description
    
    <!-- Describe your changes, the overall approach, the underlying design.
    These notes will help understanding how your code works. Thanks! -->
    
    ### Contribution Checklist
    
    <!-- Before submitting this PR, please make sure: -->
    
    - [ ] The code builds clean without any errors or warnings
    - [ ] The PR follows the [SK Contribution
    Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
    and the [pre-submission formatting
    script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
    raises no violations
    - [ ] All unit tests pass, and I have added new tests where possible
    - [ ] I didn't break anyone 😄
    markwallace-microsoft committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    3f60a38 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. Configuration menu
    Copy the full SHA
    f6ed06d View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. Configuration menu
    Copy the full SHA
    11835ce View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0c4370b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d1d9c0f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    732dab3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    50138cf View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2d11e22 View commit details
    Browse the repository at this point in the history