// NewStressSteps returns new agent from client SDK.
NewStressSteps returns new agent from client SDK.
// NewStressSteps returns new agent from client SDK .
func NewStressSteps(ctx *BDDContext) *StressSteps {
	sl := &noop.NoLock{} 
	kmsProvider, err := ariescontext.New(ariescontext.WithStorageProvider(mem.NewProvider()),
		ariescontext.WithSecretLock(sl))
	if err != nil {
		panic(fmt.Errorf("failed to create new kms provider: %w", err))
	}
	km, err := localkms.New(masterKeyURI, kmsProvider)
	if err != nil {
		panic(fmt.Errorf("failed to create new kms: %w", err))
	}
	return &StressSteps{
		bddContext: ctx,
		localKMS:   km,
	}
}
func NewStressSteps ( ctx * BDDContext ) * StressSteps { sl := & noop . NoLock { } kmsProvider , err := ariescontext . New ( ariescontext . WithStorageProvider ( mem . NewProvider ( ) ) , ariescontext . WithSecretLock ( sl ) ) if err != nil { panic ( fmt . Errorf ( " " , err ) ) } km , err := localkms . New ( masterKeyURI , kmsProvider ) if err != nil { panic ( fmt . Errorf ( " " , err ) ) } return & StressSteps { bddContext : ctx , localKMS : km , } }
NewStressSteps returns new agent from client SDK.
NewStressSteps returns new agent from client SDK .
// for bdd tests, using no lock