forked from gravitational/teleport
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent creation of invalid App for AWS OIDC Integration (gravitation…
…al#51287) * Prevent creation of invalid App for AWS OIDC Integration When enabling AWS Access using an integration, the final address will be a concatenation of the integration name and the proxy's public address. The proxy must present a certificate valid for that address. However, when the integration name has a dot, it will usually not work with the proxy's certificate. We know it won't work for Teleport Cloud, where the certificates only allow for `<app>.<tenant>.teleport.sh`. So, for Teleport Cloud enabling AWS Access is not possible. For self-hosted, a warning is emitted. * prevent new aws oidc integrations with invalid DNS labels * add integration name to error message * improve readability of validation.IsDNS1035Label call
- Loading branch information
1 parent
d61d6bc
commit f186fb4
Showing
5 changed files
with
88 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters