| 1 | --- |
| 2 | feature: |
| 3 | - | |
| 4 | [`bug 1473292 <https://bugs.launchpad.net/keystone/+bug/1473292>`_] |
| 5 | As trusts created by user are stored in database resulting it to grow larger |
| 6 | as trusts that are expired and soft deleted non-expired are not automatically |
| 7 | purged by keystone.Thus this implements TrustFlush via keystone-manage to delete |
| 8 | expired and soft deleted non-expired trusts. |
| 9 | |
| 10 | Command: |
| 11 | |
| 12 | $ keystone-manage trust-flush [Options] |
| 13 | |
| 14 | Options (optional): |
| 15 | |
| 16 | --project-id <string>: To purge trusts of given project-id. |
| 17 | --trustor-user-id <string>: To purge trusts of given trustor-id. |
| 18 | --trustee-user-id <string>: To purge trusts of given trustee-id. |
| 19 | --date <string>: To purge trusts older than date. It will purge trusts older than |
| 20 | current if date not given. |
| 21 | other: |
| 22 | - > |
| 23 | [`bug 1473292 <https://bugs.launchpad.net/keystone/+bug/1473292>`_] |
| 24 | If you're relying on a custom implementation of the trust backend, please be sure to |
| 25 | implement the new method prior to upgrading. |