How to migrate encapsulated assertions using the GMU
search cancel

How to migrate encapsulated assertions using the GMU

book

Article ID: 106746

calendar_today

Updated On:

Products

STARTER PACK-7 CA Rapid App Security CA API Gateway

Issue/Introduction

When creating encapsulated assertions, they have been put into a special folder called  "/Encapsulated Fragments". What is the best option to have them migrated to a new gateway independent of them being used in other policies.

 

Environment

Release:
Component: APIGTW

Resolution

Please use the --encassAsPolicyDependency flag.
It will export the encapsulated assertion without the need for it to be used in a policy. So the command could look like this:
GMU.bat migrateOut --argFile test.properties --folderName "/Encapsulated Fragments" --dest "D:\Encap\Testing" --format directory --plaintextEncryptionPassphrase <xxx> --defaultAction NewOrUpdate --plaintextPassword XXXXXX --encassAsPolicyDependency