PROBLEM TO BE SOLVED: To provide a key sharing method for sharing an access key for accessing a database of a server among a plurality of agents with less burden on an operator. [Solution] A trusted agent having an access key has an access key. Is encrypted with the temporary public key S103, the temporary public key and the encrypted access key are transmitted to the server S104, and the temporary private key is exported S105. A new agent that does not have an access key imports the temporary private key exported by the trusted agent, generates a signature using the temporary private key, S210, and sends the generated signature to the server S202. The server verifies the signature received from the new agent using the temporary public key in S303, and sends the encrypted access key to the new agent when the signature verification is successful in S304. The new agent decrypts the encrypted access key received from the server with the temporary private key S203. [Selection diagram] Fig. 4
展开▼