次の方法で共有


az appconfig identity

App Configuration ストアのマネージド ID。

コマンド

名前 説明 状態
az appconfig identity assign

App Configuration ストアのマネージド ID を更新します。

コア GA
az appconfig identity remove

App Configuration ストアのマネージド ID を削除します。

コア GA
az appconfig identity show

App Configuration ストアのマネージド ID を表示します。

コア GA

az appconfig identity assign

App Configuration ストアのマネージド ID を更新します。

az appconfig identity assign --name
                             [--identities]
                             [--resource-group]

既存の App Configuration ストアのシステム割り当て ID を有効にする

az appconfig identity assign -g MyResourceGroup -n MyAppConfiguration

既存の App Configuration ストアにユーザー割り当てマネージド ID を割り当てる

az appconfig identity assign -g MyResourceGroup -n MyAppConfiguration --identities "/subscriptions/<SUBSCRIPTON ID>/resourcegroups/<RESOURCEGROUP>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myUserAssignedIdentity"

既存の App Configuration ストアに対してシステム割り当て ID とユーザー割り当て ID の両方を割り当てる

az appconfig identity assign -g MyResourceGroup -n MyAppConfiguration --identities [system] "/subscriptions/<SUBSCRIPTON ID>/resourcegroups/<RESOURCEGROUP>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myUserAssignedIdentity"

必須のパラメーター

--name -n

App Configuration ストアの名前。 az configure --defaults app_configuration_store=<name>を使用して既定の名前を構成できます。

省略可能のパラメーター

--identities

システム割り当てマネージド ID またはユーザー割り当てマネージド ID をスペースで区切って受け入れます。 システム割り当てマネージド ID またはリソース ID を参照してユーザー割り当てマネージド ID を参照するには、'[system]' を使用します。 この引数が指定されていない場合、またはこの引数が値なしで指定されている場合は、システム割り当てマネージド ID が既定で使用されます。

--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

--output -o

出力フォーマット。

指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
規定値: json
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

az appconfig identity remove

App Configuration ストアのマネージド ID を削除します。

az appconfig identity remove --name
                             [--identities]
                             [--resource-group]

App Configuration ストアからシステム割り当て ID を削除します。

az appconfig identity remove -g MyResourceGroup -n MyAppConfiguration

App Configuration ストアからユーザー割り当て ID を削除します。

az appconfig identity remove -g MyResourceGroup -n MyAppConfiguration --identities "/subscriptions/<SUBSCRIPTON ID>/resourcegroups/<RESOURCEGROUP>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myUserAssignedIdentity"

App Configuration ストアからすべての ID を削除します。

az appconfig identity remove -g MyResourceGroup -n MyAppConfiguration --identities [all]

必須のパラメーター

--name -n

App Configuration ストアの名前。 az configure --defaults app_configuration_store=<name>を使用して既定の名前を構成できます。

省略可能のパラメーター

--identities

システム割り当てマネージド ID またはユーザー割り当てマネージド ID をスペースで区切って受け入れます。 システム割り当てマネージド ID を参照するには '[system]' を使用し、すべてのマネージド ID には '[all]' を、ユーザー割り当てマネージド ID を参照するにはリソース ID を使用します。 この引数が指定されていない場合、またはこの引数が値なしで指定されている場合、システム割り当てマネージド ID は既定で削除されます。

--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

--output -o

出力フォーマット。

指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
規定値: json
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

az appconfig identity show

App Configuration ストアのマネージド ID を表示します。

az appconfig identity show --name
                           [--resource-group]

タスクのマネージド ID を表示します。

az appconfig identity show -g MyResourceGroup -n MyAppConfiguration

必須のパラメーター

--name -n

App Configuration ストアの名前。 az configure --defaults app_configuration_store=<name>を使用して既定の名前を構成できます。

省略可能のパラメーター

--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

--output -o

出力フォーマット。

指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
規定値: json
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。