Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for wantResp (0.05 sec)

  1. cmd/kms-handlers_test.go

    			asRoot: true,
    
    			wantStatusCode: http.StatusOK,
    			wantResp:       []string{"abc-test-key"},
    		},
    		{
    			name:   "key status as user no policy want forbidden",
    			method: http.MethodGet,
    			path:   kmsKeyStatusPath,
    			query:  map[string]string{"key-id": "abc-test-key"},
    			asRoot: false,
    
    			wantStatusCode: http.StatusForbidden,
    			wantResp:       []string{"AccessDenied"},
    		},
    		{
    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