Skip to content

Commit

Permalink
Suppress fake secret in unit test. (#4850)
Browse files Browse the repository at this point in the history
Co-authored-by: Tracy Boehrer <[email protected]>
  • Loading branch information
tracyboehrer and Tracy Boehrer authored Jan 24, 2025
1 parent 29ae34b commit 4a9c741
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const { EmulatorValidation, AuthenticationConstants } = require('../..');
const { strictEqual } = require('assert');

function generateMockBearerToken(issuer) {
// [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="This is a fake secret.")]
const secretKey = 'ThisIsASuperMockSecretKey123456789';
const tenantId = uuidv4();
const completeIssuer = issuer ? issuer.replace('{0}', tenantId) : null;
Expand Down

0 comments on commit 4a9c741

Please sign in to comment.