You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: mfa-requirement-opt-in.md
+3-15
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,7 @@ next: /using-s3-source
7
7
---
8
8
<emclass="t-gray">How to opt-in for MFA requirement.</em>
9
9
10
-
You can make your gems more secure by requiring that all privileged
11
-
operations by any of the owners require OTP.
10
+
You can make your gems more secure by requiring all owners to enable MFA on their account.
12
11
13
12
## Opt-in to MFA requirement
14
13
@@ -22,8 +21,8 @@ You can opt-in a gem you are managing by releasing a version that has
22
21
...
23
22
end
24
23
25
-
The version being released with `rubygems_mfa_required` set and all the following version
26
-
will require that you provide an OTP for all privileged operations.
24
+
The version being released with `rubygems_mfa_required` set and all the following versions
25
+
will require you to have MFA enabled.
27
26
Once enabled, the gem page will show `NEW VERSIONS REQUIRE MFA` in the sidebar, and all versions published with `rubygems_mfa_required` set will also show `VERSION PUBLISHED WITH MFA`:
28
27
{:class="t-img t-img--small"}
29
28
@@ -34,17 +33,6 @@ a new version for a gem that requires MFA:
34
33
Pushing gem to https://rubygems.org...
35
34
Rubygem requires owners to enable MFA. You must enable MFA before pushing new version.
36
35
37
-
38
-
## privileged operations
39
-
40
-
Following operations will require OTP verification if you have MFA requirement
41
-
set on the gem.
42
-
43
-
-`gem push`
44
-
-`gem yank`
45
-
-`gem owner --add/remove`
46
-
-**adding or removing owners using gem ownership page**
47
-
48
36
## Disabling MFA requirement
49
37
50
38
You can disable the MFA requirement by setting `rubygems_mfa_required` to `"false"` or any [`ActiveRecord::Type::Boolean::FALSE_VALUES`](https://api.rubyonrails.org/classes/ActiveModel/Type/Boolean.html).
0 commit comments