-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document second_factors
field
#49016
Conversation
This pull request is automatically being deployed by Amplify Hosting (learn more). |
🤖 Vercel preview here: https://docs-dyyp3naz3-goteleport.vercel.app/docs/ver/preview |
50627c4
to
80ef4ca
Compare
🤖 Vercel preview here: https://docs-n44w4iu9a-goteleport.vercel.app/docs/ver/preview |
docs/pages/reference/terraform-provider/data-sources/auth_preference.mdx
Outdated
Show resolved
Hide resolved
🤖 Vercel preview here: https://docs-3u9zj2rj3-goteleport.vercel.app/docs/ver/preview |
🤖 Vercel preview here: https://docs-erhb868yp-goteleport.vercel.app/docs/ver/preview |
🤖 Vercel preview here: https://docs-jlfla8jrd-goteleport.vercel.app/docs/ver/preview |
5d1e3f5
to
d39c3bd
Compare
🤖 Vercel preview here: https://docs-fcvhbdppv-goteleport.vercel.app/docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have a test that make sure you can't do something like second_factors: [ webauthn, on, off ]
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on and off aren't valid second_factors
values, so you'd get a parsing error. The only valid values are webauthn
, otp
, and sso
.
const (
// secondFactorTypeOTPString is the string representation of SecondFactorType_SECOND_FACTOR_TYPE_OTP
secondFactorTypeOTPString = "otp"
// secondFactorTypeWebauthnString is the string representation of SecondFactorType_SECOND_FACTOR_TYPE_WEBAUTHN
secondFactorTypeWebauthnString = "webauthn"
// secondFactorTypeSSOString is the string representation of SecondFactorType_SECOND_FACTOR_TYPE_SSO
secondFactorTypeSSOString = "sso"
)
Amplify deployment status
|
13a960e
to
9c9b7ca
Compare
Update documentation to mention
second_factors
instead ofsecond_factor
.Also update the test plan.
Note: I decided not to touch
reduce-blast-radius.mdx
as this page is out of date and should be covered by this separate issue - #48767Docs follow up for #47233