copyright | lastupdated | keywords | subcollection | ||
---|---|---|---|---|---|
|
2025-01-28 |
account, publish, private catalog, allowlist, external |
account |
{{site.data.keyword.attribute-definition-list}}
{: #catalog-other-publish}
If you don't want your product to be publicly available to all users in the {{site.data.keyword.cloud}} catalog but you do want certain accounts to be able to access your product, you can publish your product to specific allowlisted accounts if your product is approved for publishing. {: shortdesc}
A different process is used if you want to share your product with users in your own enterprise or account or to enterprises to which you have the Editor role or higher already assigned, and it does not require approval for publishing. For more information, see Sharing private catalog products.
{: #prereqs-share-enterprise}
-
Ensure that your product is approved to publish.
-
You must be assigned the Administrator role for the Catalog Management account management service in the same account as your product. For more information, see Assigning users access.
-
Verify that at least one version of your product is in the
ready
state. -
Retrieve the ID of the account that you want to publish to. For more information, see Can I view my account ID, account type, and account number?.
If you don't have access to the account, a user that does have access must share the ID with you. {: important}
{: #install-command-line-cli} {: cli}
Install the {{site.data.keyword.cloud_notm}} Catalog plug-in to manage private catalogs, manage your offerings, and explore products in the {{site.data.keyword.cloud_notm}} catalog.
-
Install the {{site.data.keyword.cloud_notm}} Catalog command-line plug-in.
ibmcloud plugin install catalogs-management
{: pre}
-
Verify that you can use the catalogs-management command-line plug-in by listing all supported commands. The command prefix to work with the catalogs-management command-line plug-in is
ibmcloud catalog
.ibmcloud catalog help
{: pre}
Example output
NAME: ibmcloud catalog - Manage catalog USAGE: ibmcloud catalog command [arguments...] [command options] COMMANDS: account Account commands blocklist Add the targeted account to the blocklist of the specified service create Create a new catalog. It will use the currently targeted group. delete Delete a catalog entry Get a catalog entry entry-copy Create duplicate of existing entry, with ability to change key fields. entry-create Create a new catalog entry(catalog admin of an account only) entry-delete Delete a catalog entry(catalog admin of an account only) entry-update Update an existing catalog entry(catalog admin or editor of an account only) entry-visibility Get the visibility for a catalog entry(catalog admin of an account only) entry-visibility-set Update the visibility of an existing catalog entry (catalog admin of an account only) filter View and Modify account and catalog filters. get Get catalog details install Install a software version. list List catalogs locations Get Choice Subset of Regions in Choice of Format netrc Create or refresh the token in your .netrc file. This token is used by Terraform when referencing modules in the catalog. object View and modify objects. offering View and Modify offering. pricing Get pricing information for catalog offerings search search the public catalog for published offerings. This includes managed services, software, and software published from your own account. service Show details of a service catalog entry service-marketplace List service offerings in the marketplace target-account Manage catalog target accounts. utility Utility commands help, h Show help Enter 'ibmcloud catalog help [command]' for more information about a command ``` {: screen}
{: #other-publish-steps} {: ui}
When you publish your product to specific accounts, the accounts are added to a list of IDs that are granted access to your product also known as the allowlist. Any ID that is not included in the allowlist can't access your product.
To manage the allowlist and publish your product to specific accounts, complete the following steps:
-
In the {{site.data.keyword.cloud_notm}} console, click Manage > Catalogs > Private catalogs.
-
Select the private catalog where your product is located.
-
Select the product that you want to publish.
-
Click Actions... > Publish.
-
Select Publish to a set of accounts.
-
Select Publish to other accounts.
-
Click Add accounts > Account.
-
Enter the ID of the account that you want to publish your product to.
If you are already a member of the account that you want to publish to, you can click Add your accounts to choose from a list. {: tip}
-
Click Add > Publish.
{: #other-publish-verify} {: ui}
You must verify collaborator status if you are trying to publish a module from an approved IBM repository into the public catalog. To verify collaborator status in the approved repo, you must provide your personal access token.
When you publish a product to the {{site.data.keyword.cloud_notm}} catalog or to all IBM accounts, you must enter your personal access token so that your collaborator status in the repo is verified.
You must have the following minimum access to the corresponding repo for the product that you are publishing:
- Access to the repo
- Read org and team membership
- User email address
You must be a collaborator in the repos.
Your user email address must match the email address for the personal access token.
{: #other-publish-steps-cli} {: cli}
To publish your product to specific accounts, run the ibmcloud catalog offering publish allowlist. To run the command, you must include the catalog ID where the product is located, the product name or ID, and the account IDs that you would like to add to the allowlist.
When you publish your product to specific accounts, the accounts are added to a list of IDs that are granted access to your product also known as the allowlist. Any ID that is not included in the allowlist cannot access your product. {: note}
ibmcloud catalog offering publish allowlist [--catalog CATALOG][--offering OFFERING][--account-ids ACCOUNT-IDS].
{: codeblock}
{: #other-publish-example}
Add the account ID 1
to the allowlist for the product Product
that is located in the A
private catalog.
ibmcloud catalog offering publish allowlist --catalog A --offering Product --account-ids 1
{: codeblock}