gravitational / teleport

The easiest, and most secure way to access and protect all of your infrastructure.
https://goteleport.com
GNU Affero General Public License v3.0
17.06k stars 1.71k forks source link

Fully deprecate HTTP client. #6394

Open Joerger opened 3 years ago

Joerger commented 3 years ago

Description The new API client should completely replace the old http client. We can leave the http server lib/auth/apiserver.go for backwards compatibility if needed.

There is no set timeline, but this should be used to more easily track progress.

Convert remaining http endpoints to GRPC:

If any of these methods are no longer needed/supported, feel free to help track this by updating the bullet point.

Unimplemented and unsupported methods such as DeactivateCertAuthority are omitted.

awly commented 3 years ago

@Joerger please migrate GetAuthPreference for 7.0, for use in teleport plugins.

strideynet commented 1 year ago

https://github.com/gravitational/teleport/pull/18677 removes CheckPassword - hence "completing" the HTTP -> gRPC migration for it 😉

strideynet commented 1 year ago

Good progress being made on CertAuthority CRUD methods:

https://github.com/gravitational/teleport/pull/23070 https://github.com/gravitational/teleport/pull/22985 https://github.com/gravitational/teleport/pull/22624

strideynet commented 4 months ago

As of https://github.com/gravitational/teleport/pull/38667 GenerateHostCert is migrated.

Joerger commented 4 months ago

RotateCertAuthority migrated: https://github.com/gravitational/teleport/pull/36536 RotateExternalCertAuthority migrated: https://github.com/gravitational/teleport/pull/36540

Joerger commented 4 months ago

Static token endpoints removed: https://github.com/gravitational/teleport/pull/36545

strideynet commented 4 months ago

As an FYI - rather than migrating GetAll/DeleteAll methods - we should remove these and migrate call sites to use List.