# Will it be possible to export the private certificate to terraform remote state

**URL:** <https://discuss.hashicorp.com/t/will-it-be-possible-to-export-the-private-certificate-to-terraform-remote-state/9440>\
**Category:** AWS\
**Created:** [June 1, 2020, 6:55am UTC](https://discuss.hashicorp.com/t/will-it-be-possible-to-export-the-private-certificate-to-terraform-remote-state/9440 "2020-06-01T06:55:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aravindsamala234](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/aravindsamala234/32/7471_2.png) [@aravindsamala234](https://discuss.hashicorp.com/u/aravindsamala234)\
**Post date:** [June 1, 2020, 6:55am UTC](https://discuss.hashicorp.com/t/will-it-be-possible-to-export-the-private-certificate-to-terraform-remote-state/9440/1 "2020-06-01T06:55:01Z")

</div>

I am using two different aws accounts,  
In account A - created a private CA, by using this private CA issued a private certificate. will it be possible to export the private certificate (certificate, certificate\_chain and private\_key) to terraform remote state.

In account B - created a instance which requires a certificate to perform one of its function.

will it be possible to reference certificate created in account A, to be used by the instance in account B.
