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

Use AzCLI instead of client secret creds #2906

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

wonwuakpa-msft
Copy link
Collaborator

@wonwuakpa-msft wonwuakpa-msft commented Jan 6, 2025

Description

  • Changes:

    • Removed the requirement for the client secret env variable NEW_E2E_STATIC_CLIENT_SECRET.
    • Replaced usages to have AzCLI instead.
  • Feature / Bug Fix: (Brief description of the feature or issue being addressed)

    • Migrated from using client secret credentials to AzCLI for static storage account tests in the e2e framework.
  • Related Links:

Type of Change

  • Bug fix
  • New feature
  • Documentation update required
  • Code quality improvement
  • Other (describe):

How Has This Been Tested?

Thank you for your contribution to AzCopy!

e2etest/newe2e_config.go Outdated Show resolved Hide resolved
e2etest/newe2e_config.go Outdated Show resolved Hide resolved
Copy link
Member

@adreed-msft adreed-msft left a comment

Choose a reason for hiding this comment

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

Nitpicks/suggestions, nothing ship-sinking. Looks good!

@@ -50,10 +50,8 @@ type NewE2EConfig struct {
} `env:",required"`

StaticStgAcctInfo struct {
StaticOAuth struct {
Copy link
Member

Choose a reason for hiding this comment

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

nit: this could be done as an either/or setup

weigh this with a grain of salt, most of the team will probably do inherited auth

Copy link
Member

Choose a reason for hiding this comment

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

on a similar note, could it be set up to allow AzCLI or AzPwsh inheritance? Some people on the team use one or the other, not usually both

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.

3 participants