Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for setupKMSTest (0.07 sec)

  1. cmd/kms-handlers_test.go

    	policy string
    	asRoot bool
    
    	// Wanted in response.
    	wantStatusCode int
    	wantKeyNames   []string
    	wantResp       []string
    }
    
    func TestKMSHandlersCreateKey(t *testing.T) {
    	adminTestBed, tearDown := setupKMSTest(t, true)
    	defer tearDown()
    
    	tests := []kmsTestCase{
    		// Create key test
    		{
    			name:   "create key as user with no policy want forbidden",
    			method: http.MethodPost,
    			path:   kmsKeyCreatePath,
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top