UiPath Documentation
uipath-cli
latest
false
UiPath CLI ユーザー ガイド
重要 :
このコンテンツは機械翻訳によって処理されています。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

uip or assets

Syntax and options for `uip or assets`, which manages Orchestrator assets (Text, Bool, Integer, Credential, Secret) in a folder.

Orchestrator アセット の管理 — オートメーションの実行時に使用される名前付きの構成値 (Text、Bool、Integer、Credential、Secret)。ほとんどの操作はフォルダー範囲です。

リソース間の規則 (認証、フォルダー スコープ、キーの種類、出力エンベロープ) については、「 uip or の概要」をご覧ください。

概要

uip or assets list             [--folder-path <path> | --folder-key <key> | --all-folders] [-n <name>] [--type <type>] [-l, --limit <n>] [--offset <n>] [--sort-by <field>] [--all-fields]
uip or assets get              <asset-key> [--all-fields]
uip or assets create           <name> <value> --folder-path <path> | --folder-key <key> [--type <type>] [-s <scope>] [-d <desc>] [--has-default] [--tags <list>] [--credential-store-key <guid>]
uip or assets update           <asset-key> [<value>] [flags as for create]
uip or assets delete           <asset-key> --yes
uip or assets get-folders      <asset-key>
uip or assets share            <asset-key> --folder-path <path> | --folder-key <key>
uip or assets unshare          <asset-key> --folder-path <path> | --folder-key <key>
uip or assets get-asset-value  <asset-key> --folder-path <path> | --folder-key <key> [--executor-key <guid>]
uip or assets list             [--folder-path <path> | --folder-key <key> | --all-folders] [-n <name>] [--type <type>] [-l, --limit <n>] [--offset <n>] [--sort-by <field>] [--all-fields]
uip or assets get              <asset-key> [--all-fields]
uip or assets create           <name> <value> --folder-path <path> | --folder-key <key> [--type <type>] [-s <scope>] [-d <desc>] [--has-default] [--tags <list>] [--credential-store-key <guid>]
uip or assets update           <asset-key> [<value>] [flags as for create]
uip or assets delete           <asset-key> --yes
uip or assets get-folders      <asset-key>
uip or assets share            <asset-key> --folder-path <path> | --folder-key <key>
uip or assets unshare          <asset-key> --folder-path <path> | --folder-key <key>
uip or assets get-asset-value  <asset-key> --folder-path <path> | --folder-key <key> [--executor-key <guid>]

リスト (List)

List assets. Requires --folder-path, --folder-key, or --all-folders (to list across every accessible folder). Filters: -n, --name <name>, --type <Text|Bool|Integer|Credential|Secret> (case-insensitive). Credential and secret values are omitted from results. --sort-by <field> sorts results (for example, Name asc, Id desc); --all-fields returns the full API response instead of the curated summary.

uip or assets list --folder-path Shared --type Credential
uip or assets list --folder-path Shared --type Credential

Get asset details by key. Cross-folder — no folder needed. Credential/secret values are not returned. --all-fields returns the full API response.

uip or assets get a1b2c3d4-0000-0000-0000-000000000001
uip or assets get a1b2c3d4-0000-0000-0000-000000000001

作成

フォルダーにアセットを作成します。<name><value>が必要です。フラグ: --type <Text|Bool|Integer|Credential|Secret> (既定 Text)、 -s, --scope <Global|PerRobot> (既定 Global)、 -d, --description--has-default--tags <comma-list>--credential-store-key <guid> ( Credential/Secretに必須)Bool 値は true/falseでなければなりません。整数は整数でなければなりません。Credential では username:password 形式が使用されます (ただし、読み取り専用の外部資格情報ストアによってサポートされている場合は、 <value> が外部検索名です)。

uip or assets create ApiEndpoint "https://api.example.com" \
  --folder-path Shared --type Text
uip or assets create ApiEndpoint "https://api.example.com" \
  --folder-path Shared --type Text

更新

アセットをキーで更新します。クロスフォルダー。<value> は任意です。指定されたフィールドのみが変更されます。createと同じタイプ/スコープ/タグフラグ。

uip or assets update a1b2c3d4-0000-0000-0000-000000000001 \
  "https://api.new.example.com" --description "Production API"
uip or assets update a1b2c3d4-0000-0000-0000-000000000001 \
  "https://api.new.example.com" --description "Production API"

削除

Delete an asset by key. Cross-folder. Requires -y, --yes — the CLI never prompts for destructive operations.

uip or assets delete a1b2c3d4-0000-0000-0000-000000000010 --yes
uip or assets delete a1b2c3d4-0000-0000-0000-000000000010 --yes

フォルダーを取得

アセットが共有されているすべてのフォルダーと合計数を一覧表示します。

uip or assets get-folders a1b2c3d4-0000-0000-0000-000000000001
uip or assets get-folders a1b2c3d4-0000-0000-0000-000000000001

共有/共有解除

フォルダーに対してアセットを追加または削除します。--folder-path または --folder-keyが必要です。

uip or assets share a1b2c3d4-0000-0000-0000-000000000001 \
  --folder-path "Production"
uip or assets unshare a1b2c3d4-0000-0000-0000-000000000001 \
  --folder-path "Production"
uip or assets share a1b2c3d4-0000-0000-0000-000000000001 \
  --folder-path "Production"
uip or assets unshare a1b2c3d4-0000-0000-0000-000000000001 \
  --folder-path "Production"

資産値の取得

現在のユーザー (既定) または特定の Executor (--executor-key <guid>) のアセットの値を返します。--folder-path または --folder-keyが必要です。外部ストアによって提供される資格情報タイプのアセットは、 --executor-key経由でのみ読み取ることができます。このコマンドは、403 を取得すると、その修復が表示されます。

uip or assets get-asset-value a1b2c3d4-0000-0000-0000-000000000001 \
  --folder-path Shared
uip or assets get-asset-value a1b2c3d4-0000-0000-0000-000000000001 \
  --folder-path Shared

終了コード

See Exit codes for the shared contract. delete exits 1 if -y, --yes is omitted.

参照

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得