o
    :Fd                  	   @   s2   d dl Z d dlZdddddddddZd	d
 ZdS )    NzAlog into the console and find this OCID at the bottom of any pagezthis must be an OCIDzJlog into the console and go to the user's settings page to find their OCIDzPopenssl rsa -pubout -outform DER -in <path to your private key> | openssl md5 -czfor example, us-phoenix-1z6the full path and filename of the private PEM key file))tenancymissing)r   	malformed)userr   )r   r   )fingerprintr   )r   r   )Zregionr   )Zkey_filer   c                 C   s<   g d}dd t | jD }|g| }tj|dd}|jS )z)Return a str of the ascii table of errors)ZKeyErrorZHintc                 S   s&   g | ]\}}||t ||fd gqS ) )error_hintsget).0paramcode r   6usr/lib/python3.10/site-packages/oci_cli/formatting.py
<listcomp>   s    z(render_config_errors.<locals>.<listcomp>zConfig Errors)Z
table_datatitle)sixZ	iteritemserrorsterminaltablesZ
AsciiTabletable)Zconfig_exceptionheaderspiecesdatar   r   r   r   render_config_errors   s   

r   )r   r   r	   r   r   r   r   r   <module>   s   