Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for KMSStatus (0.1 sec)

  1. internal/kms/kms.go

    //
    // TODO(aead): refactor this API call since it does not account
    // for multiple KMS/KES servers.
    func (k *KMS) Status(ctx context.Context) (*madmin.KMSStatus, error) {
    	endpoints, err := k.conn.Status(ctx)
    	if err != nil {
    		return nil, err
    	}
    
    	return &madmin.KMSStatus{
    		Name:         k.Type.String(),
    		DefaultKeyID: k.DefaultKey,
    		Endpoints:    endpoints,
    	}, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. cmd/kms-handlers.go

    	"github.com/minio/pkg/v3/policy"
    )
    
    // KMSStatusHandler - GET /minio/kms/v1/status
    func (a kmsAPIHandlers) KMSStatusHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "KMSStatus")
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.KMSStatusAction)
    	if objectAPI == nil {
    		return
    	}
    
    	if GlobalKMS == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    		LDAP:          ldap,
    		Logger:        log,
    		Audit:         audit,
    		Notifications: notifyTarget,
    	}
    	{
    		ctx2, cancel := context.WithTimeout(ctx, operationTimeout)
    		services.KMSStatus = fetchKMSStatus(ctx2)
    		cancel()
    	}
    
    	return madmin.InfoMessage{
    		Mode:          string(mode),
    		Domain:        domain,
    		Region:        globalSite.Region(),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top