Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for errKeyDeletionFailed (0.12 sec)

  1. internal/kms/errors.go

    func errKeyCreationFailed(err error) Error {
    	return Error{
    		Code:    http.StatusInternalServerError,
    		APICode: "kms:KeyCreationFailed",
    		Err:     "failed to create KMS key",
    		Cause:   err,
    	}
    }
    
    func errKeyDeletionFailed(err error) Error {
    	return Error{
    		Code:    http.StatusInternalServerError,
    		APICode: "kms:KeyDeletionFailed",
    		Err:     "failed to delete KMS key",
    		Cause:   err,
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 16 14:03:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. internal/kms/kes.go

    		if errors.Is(err, kes.ErrKeyNotFound) {
    			return ErrKeyNotFound
    		}
    		if errors.Is(err, kes.ErrNotAllowed) {
    			return ErrPermission
    		}
    		return errKeyDeletionFailed(err)
    	}
    	return nil
    }
    
    // GenerateKey generates a new data encryption key using
    // the key at the KES server referenced by the key ID.
    //
    // The default key ID will be used if keyID is empty.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top