use resource external key