exec to istiod pod /var/run/secrets/trustfabric
cat *
curl -k -X POST <https://trustfabric.vip.ebay.com/v2/token> -d 'client_id=ou%3Distioistiod-dev-lvsaz03-01%2Bl%3Ddev%2Co%3Distioistiod%2Cdc%3Dtess%2Cdc%3Debay%2Cdc%3Dcom&grant_type=authorization_code&code=eyJhbGciOiJSUzI1NiIsImtpZCI6ImU1MjJhZDRmIiwidHlwIjoiSldUIiwieDV1IjoiaHR0cHM6Ly90cnVzdGZhYnJpYy52aXAuZWJheS5jb20vdjIvay9lNTIyYWQ0ZiJ9.eyJhdWQiOlsidHJ1c3RmYWJyaWMiXSwiY2x1c3RlciI6IjEzMCIsImV4cCI6MTYxOTU4MzM5MCwiaWF0IjoxNjE5NTYxNzU2LCJpbnN0YW5jZXMiOlsiMTAuOS42OC42NCJdLCJpc3MiOiJ0cnVzdGZhYnJpYy0xMzAiLCJuYmYiOjE2MTk1NjE3NTYsIm5vZGUiOiJ0ZXNzLW5vZGUtcmJmMnMudGVzczEzMC5jb21wdXRlLmx2c2F6MDMudGVzcy5pbyIsIm5zIjoiaXN0aW8tZGV2Iiwic3ViIjoidWlkPWlzdGlvZC1zZXJ2aWNlLWFjY291bnQsbmV0d29ya2FkZHJlc3M9MTAuOS42OC42NCxvdT1pc3Rpb2lzdGlvZC1kZXYtbHZzYXowMy0wMStsPWRldixvPWlzdGlvaXN0aW9kLGRjPXRlc3MsZGM9ZWJheSxkYz1jb20iLCJ2ZXIiOiIyIiwidnBjIjoiZGV2In0.m7w2qPTBfz4KqVDs2iK2dxeJDtXn264ArnhMHI8RLqHwPS2FzpiqF9_RyJaShNDrFeL4jzIcp6WGXnj-ieFhvXethQcY2fAzzFVCz-PkDARAzNNt5DL2jJsmyFCMWq--Bkv7gP6II6uXfVszsNunKqXQxk5umyZtrlqfwz6TVa3xrwXzx5mW7989tLl0HZgLOIFIy8X-gkUYUIFtDUzTLnK2s8pmC6SBfKyCNgqDatlFB28svjY5pSTpsqT-7FhEu11M4JaHlcc4qcYHSFittBNgROb72oJ7NtwlAyaJ85Bq7lGxwV7cFv7SYir7j63QGseZML0vB-Ye2u9rocAt0w'
curl -k -XPOST <https://patronus-tcp.vip.ebay.com/v1/api/keys/istioistiod/istio-rootca/dev/root-key.pem> -H "Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Ijc3OTExMmFmIiwidHlwIjoiSldUIiwieDV1IjoiaHR0cHM6Ly90cnVzdGZhYnJpYy52aXAuZWJheS5jb20vdjIvay83NzkxMTJhZiJ9.eyJhdWQiOlsicHJvdGVnb2NhIiwidXNlcnNlc3Npb25hdXRoc3ZjIiwicGF0cm9udXMiLCJmaWRlbGl1cyIsInByb3RlZ29yZWciLCJrcnlsb3ZhbXMiLCJmb3VudGNzdmMiLCJ0cmZvaWRjc3ZjIiwiZm50YWN0c3QiLCJmb3VudGFnZW50bXB0cHJvZCIsIm1vbnN0b3IiLCJmb3VudGF1dGgiLCJwcm90ZWdvcHViIiwibmxwc2VydmljZSJdLCJjbHVzdGVyIjoiMTMwIiwiZXhwIjoxNjE5NTY3NzYzLCJpYXQiOjE2MTk1NjU4OTQsImluc3RhbmNlcyI6WyIxMC45LjY4LjY0Il0sImlzcyI6InRydXN0ZmFicmljIiwibmJmIjoxNjE5NTY1ODk0LCJucyI6ImlzdGlvLWRldiIsInN1YiI6InVpZD1pc3Rpb2Qtc2VydmljZS1hY2NvdW50LG5ldHdvcmthZGRyZXNzPTEwLjkuNjguNjQsb3U9aXN0aW9pc3Rpb2QtZGV2LWx2c2F6MDMtMDErbD1xYSxvPWlzdGlvaXN0aW9kLGRjPXRlc3MsZGM9ZWJheSxkYz1jb20iLCJ2ZXIiOiIyIiwidnBjIjoiZGV2In0.kmPN2wTfKdzrMjAh4GJ5bMBkag7dyZ4GyJEDGLxuHH_tLc95vRp5bK7PiihxBvMJ3LGgB4RF_P3Tgubq6Vi07euTaixQER13g4yAjrr2pLcnsqPp6LvV7MtT1evulHSLyT_xYEu7bTXxIaqYK0y3jOlwp-1SttqwOukg2Vaw2U90IjYh0DHwbEMYTZQpsLic4SBiELH7IYfnsiSEsapvjwwH7jOOZ-deJn89qPWBPFbqgujHmomubZo2wE6z0KVEyKjaJArufsrj8_7eP0VIPi-8jeiAhzOCWOM0tGtTkONsWWB_PlzyBKcxJ1mB2kTanUtQ9_3o1tbQlwRYrqeecA" -d '{ "profileName": "ASYMMETRIC_KEY_PROFILE_RSA_4096"}' -H "Content-Type: application/json"
curl -k <https://patronus-tcp.vip.ebay.com/v1/api/keys/istioistiod/istio-rootca/dev/root-key.pem/export> -H "Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Ijc3OTExMmFmIiwidHlwIjoiSldUIiwieDV1IjoiaHR0cHM6Ly90cnVzdGZhYnJpYy52aXAuZWJheS5jb20vdjIvay83NzkxMTJhZiJ9.eyJhdWQiOlsicHJvdGVnb2NhIiwidXNlcnNlc3Npb25hdXRoc3ZjIiwicGF0cm9udXMiLCJmaWRlbGl1cyIsInByb3RlZ29yZWciLCJrcnlsb3ZhbXMiLCJmb3VudGNzdmMiLCJ0cmZvaWRjc3ZjIiwiZm50YWN0c3QiLCJmb3VudGFnZW50bXB0cHJvZCIsIm1vbnN0b3IiLCJmb3VudGF1dGgiLCJwcm90ZWdvcHViIiwibmxwc2VydmljZSJdLCJjbHVzdGVyIjoiMTMwIiwiZXhwIjoxNjE5NTY3NzYzLCJpYXQiOjE2MTk1NjU4OTQsImluc3RhbmNlcyI6WyIxMC45LjY4LjY0Il0sImlzcyI6InRydXN0ZmFicmljIiwibmJmIjoxNjE5NTY1ODk0LCJucyI6ImlzdGlvLWRldiIsInN1YiI6InVpZD1pc3Rpb2Qtc2VydmljZS1hY2NvdW50LG5ldHdvcmthZGRyZXNzPTEwLjkuNjguNjQsb3U9aXN0aW9pc3Rpb2QtZGV2LWx2c2F6MDMtMDErbD1xYSxvPWlzdGlvaXN0aW9kLGRjPXRlc3MsZGM9ZWJheSxkYz1jb20iLCJ2ZXIiOiIyIiwidnBjIj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