The PUT /environments/{environmentId}/keys/{keyId} operation updates the current key to be the default signing or encryption key for an environment.