sonic-net / sonic-mgmt

Configuration management examples for SONiC
Other
173 stars 689 forks source link

[CI] Update elastictest template and test_plan.py not to use CLIENT secret #13573

Open lerry-lee opened 4 days ago

lerry-lee commented 4 days ago

Description of PR

Update elastictest template and test_plan.py not to use CLIENT secret

This is part of the security wave 1 effort for eliminating CLIENT secrets. The test_plan.py script has been improved to get ACCESS_TOKEN from environment variable.

Signed-off-by: Chun'ang Li chunangli@microsoft.com

Type of change

Back port request

Approach

What is the motivation for this PR?

How did you do it?

How did you verify/test it?

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

wangxin commented 1 day ago

There is already a fix for the issue: https://github.com/sonic-net/sonic-mgmt/pull/13440