...

Source file src/edge-infra.dev/test/f2/x/bslauth/doc.go

Documentation: edge-infra.dev/test/f2/x/bslauth

     1  // Package bslauth implements an f2 extension for working with BSL credentials
     2  //
     3  // # Usage
     4  //
     5  // BSL test user credentials for each environment (dev1, stage1, stage2) are
     6  // stored in the test-infra4 secret manager and mounted onto the rosa container
     7  // as part of the dsds nightly test runs.
     8  //
     9  // Add bslauth extension to test framework with `f2.WithExtensions(bslauth.New())`
    10  //
    11  // In test access credential values as below:
    12  //
    13  //	auth = bslauth.FromContextT(ctx, t)
    14  //	bsluser = auth.User(bslauth.BannerAdmin)
    15  //
    16  //	username := bsluser.Username
    17  //	password := bsluser.Password
    18  //	organization := bsluser.organization
    19  package bslauth
    20  

View as plain text