Revision history [back]

The second question is answered by this paragraph:

Note that if a new key is generated setting save_private_key to True results in the system saving the private key which can then be retrieved via the private_key attribute of this resource.

You could put the private key in an output, for example.

First question: It’s unlikely that they are related.