-setStorageAreaKeys

設定給定的儲存區的授權消費者金鑰。

用途

透過 setStorageAreaKeys 指令,您可以為給定的儲存區設定授權消費者金鑰。
記住: 這個指令會要求先關閉伺服器。

參數

屬性 說明 必要 預設值
list 以逗點區隔且不空格的儲存區名稱和其消費者金鑰清單。例如,storageArea1,key1,storageArea2,key2。 否 *
fromFile 包含要設定之儲存區金鑰的檔案路徑。檔案的格式是一份以逗點區隔的儲存區名稱和消費者金鑰清單。 否 storageAreaKeys.csv
teamserver.properties teamserver.properties 檔的路徑。 否 conf/<application>/teamserver.properties

範例

repotools-<application> -setStorageAreaKeys list={path to the list file} fromFile=storageAreaKeys.csv teamserver.properties=conf/<application>/teamserver.properties

意見