add resource in SecretCommunicator