<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:14:15 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[DOCS-15953] [Atlas CLI] missing apiKey information for roles at project level vs org level</title>
                <link>https://jira.mongodb.org/browse/DOCS-15953</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;tluck@M-C02ZJQ8GMD6M&lt;/b&gt; &lt;b&gt;~/my_src/atlas&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;$ atlas --profile=test-7 project apiKey create --role PROJ_OWNER --desc &quot;test&quot; --help&lt;/p&gt;

&lt;p&gt;MongoDB returns the private API key only once. After you run this command, immediately copy, save, and secure both the public and private API keys.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Usage:&lt;/p&gt;

&lt;p&gt;&#160; atlas projects apiKeys create &lt;span class=&quot;error&quot;&gt;&amp;#91;flags&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Examples:&lt;/p&gt;

&lt;p&gt;&#160; # Create an organization API key with the ORG_OWNER role and assign it to the project with ID 5e2211c17a3e5a48f5497de3:&lt;/p&gt;

&lt;p&gt;&#160; atlas projects apiKeys create --desc &quot;My API key&quot; --projectId 5e1234c17a3e5a48f5497de3 --role ORG_OWNER --output json&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Flags:&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; --desc string&#160; &#160; &#160; &#160; Description of the API key.&lt;/p&gt;

&lt;p&gt;&#160; -h, --help &#160; &#160; &#160; &#160; &#160; &#160; &#160; help for create&lt;/p&gt;

&lt;p&gt;&#160; -o, --output string&#160; &#160; &#160; Output format. Valid values are json, json-path, go-template, or go-template-file.&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; --projectId string &#160; Hexadecimal string that identifies the project to use. This option overrides the settings in the configuration file or environment variable.&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; --role strings &#160; &#160; &#160; Role or roles that you want to assign to the API key. To assign more than one role, you can specify each role with a separate role flag or specify all of the roles as a comma-separated list using one role flag. Valid values are ORG_OWNER, ORG_MEMBER, ORG_GROUP_CREATOR, ORG_BILLING_ADMIN, and ORG_READ_ONLY.&lt;/p&gt;



&lt;p&gt;the roles for a project apiKey should be:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160; &quot;roleName&quot;: &quot;GROUP_CLUSTER_MANAGER&quot;&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160; &quot;roleName&quot;: &quot;GROUP_OWNER&quot;&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160; &quot;roleName&quot;: &quot;ORG_MEMBER&quot;&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160; &quot;roleName&quot;: &quot;GROUP_DATA_ACCESS_ADMIN&quot;&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160; &quot;roleName&quot;: &quot;GROUP_DATA_ACCESS_READ_WRITE&quot;&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160; &quot;roleName&quot;: &quot;GROUP_SEARCH_INDEX_EDITOR&quot;&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160; &quot;roleName&quot;: &quot;GROUP_READ_ONLY&quot;&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160; &quot;roleName&quot;: &quot;GROUP_DATA_ACCESS_READ_ONLY&quot;&lt;/p&gt;

&lt;p&gt;&#160; for example:&lt;/p&gt;

&lt;p&gt;&#160;# atlas --profile=test-1 project apiKey create --role GROUP_OWNER --desc &quot;cli 1&quot; &lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2284428">DOCS-15953</key>
            <summary>[Atlas CLI] missing apiKey information for roles at project level vs org level</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="thomas.luckenbach@mongodb.com">Thomas Luckenbach</reporter>
                        <labels>
                            <label>request</label>
                    </labels>
                <created>Wed, 8 Mar 2023 23:13:41 +0000</created>
                <updated>Wed, 8 Nov 2023 20:34:39 +0000</updated>
                                                                            <component>Atlas</component>
                    <component>mcli</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5271904" author="gustavo.bazan" created="Tue, 14 Mar 2023 17:24:15 +0000"  >&lt;p&gt;I have a feeling this is coming from &lt;a href=&quot;https://github.com/10gen/mms/blob/ec7b5da4878a00ba764b5608aeaef21ce59f9cd9/server/src/main/com/xgen/svc/mms/api/view/ApiCreateApiKeyView.java#L36-L42&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mms/blob/ec7b5da4878a00ba764b5608aeaef21ce59f9cd9/server/src/main/com/xgen/svc/mms/api/view/ApiCreateApiKeyView.java#L36-L42&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Seems like IAM is only documenting org level roles so I opened CLOUDP-166311 to confirm with IAM the behavior here &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 14 Mar 2023 17:24:15 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        47 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>jess.mokrzecki@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            47 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>gustavo.bazan@mongodb.com</customfieldvalue>
            <customfieldvalue>thomas.luckenbach@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1zhl3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1hvlk:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1z3qf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                </customfields>
    </item>
</channel>
</rss>